{ "info": { "author": "Bryson Tyrrell", "author_email": "bryson.tyrrell@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Topic :: Utilities" ], "description": "PatchCLI\n========\n\nA command line tool for generating Jamf Pro patch definitions, patch updates,\nand built-in integration to Patch Server and CommunityPatch APIs.\n\n**WARNING:** This tool is under active development and the CLI interface and\nfeatures will be changing frequently between updates.\n\nInstall\n-------\n\nPatchCLI can be installed from the Python Package Index:\n\n::\n\n $ pip install patchlib\n\nThe ``patchlib`` module contains the ``patchcli`` command.\n\nAbout\n-----\n\nBasic Usage\n-----------\n\n::\n\n $ patchcli -h\n usage: patchcli [-h] [-v] [-P PROFILE] {patch,validate,api,create_profile} ...\n\n PatchCLI is a command line tool for Jamf Pro patch definition management.\n\n Global Options:\n -h, --help show this help message and exit\n -v, --version Display version information.\n -P PROFILE, --profile PROFILE\n The Patch API profile name to use.\n\n Commands:\n patch Create a new definition JSON file\n validate Validate an existing definition JSON file.\n api Perform quick interactions with the Patch APIs.\n create_profile Create a profile to use the Patch API integrations.\n\nPatch Command\n^^^^^^^^^^^^^\n\n::\n\n $ patchcli patch -h\n usage: patchcli patch [-h] [-o ] [-p ] [-n ]\n [-e ] [--app-version ]\n [--min-sys-version ] [--patch-only]\n path\n\n positional arguments:\n path Path to the application\n\n optional arguments:\n -h, --help show this help message and exit\n -o , --output \n Directory path to write JSON file\n -p , --publisher \n Provide publisher name for a full definition\n -n , --name \n Provide the display name for a full definition\n -e , --extension-attribute \n Path to a script to include as an extension attribute\n * You can include multiple extension attribute\n arguments\n --app-version \n Provide the version of the app (override\n CFBundleShortVersionString)\n --min-sys-version \n Provide the minimum supported version fo macOS for\n this app (e.g. 10.9)\n --patch-only Only create a patch, not a full definition\n\nValidate Command\n^^^^^^^^^^^^^^^^\n\n::\n\n $ patchcli validate -h\n usage: patchcli validate [-h] [-p] path\n\n positional arguments:\n path Path to the definition JSON file.\n\n optional arguments:\n -h, --help show this help message and exit\n -p, --patch Validate a patch, not a full definition.\n\nAPI Commands\n^^^^^^^^^^^^\n\n::\n\n $ patchcli api -h\n usage: patchcli api [-h] {list_titles,get_title} ...\n\n optional arguments:\n -h, --help show this help message and exit\n\n API Commands:\n list_titles List available software titles\n get_title Get a software title definition\n\nPatch API Profiles\n^^^^^^^^^^^^^^^^^^\n\n::\n\n $ patchcli create_profile -h\n usage: patchcli create_profile [-h] [-n ] [-t ]\n (--ps | --cp | --cpb)\n [--overwrite]\n\n optional arguments:\n -h, --help show this help message and exit\n -n , --name \n Profile name\n -t , --token \n The API token\n --ps , --patch-server \n The URL to a local Patch Server instance\n --cp, --community-patch\n Use the Community Patch service\n --cpb, --community-patch-beta\n Use the Beta Community Patch service\n --overwrite Overwrite an existing profile of the same name.\n\nPatchLib\n========\n\nImport and use the API clients for Patch Server and CommunityPatch.\n\n\nHistory\n=======\n\nVersions\n--------\n\n0.3.0 (2018-10-31)\n^^^^^^^^^^^^^^^^^^\n\nAdded ``api`` and ``create_profile`` commands. New options allow basic API access\nwith the command line interface and will be expanded to include more features and\nintegrate directly into the ``patch`` command.\n\n0.2.2 (2018-10-29)\n^^^^^^^^^^^^^^^^^^\n\nFix ``setup.py`` issues preventing installation via ``pip``.\n\n0.2.1 (2018-10-29)\n^^^^^^^^^^^^^^^^^^\n\nReadme typos.\n\n0.2.0 (2018-10-27)\n^^^^^^^^^^^^^^^^^^\n\nUpdated CLI interface to use sub-commands. All previous functionality of the\n``patchstarter.py`` script has been moved into the ``patch`` command.\n\nAdded a ``validate`` command that allows a user to perform a schema validation\non manually created/edited definition files prior to uploading to a patch\nserver.\n\n0.1.0 (2018-10-25)\n^^^^^^^^^^^^^^^^^^\n\nRepository setup. Port existing patchstarter.py functionality as-is.\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/brysontyrrell/PatchCLI", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "patchlib", "package_url": "https://pypi.org/project/patchlib/", "platform": "", "project_url": "https://pypi.org/project/patchlib/", "project_urls": { "Homepage": "https://github.com/brysontyrrell/PatchCLI" }, "release_url": "https://pypi.org/project/patchlib/0.3.0/", "requires_dist": null, "requires_python": "", "summary": "A command line tool for Jamf Pro patch definition management.", "version": "0.3.0" }, "last_serial": 4432614, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "990bba66942ae9ea98e9f13e82e45c54", "sha256": "3c369121d60c08a9f175e3f04ed49bf4c423eb5900ef98a0d3d41b74fc5cfe7d" }, "downloads": -1, "filename": "patchlib-0.1.0.tar.gz", "has_sig": false, "md5_digest": "990bba66942ae9ea98e9f13e82e45c54", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4811, "upload_time": "2018-10-25T16:59:40", "url": "https://files.pythonhosted.org/packages/f6/19/0ab71e57f25f937ad3a0dc81647e5e2082d790eb77da716e0a3caddadbb4/patchlib-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "9b7c83842239ff5201d8e4c4341a1dfc", "sha256": "71fc25dec9b79df6bd4e75c67602ba70aa90f1942a7a1e9d8e7b00041df44fc0" }, "downloads": -1, "filename": "patchlib-0.2.0.tar.gz", "has_sig": false, "md5_digest": "9b7c83842239ff5201d8e4c4341a1dfc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8333, "upload_time": "2018-10-27T20:06:31", "url": "https://files.pythonhosted.org/packages/d7/67/8966e3a74b922f35ec4ab00719eaf62ebddb856b517b2b11205f449e3ccc/patchlib-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "4008aecc21ffbeca61e68c921bb24bd3", "sha256": "12b5aa24bd68388f8758eda6f77b1dc9b80631e6303a49f72bebf689d753e82a" }, "downloads": -1, "filename": "patchlib-0.2.1.tar.gz", "has_sig": false, "md5_digest": "4008aecc21ffbeca61e68c921bb24bd3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8404, "upload_time": "2018-10-29T15:09:45", "url": "https://files.pythonhosted.org/packages/af/7d/5b37ef725854bef28c690fb5f00e63d7cd12eb5e8791db730ca989b17a01/patchlib-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "0c5b91abd5c58a51b5af65af85e8c3e8", "sha256": "c3ee502d8833353244ac1bfccf9944ce2c5bf5a39ba559aeedf032b7b092c720" }, "downloads": -1, "filename": "patchlib-0.2.2.tar.gz", "has_sig": false, "md5_digest": "0c5b91abd5c58a51b5af65af85e8c3e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8342, "upload_time": "2018-10-29T18:03:09", "url": "https://files.pythonhosted.org/packages/95/7c/38b9986736f8bccc60023b0a19e191b3702d6ae82a838b688a4a6d44c80e/patchlib-0.2.2.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "c92101ca44211eeff6a82ebbff5cf5ff", "sha256": "1dd4d497188728b53b0063358d1a3eab7091a8cbb9f6b7fa54fdde1642d360d6" }, "downloads": -1, "filename": "patchlib-0.3.0.tar.gz", "has_sig": false, "md5_digest": "c92101ca44211eeff6a82ebbff5cf5ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12476, "upload_time": "2018-10-30T18:31:58", "url": "https://files.pythonhosted.org/packages/ce/39/3118efaf8fed419d54bfecb09d50852f61751746e7afcb701146a0616417/patchlib-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c92101ca44211eeff6a82ebbff5cf5ff", "sha256": "1dd4d497188728b53b0063358d1a3eab7091a8cbb9f6b7fa54fdde1642d360d6" }, "downloads": -1, "filename": "patchlib-0.3.0.tar.gz", "has_sig": false, "md5_digest": "c92101ca44211eeff6a82ebbff5cf5ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12476, "upload_time": "2018-10-30T18:31:58", "url": "https://files.pythonhosted.org/packages/ce/39/3118efaf8fed419d54bfecb09d50852f61751746e7afcb701146a0616417/patchlib-0.3.0.tar.gz" } ] }