{ "info": { "author": "Ted Sheibar", "author_email": "tsheibar@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "#####\nPARTY\n#####\n\nPython client for the Artifactory API\n\nUsage\n=====\n\nKey Points\n==========\n\n* Configuration is pre-loaded from ``party_config.py``, but can be overridden at runtime\n* A new class must first be instantiated\n* Any properties returned from using a \"find\" or \"get\" method are assigned to the class instance\n* Properties are NOT appended. To add multiple properties to a class, get them all in one call.\n\nSome example code:\n\n.. code:: python\n\n import party\n\n artifact = party.Party()\n\n artifact.artifactory_url = \"http://myserver.com/api\" # <= Runtime config change\n\nAdditionally, passing a ``config`` parameter to ``Party()`` will work\n\n.. code:: python\n\n PARTY_CONFIG = {\n 'artifactory_url': 'https://myserver.com/api',\n 'username': 'api',\n 'password': 'password',\n }\n\n artifact = party.Party(config=PARTY_CONFIG)\n\n\nFind Artifact by Name\n=====================\n\n.. code:: python\n\n myFile = \"my-file.rpm\"\n result = artifact.find(myFile)\n\nFind Artifact By Properties\n===========================\n\n.. code:: python\n\n file_props = {\n \"build.number\": 999,\n \"rpm.version\": \"1.0.0.999\"\n }\n result = artifact.find_by_properties(file_props)\n\nFind Artifact by Pattern\n========================\n\n.. code:: python\n\n result = artifact.find_by_pattern(\"erlang*R15B*.rpm\")\n\nGet Specific Artifact Properties\n================================\n\n.. code:: python\n\n specific_properties = [ \"build.number\", \"rpm.version\" ]\n result = artifact.get_properties(artifact, specific_properties)\n\nSet Properties on an Artifact\n=============================\n\n.. code:: python\n\n new_properties = {\n \"myKey\": \"myValue\"\n }\n result = artifact.set_properties(artifact, new_properties)\n\nCONFIGURING PARTY\n=================\n\nParty class instances load in the values from ``party_config.py``. However, those values can be overridden directly in the file, or at runtime using:\n\n.. code:: python\n\n artifact = party.Party()\n artifact.CONFIG_KEY = \"new value\"\n\nThe following is a list of config keys (CONFIG_KEY above) and descriptions of their purposes:\n\n::\n\n artifactory_url - Base URL to your Artifactory instance.\n search_prop - Artifactory API endpoint used for the property search.\n search_name - Artifactory API endpoint to access quick search.\n search_repos - Artifactory API endpoint to search for repositories.\n username - Username credential to use to connect to the Artifactory instance.\n password - Base64 encoded password credential used to connect to the Artifactory instance.\n headers - JSON (Python dict) of headers to send in the Artifactory queries.\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/Party/", "keywords": "", "license": "LICENSE.txt", "maintainer": "", "maintainer_email": "", "name": "Party", "package_url": "https://pypi.org/project/Party/", "platform": "", "project_url": "https://pypi.org/project/Party/", "project_urls": { "Homepage": "http://pypi.python.org/pypi/Party/" }, "release_url": "https://pypi.org/project/Party/1.7.3/", "requires_dist": null, "requires_python": "", "summary": "Lightweight Python client to the Artifactory API.", "version": "1.7.3" }, "last_serial": 4348558, "releases": { "1.5.0": [ { "comment_text": "", "digests": { "md5": "d75c52b0d926ebde43ac0181894d0a03", "sha256": "dbe6b6125cc10889c3b0050fb30a7bfd7abbb7e8ba2b27558607591361283872" }, "downloads": -1, "filename": "Party-1.5.0.tar.gz", "has_sig": false, "md5_digest": "d75c52b0d926ebde43ac0181894d0a03", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4482, "upload_time": "2014-07-01T01:30:56", "url": "https://files.pythonhosted.org/packages/41/32/dfb042ee451a3151b796e0ba1f0e09e395bce987cf627875ada15da1292f/Party-1.5.0.tar.gz" } ], "1.6.1": [ { "comment_text": "", "digests": { "md5": "1564e63cf5a5808481c2aefbfb20891a", "sha256": "91d8e9adfd36486305e9d4658ae30c51dd5d95808a8ac0336583ed74bdfbd903" }, "downloads": -1, "filename": "party-1.6.1.tar.gz", "has_sig": false, "md5_digest": "1564e63cf5a5808481c2aefbfb20891a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5457, "upload_time": "2016-01-24T06:08:24", "url": "https://files.pythonhosted.org/packages/1c/07/8114952e2a2f1d0a17820503cac9a7717be5121000ffca6e5a835696f644/party-1.6.1.tar.gz" } ], "1.6.2": [ { "comment_text": "", "digests": { "md5": "20cd00f40be31847dce70edff09c31df", "sha256": "7e05cec46c76798847c558985e5ddac0e74a420ad44951efd87d5119da73b212" }, "downloads": -1, "filename": "party-1.6.2.tar.gz", "has_sig": false, "md5_digest": "20cd00f40be31847dce70edff09c31df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4251, "upload_time": "2016-01-24T06:29:28", "url": "https://files.pythonhosted.org/packages/09/d2/d67c84a8931315dc5d65f084c4a51206a4f64eeaa6f7697b922289df97e6/party-1.6.2.tar.gz" } ], "1.6.3": [ { "comment_text": "", "digests": { "md5": "c200c7c1e7a58a004ad10812bb589f45", "sha256": "7f674442fdbd272bc8990c79fc6a6a6ce261407960c63a4d78f33d6214364ea1" }, "downloads": -1, "filename": "party-1.6.3.tar.gz", "has_sig": false, "md5_digest": "c200c7c1e7a58a004ad10812bb589f45", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4612, "upload_time": "2016-03-27T04:24:07", "url": "https://files.pythonhosted.org/packages/37/49/b62081683b8249c4f087786661a7eec2720b025cf85bb0f051dbef84038a/party-1.6.3.tar.gz" } ], "1.6.4": [ { "comment_text": "", "digests": { "md5": "794484fe748ed8cfcbe310f53f952809", "sha256": "0a28d6b283a7d7cb0a6ee1af3fc9a4ee5bf79689e078677aecd91b9624362014" }, "downloads": -1, "filename": "party-1.6.4.tar.gz", "has_sig": false, "md5_digest": "794484fe748ed8cfcbe310f53f952809", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4609, "upload_time": "2016-03-29T04:14:58", "url": "https://files.pythonhosted.org/packages/2b/9a/1de9b3d17e3aee322b911d7b853157cca5658b5b4df7297f62934c951c6e/party-1.6.4.tar.gz" } ], "1.7.0": [ { "comment_text": "", "digests": { "md5": "3feecf0fce47c62a2e54ab151464cbaf", "sha256": "ab1410e18a5ffb3ec6833e99265c0b099b3f56c57e921bb36ea7ef8551c6ce96" }, "downloads": -1, "filename": "party-1.7.0.tar.gz", "has_sig": false, "md5_digest": "3feecf0fce47c62a2e54ab151464cbaf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8010, "upload_time": "2017-08-17T04:03:47", "url": "https://files.pythonhosted.org/packages/87/00/95905ea4a6f5694234bd2c40c8c0505c931de2d1446ee49a009fe2d42f10/party-1.7.0.tar.gz" } ], "1.7.1": [ { "comment_text": "", "digests": { "md5": "6faf082aa3d2f2dbcb167a5cdf488365", "sha256": "ca141007ae64c074e859415d60417d209e5a1152472cbd646fef3d2a2f5ae5b3" }, "downloads": -1, "filename": "party-1.7.1.tar.gz", "has_sig": false, "md5_digest": "6faf082aa3d2f2dbcb167a5cdf488365", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8014, "upload_time": "2017-08-26T04:45:34", "url": "https://files.pythonhosted.org/packages/ca/31/79e8ef4ab8eac8057751ffc71fe4cba6cd9ff722408888f7c1ad81892ead/party-1.7.1.tar.gz" } ], "1.7.2": [ { "comment_text": "", "digests": { "md5": "47272a97e04d90ad29403beb30b5ce24", "sha256": "dedc11a74e80765e29d99c9294893b23ab96dc026202682f1ad9009f443376b8" }, "downloads": -1, "filename": "party-1.7.2.tar.gz", "has_sig": false, "md5_digest": "47272a97e04d90ad29403beb30b5ce24", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8125, "upload_time": "2017-09-06T04:11:23", "url": "https://files.pythonhosted.org/packages/1f/4f/f9b475974ab27810abd6608d93eadfe074dcb7894a546e56acb6e8819a02/party-1.7.2.tar.gz" } ], "1.7.3": [ { "comment_text": "", "digests": { "md5": "139e85360a436c6041c710363e478d7d", "sha256": "646518bc5e22f5d9f5d26a41a644dd1de6ea7116b5783834c77cb718dae77f9b" }, "downloads": -1, "filename": "party-1.7.3.tar.gz", "has_sig": false, "md5_digest": "139e85360a436c6041c710363e478d7d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8366, "upload_time": "2018-10-07T04:17:58", "url": "https://files.pythonhosted.org/packages/8d/93/735f709bba665aad7bac41bff0b69b8e5f99232fd0fa9dc7eef1290bc557/party-1.7.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "139e85360a436c6041c710363e478d7d", "sha256": "646518bc5e22f5d9f5d26a41a644dd1de6ea7116b5783834c77cb718dae77f9b" }, "downloads": -1, "filename": "party-1.7.3.tar.gz", "has_sig": false, "md5_digest": "139e85360a436c6041c710363e478d7d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8366, "upload_time": "2018-10-07T04:17:58", "url": "https://files.pythonhosted.org/packages/8d/93/735f709bba665aad7bac41bff0b69b8e5f99232fd0fa9dc7eef1290bc557/party-1.7.3.tar.gz" } ] }