{ "info": { "author": "Pierre St\u00e5hl", "author_email": "pierre.staahl@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries", "Topic :: Utilities" ], "description": "Simple bootstraping of python scripts\n=====================================\n\nThis is an early prototype of a simple bootstrapping system for python. By\nimporting `scriptstrap` into a python script, a virtual environment (\"venv\")\nwill be automatically created, dependencies installed (using `pip`) and the\nscript will finally be re-launched inside the venv. This simplifies\ndistribution of small utility scripts, as package dependencies are\nautomatically manged by just running the script.\n\nThe intended use case for `scriptstrap` is single-file utility scripts only!\n\nFeatures\n--------\n\n- Automatic creation of virtual environment for each script\n- Dependencies are installed and imported automatically\n- Simplified script distribution\n- No additional dependencies other than python and virtualenv\n\nRequirements\n------------\n\n* Python 2.7 or later\n* virtualenv\n\nGetting started\n---------------\n\nYou must do a global install of `scriptstrap` or run it from another\nvenv. Recommended installation is::\n\n $ pip install scriptstrap\n\nExample\n-------\n\nSimple script that downloads the Google main page and prints it:\n\n.. code:: python\n\n import scriptstrap\n\n scriptstrap.python3('requests')\n\n print(requests.get('http://google.com').content)\n\nRunning the script, assuming the script is called `requests.py`, will create\na new venv in a directory called `requests.venv3` next to the script. If the\nscript is launched again, the same venv will be re-used.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/postlund/scriptstrap", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "scriptstrap", "package_url": "https://pypi.org/project/scriptstrap/", "platform": "any", "project_url": "https://pypi.org/project/scriptstrap/", "project_urls": { "Homepage": "https://github.com/postlund/scriptstrap" }, "release_url": "https://pypi.org/project/scriptstrap/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "Simple bootstrapping of python scripts", "version": "0.0.1" }, "last_serial": 3490953, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "2586e029b613a41a6e645032326e7bcd", "sha256": "b7dc6c90658063f7557e833e2c60bc0abbef5e634db286b2285173b8b9265c5c" }, "downloads": -1, "filename": "scriptstrap-0.0.1.tar.gz", "has_sig": false, "md5_digest": "2586e029b613a41a6e645032326e7bcd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4803, "upload_time": "2018-01-15T12:12:18", "url": "https://files.pythonhosted.org/packages/3d/03/f8faf49a82c854c8a9fbeb81b43395bb86e15148ced36aa1e7d7d1cb319b/scriptstrap-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2586e029b613a41a6e645032326e7bcd", "sha256": "b7dc6c90658063f7557e833e2c60bc0abbef5e634db286b2285173b8b9265c5c" }, "downloads": -1, "filename": "scriptstrap-0.0.1.tar.gz", "has_sig": false, "md5_digest": "2586e029b613a41a6e645032326e7bcd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4803, "upload_time": "2018-01-15T12:12:18", "url": "https://files.pythonhosted.org/packages/3d/03/f8faf49a82c854c8a9fbeb81b43395bb86e15148ced36aa1e7d7d1cb319b/scriptstrap-0.0.1.tar.gz" } ] }