{ "info": { "author": "Data Basin", "author_email": "databasin@consbio.org", "bugtrack_url": null, "classifiers": [], "description": "Overview\r\n--------\r\n\r\nThis tool provides a command-line interface for packaging and publishing\r\npython toolboxes to ArcGIS Server (10.2.x).\r\n\r\nInstallation\r\n------------\r\n\r\nTo install the latest stable version:\r\n\r\n::\r\n\r\n pip install python-ags\r\n\r\nLatest changes:\r\n\r\n::\r\n\r\n pip install https://bitbucket.org/databasin/ags_tool_deploy/get/develop.zip#egg=ags_tool_deploy\r\n\r\n*Installing manually:*\r\n\r\nDownload the latest changes from the `develop\r\nbranch `__,\r\nextract, and execute\r\n\r\n::\r\n\r\n python setup.py install\r\n\r\nThis will install the script to your local python packages folder as\r\n\r\n::\r\n\r\n ags_tool_deploy/deploy.py\r\n\r\nConsider adding this folder to your PATH.\r\n\r\nUsage\r\n-----\r\n\r\nThis tool is intended to be run from within a console.\r\n\r\nFor information on usage, simply run\r\n\r\n::\r\n\r\n python deploy.py --help\r\n\r\nThe commands below allow you to include Mercurial repository\r\ninformation. This does not bundle the full repository, but instead\r\nincludes the link to the source repository and current branch, so that\r\nyou can run\r\n\r\n::\r\n\r\n hg pull --update\r\n\r\non the server to pull down the full repository.\r\n\r\nPackaging\r\n~~~~~~~~~\r\n\r\nUse the ``package`` command to bundle your python toolbox into a service\r\ndefinition (\\*.sd) file.\r\n\r\n::\r\n\r\n Usage: deploy.py package [OPTIONS] \r\n\r\n Package a python toolbox into a service definition file (*.sd). Local\r\n python modules this toolbox references are included automatically.\r\n Requires 7Zip to be installed and on the system PATH.\r\n\r\n WARNING: this will overwrite the file if it already exists.\r\n\r\n Aguments:\r\n : Filename of python toolbox (*.pyt) to deploy\r\n : Name of service, including folder(s). Example: SomeFolder/MyTool\r\n : Name of the service definition file to create\r\n\r\n Options:\r\n --files Wildcard patterns of additional files to\r\n include (relative to toolbox). Example:\r\n *.csv,some_data.*\r\n --hg Include Mercurial (hg) repository \r\n information? \r\n --sync Execute tool synchronously instead of\r\n asynchronously (default)\r\n --messages [None|Info|Error|Warning]\r\n Level of messaging for service\r\n --help Show this message and exit.\r\n\r\nPublishing\r\n~~~~~~~~~~\r\n\r\nUse the ``publish`` command to deploy your python toolbox to an ArcGIS\r\nserver.\r\n\r\n::\r\n\r\n Usage: deploy.py publish [OPTIONS] \r\n\r\n Publish a python toolbox to an ArcGIS server. Local python modules this\r\n toolbox references are included automatically. Requires 7Zip to be\r\n installed and on the system PATH.\r\n\r\n Aguments:\r\n : Filename of python toolbox (*.pyt) to deploy\r\n : Name of service, including folder(s). Example: SomeFolder/MyTool\r\n : Hostname and port number of ArcGIS server\r\n : ArcGIS server administrator user name\r\n\r\n Options:\r\n --password ArcGIS administrator password. You will be\r\n prompted for this if you do not provide it\r\n --files Wildcard patterns of additional files to\r\n include (relative to toolbox). Example:\r\n *.csv,some_data.*\r\n --hg Include Mercurial (hg) repository \r\n information? \r\n --sync Execute tool synchronously instead of\r\n asynchronously (default)\r\n --messages [None|Info|Error|Warning]\r\n Level of messaging for service\r\n --overwrite Delete and replace the service, if it\r\n already exists?\r\n --help Show this message and exit.\r\n\r\nRequirements:\r\n-------------\r\n\r\n- lxml\r\n- click\r\n- ags (from: https://bitbucket.org/databasin/python-ags)\r\n- 7Zip: must be installed manually from `7Zip\r\n website `__\r\n\r\nAssumptions\r\n-----------\r\n\r\n- only Python 2.7 is supported\r\n- only tested on Windows\r\n- only ArcGIS 10.2.x is supported\r\n\r\nLicense\r\n-------\r\n\r\nSee LICENSE file.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/databasin/ags_tool_deploy", "keywords": "arcgis ags", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "ags_tool_deploy", "package_url": "https://pypi.org/project/ags_tool_deploy/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/ags_tool_deploy/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/databasin/ags_tool_deploy" }, "release_url": "https://pypi.org/project/ags_tool_deploy/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Provides packaging and publishing tools for ArcGIS python toolboxes", "version": "0.1.1" }, "last_serial": 1539329, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "640af1a65c4f3a73892bae741dd2ed78", "sha256": "cd07868622c11f7820272645f8a7274b50efff7907ab0451bc2ee8aad60655db" }, "downloads": -1, "filename": "ags_tool_deploy-0.1.1.zip", "has_sig": false, "md5_digest": "640af1a65c4f3a73892bae741dd2ed78", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8918, "upload_time": "2015-05-08T18:56:06", "url": "https://files.pythonhosted.org/packages/7f/3c/db6d86f3d72cbf2b0e5cf043b17fe468650800d4ce37980bf1fd670ae0f9/ags_tool_deploy-0.1.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "640af1a65c4f3a73892bae741dd2ed78", "sha256": "cd07868622c11f7820272645f8a7274b50efff7907ab0451bc2ee8aad60655db" }, "downloads": -1, "filename": "ags_tool_deploy-0.1.1.zip", "has_sig": false, "md5_digest": "640af1a65c4f3a73892bae741dd2ed78", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8918, "upload_time": "2015-05-08T18:56:06", "url": "https://files.pythonhosted.org/packages/7f/3c/db6d86f3d72cbf2b0e5cf043b17fe468650800d4ce37980bf1fd670ae0f9/ags_tool_deploy-0.1.1.zip" } ] }