{ "info": { "author": "Harald Kirker\u00f8d", "author_email": "haraball+pystory@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "``pystory``\n===========\n\nKeep a local history of everything you do inside your virtual python environment.\n\nInstallation\n------------\n\nAfter activating your virtual environment, install the module with::\n\n pip install pystory\n\nAdd the following line to your ``.bashrc``/``.bash_profile`` file to enable ``pystory``::\n\n export PROMPT_COMMAND='if [ ! -z ${VIRTUAL_ENV+x} ]; then echo \"$(date \"+%Y-%m-%d.%H:%M:%S\") $(pwd) $(history 1)\" >> $VIRTUAL_ENV/.pystory; fi'\n\n\nThe contents of `PROMPT_COMMAND `_ are executed as a regular Bash command just before Bash displays a prompt.\n\nThis line adds your last command as an entry to the ``.pystory`` file, which will be placed in your ``$VIRTUAL_ENV/`` folder. \n\nEx::\n\n /Users/username/project/.venv/.pystory\n\n\nUsage\n-----\n\nCheck your pystory by typing ``pystory`` while your virtual environment is activated.\n\n::\n\n $ pystory\n Hist Count Command\n 1 1. pip install requests\n 2 1. pip install Django\n 5 3. python\n ...\n\nNote that the output is compressed, so only the last history entry of a command is listed, with the count of times the command is used.\n\n::\n\n $ pystory find Django\n Commands matching `Django`:\n Hist Count Command\n 2 1 pip install Django", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/haraball/pystory", "keywords": null, "license": "MIT License\n\nCopyright (c) 2016 Harald Kirker\u00f8d\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.", "maintainer": null, "maintainer_email": null, "name": "pystory", "package_url": "https://pypi.org/project/pystory/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pystory/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/haraball/pystory" }, "release_url": "https://pypi.org/project/pystory/0.2/", "requires_dist": null, "requires_python": null, "summary": "A virtual environment utility for saving the commands you use in python projects.", "version": "0.2" }, "last_serial": 2318877, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "f2ee48b160c2e19781e2de73d4c39ba4", "sha256": "5772a4a7690d3ecb91260986fdbc585c1dfd890bb536e9d61620fbb87d387d03" }, "downloads": -1, "filename": "pystory-0.1.tar.gz", "has_sig": false, "md5_digest": "f2ee48b160c2e19781e2de73d4c39ba4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4618, "upload_time": "2016-09-01T15:25:32", "url": "https://files.pythonhosted.org/packages/94/f5/2678817c9b38749e475569697a49204789f3e259cac1326abbf04aaf5247/pystory-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "16e5cf8d4239dd15bacdfc7e5e532b7d", "sha256": "8d7396c9bf2216e42d547f385b60ddc52d1915b51c76b2d4f66384de9d82ddb1" }, "downloads": -1, "filename": "pystory-0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "16e5cf8d4239dd15bacdfc7e5e532b7d", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 7510, "upload_time": "2016-09-01T15:43:39", "url": "https://files.pythonhosted.org/packages/97/1f/42f3e4bb1736ab76bb7f87d3edb9f0e9900b31d5b846467d717056034bf2/pystory-0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2f8e07e30bdc58ed8602f82e4b73093b", "sha256": "464ef2cb5dda0514a0caa53e278a7d44a784b2b62f2a9761de24abb640f1b2c1" }, "downloads": -1, "filename": "pystory-0.2.tar.gz", "has_sig": false, "md5_digest": "2f8e07e30bdc58ed8602f82e4b73093b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4624, "upload_time": "2016-09-01T15:43:35", "url": "https://files.pythonhosted.org/packages/24/bb/9eb4503daa375249fda654e50c30c9f2b894d6072f0e16ff669b38b6f776/pystory-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "16e5cf8d4239dd15bacdfc7e5e532b7d", "sha256": "8d7396c9bf2216e42d547f385b60ddc52d1915b51c76b2d4f66384de9d82ddb1" }, "downloads": -1, "filename": "pystory-0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "16e5cf8d4239dd15bacdfc7e5e532b7d", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 7510, "upload_time": "2016-09-01T15:43:39", "url": "https://files.pythonhosted.org/packages/97/1f/42f3e4bb1736ab76bb7f87d3edb9f0e9900b31d5b846467d717056034bf2/pystory-0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2f8e07e30bdc58ed8602f82e4b73093b", "sha256": "464ef2cb5dda0514a0caa53e278a7d44a784b2b62f2a9761de24abb640f1b2c1" }, "downloads": -1, "filename": "pystory-0.2.tar.gz", "has_sig": false, "md5_digest": "2f8e07e30bdc58ed8602f82e4b73093b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4624, "upload_time": "2016-09-01T15:43:35", "url": "https://files.pythonhosted.org/packages/24/bb/9eb4503daa375249fda654e50c30c9f2b894d6072f0e16ff669b38b6f776/pystory-0.2.tar.gz" } ] }