{ "info": { "author": "Jan-Philip Gehrcke", "author_email": "jgehrcke@googlemail.com", "bugtrack_url": null, "classifiers": [], "description": "python-cmdline-bootstrap\n========================\n\nThis is a structure template for Python command line applications, ready to be\nreleased and distributed via setuptools/PyPI/pip for Python 2 and 3.\n\nPlease have a look at the corresponding article:\nhttp://gehrcke.de/2014/02/distributing-a-python-command-line-application/\n\n\nUsage\n-----\n\nClone this repository and adopt the bootstrap structure for your own project.\nThis is just a starting point, but I hope a good one. From there on, you should\nread and follow http://python-packaging-user-guide.readthedocs.org/en/latest/,\nthe definite resource on Python packaging.\n\n\n\nBehavior\n--------\n\nFlexible invocation\n*******************\n\nThe application can be run right from the source directory, in two different\nways:\n\n1) Treating the bootstrap directory as a package *and* as the main script::\n\n $ python -m bootstrap arg1 arg2\n Executing bootstrap version 0.2.0.\n List of argument strings: ['arg1', 'arg2']\n Stuff and Boo():\n \n \n\n2) Using the bootstrap-runner.py wrapper::\n\n $ ./bootstrap-runner.py arg1 arg2\n Executing bootstrap version 0.2.0.\n List of argument strings: ['arg1', 'arg2']\n Stuff and Boo():\n \n \n\n\nInstallation sets up bootstrap command\n**************************************\n\nSituation before installation::\n\n $ bootstrap\n bash: bootstrap: command not found\n\nInstallation right from the source tree (or via pip from PyPI)::\n\n $ python setup.py install\n\nNow, the ``bootstrap`` command is available::\n\n $ bootstrap arg1 arg2\n Executing bootstrap version 0.2.0.\n List of argument strings: ['arg1', 'arg2']\n Stuff and Boo():\n \n \n\n\nOn Unix-like systems, the installation places a ``bootstrap`` script into a\ncentralized ``bin`` directory, which should be in your ``PATH``. On Windows,\n``bootstrap.exe`` is placed into a centralized ``Scripts`` directory which\nshould also be in your ``PATH``.", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://gehrcke.de/2014/02/distributing-a-python-command-line-application", "keywords": null, "license": null, "maintainer": null, "maintainer_email": null, "name": "cmdline-bootstrap", "package_url": "https://pypi.org/project/cmdline-bootstrap/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/cmdline-bootstrap/", "project_urls": { "Homepage": "http://gehrcke.de/2014/02/distributing-a-python-command-line-application" }, "release_url": "https://pypi.org/project/cmdline-bootstrap/0.2.0/", "requires_dist": null, "requires_python": null, "summary": "Python command line application bare bones template.", "version": "0.2.0" }, "last_serial": 1040807, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "076abc8cc6a79c089413fbcaf784e780", "sha256": "8e5827a7d288cbc6989243e1428a835429e3d37f8276dcfed40315092adb6cd3" }, "downloads": -1, "filename": "cmdline-bootstrap-0.1.0.tar.gz", "has_sig": false, "md5_digest": "076abc8cc6a79c089413fbcaf784e780", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1310, "upload_time": "2014-02-27T15:45:06", "url": "https://files.pythonhosted.org/packages/bb/60/3f22e3247c831c328bedfd56f5307a7e299584528efa79bfa47023eab98b/cmdline-bootstrap-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "f538eea8049d628815d372dd2a62046c", "sha256": "a0bc9ad02fe2b36141bf43eb160e01e35f810780317661fd719846fd45af73c2" }, "downloads": -1, "filename": "cmdline-bootstrap-0.2.0.tar.gz", "has_sig": false, "md5_digest": "f538eea8049d628815d372dd2a62046c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2574, "upload_time": "2014-03-25T16:39:00", "url": "https://files.pythonhosted.org/packages/d2/46/3d8807e7fdb5d4f76972985cbfef39c3f039f8fbd37df62b18bdd547337c/cmdline-bootstrap-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f538eea8049d628815d372dd2a62046c", "sha256": "a0bc9ad02fe2b36141bf43eb160e01e35f810780317661fd719846fd45af73c2" }, "downloads": -1, "filename": "cmdline-bootstrap-0.2.0.tar.gz", "has_sig": false, "md5_digest": "f538eea8049d628815d372dd2a62046c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2574, "upload_time": "2014-03-25T16:39:00", "url": "https://files.pythonhosted.org/packages/d2/46/3d8807e7fdb5d4f76972985cbfef39c3f039f8fbd37df62b18bdd547337c/cmdline-bootstrap-0.2.0.tar.gz" } ] }