{ "info": { "author": "Zach Sailer", "author_email": "zachsailer@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "\n# Shorten\n\nSimple (Python) tool to shorten any command in your terminal.\n\n`shorten` takes the place of adding aliases in your bash profile. It also makes a few things a more convenient. For example, you can\n 1. create an alias from any location,\n 2. list your aliases and\n 3. search aliases by leading characters.\n\n\nLet me know if you experience any issues!\n\n## Things you can do\n\n**Create an alias.** Call `shorten` (from anywhere!) on any command and give it an alias.\n\n```\n$ shorten echo e\nAlias successfully added.\n```\n```\n$ # Let's try it out!\n$ echo 'Hello, world!'\nHello, world!\n```\n\n**Remove an alias.** Call `shorten delete`.\n```\n$ shorten delete e\n```\n\n**List all your aliases.**\n```\n$ shorten list all\n\nAlias Command\n----- -------\nipynb jupyter notebook\njlab jupyter lab\ne echo\n```\n\n**List aliases that start with substring.**\n```\n$ shorten list ip\n\nAlias Command\n----- -------\nipynb jupyter notebook\n```\n\n**Protip**: shorten `shorten` ;).\n```\n$ shorten shorten s\n```\n\n## How does it work?\n\n*Shorten* creates a hidden folder in your home directory. This is where your aliases will be stored. Each alias is actually a python script that redirects the alias to the true command.\n\n*Shorten* adds a line to your bash profile that points your $PATH variable to `~/.shorten`. If you can't get your aliases to work (or you're using another shell like Zsh), check that the following line is in the right `rc` file.\n\n```\nexport PATH=\"~/.shorten:$PATH\"\n```\n\n\n## Install\n\nClone this repo and pip install:\n```\npip install -e .\n```\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Zsailer/shorten", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "shorten-cli", "package_url": "https://pypi.org/project/shorten-cli/", "platform": "", "project_url": "https://pypi.org/project/shorten-cli/", "project_urls": { "Homepage": "https://github.com/Zsailer/shorten" }, "release_url": "https://pypi.org/project/shorten-cli/0.1/", "requires_dist": null, "requires_python": "", "summary": "Simple (Python) tool to shorten any command in your terminal.", "version": "0.1" }, "last_serial": 3472365, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "f4338c34dd4c07a2778377ca92bca8ff", "sha256": "a52152dc4137b36d6787d3b1a5a2c595588efdbe8c45857b48992b899eeb13da" }, "downloads": -1, "filename": "shorten_cli-0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f4338c34dd4c07a2778377ca92bca8ff", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6058, "upload_time": "2018-01-08T21:44:38", "url": "https://files.pythonhosted.org/packages/18/57/097b8e7962255d440651d1682bd40df9c6a151a20f3c486dc256a9864293/shorten_cli-0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dfea68b3d36fdd5ce4e773d01373f2e3", "sha256": "68d390e17c28331dd94727c4401536f3c3fb05e56b4345676d467d1fd3da41b9" }, "downloads": -1, "filename": "shorten-cli-0.1.tar.gz", "has_sig": false, "md5_digest": "dfea68b3d36fdd5ce4e773d01373f2e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4636, "upload_time": "2018-01-08T21:44:39", "url": "https://files.pythonhosted.org/packages/54/a2/09d30c67c18b57ab67615b28190d2797d7899e32cb4911ce1e0664bcfd73/shorten-cli-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f4338c34dd4c07a2778377ca92bca8ff", "sha256": "a52152dc4137b36d6787d3b1a5a2c595588efdbe8c45857b48992b899eeb13da" }, "downloads": -1, "filename": "shorten_cli-0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f4338c34dd4c07a2778377ca92bca8ff", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6058, "upload_time": "2018-01-08T21:44:38", "url": "https://files.pythonhosted.org/packages/18/57/097b8e7962255d440651d1682bd40df9c6a151a20f3c486dc256a9864293/shorten_cli-0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dfea68b3d36fdd5ce4e773d01373f2e3", "sha256": "68d390e17c28331dd94727c4401536f3c3fb05e56b4345676d467d1fd3da41b9" }, "downloads": -1, "filename": "shorten-cli-0.1.tar.gz", "has_sig": false, "md5_digest": "dfea68b3d36fdd5ce4e773d01373f2e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4636, "upload_time": "2018-01-08T21:44:39", "url": "https://files.pythonhosted.org/packages/54/a2/09d30c67c18b57ab67615b28190d2797d7899e32cb4911ce1e0664bcfd73/shorten-cli-0.1.tar.gz" } ] }