{ "info": { "author": "Kai Xia", "author_email": "xiaket@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Topic :: Utilities" ], "description": "# Snape\n\nSnape is a minimalism snippets manager written in Python. You may add/search a snippet, all data is saved into a local json file, you can modify the json file at will and put that file with other dot files under version control.\n\nOf course the name comes from Harry Potter, as mentioned by Harry potter:\n\n> He was probably the bravest man I ever knew.\n\nI think we all need a little bravery from time to time.\n\n\n# Installation and usage\n\nThe installation is plain and simple, just use pip to install it.\n\n```\npip install Snape\n```\n\nTo add a snippet, run `Snape add [name of snippeet]`, for example:\n\n```\n{~}Snape add python post json\nEnter/Paste your content. Ctrl-D to save it.\nimport requests, json\nurl = 'http://127.0.0.1:27182/api/account'\nheaders = {'Content-type': 'application/json', 'Accept': 'text/plain'}\ndata = {'name': 1, 'param': 2}\nresponse = requests.post(url, data=json.dumps(data), headers=headers}\n```\n\nPlease note that after you have added all the data there, you need to add an `Enter` and a `Ctrl-D` to send an `EOL` to mark the end of the stream.\n\nAfter that, the snippet would be saved to `~/.snape.json`.\n\nYou can list all the snippets by running `Snape`. You can also search the snippets with `Snape search [query]` to look for the snippet you need.\n\nThere's no intention to add the ability to modify or remove a snippet, since you can easily do that with any editor you like.\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/xiaket/Snape", "keywords": "snippet manager,snippets", "license": "", "maintainer": "", "maintainer_email": "", "name": "Snape", "package_url": "https://pypi.org/project/Snape/", "platform": "", "project_url": "https://pypi.org/project/Snape/", "project_urls": { "Homepage": "https://github.com/xiaket/Snape" }, "release_url": "https://pypi.org/project/Snape/1.0/", "requires_dist": null, "requires_python": "", "summary": "Minimalism snippet manager", "version": "1.0" }, "last_serial": 4099677, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "9a6003d1ad5a10e962560ab212d06994", "sha256": "76c24332c46e6b9a594e7887b8309b82577785614fc167edca80e3a16ce0dc6f" }, "downloads": -1, "filename": "Snape-1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "9a6003d1ad5a10e962560ab212d06994", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3482, "upload_time": "2018-07-25T07:29:17", "url": "https://files.pythonhosted.org/packages/51/d4/36f1ee13a4f8b83d77b32a6ade239470592de3fd7ed887e57cb6ca53e5c2/Snape-1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5eeacfea0acb9ef30a58ef9c30e438d3", "sha256": "9a9acc45f0cc670b6024bfb48a44c6feca46837b02c6297db97c30272f5c6cf0" }, "downloads": -1, "filename": "Snape-1.0.tar.gz", "has_sig": false, "md5_digest": "5eeacfea0acb9ef30a58ef9c30e438d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3204, "upload_time": "2018-07-25T07:29:18", "url": "https://files.pythonhosted.org/packages/6b/1d/d5b58ee16cc0b1b016f5fe7ad498b8e1f2adcc115b709eeadc2b1fce8172/Snape-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9a6003d1ad5a10e962560ab212d06994", "sha256": "76c24332c46e6b9a594e7887b8309b82577785614fc167edca80e3a16ce0dc6f" }, "downloads": -1, "filename": "Snape-1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "9a6003d1ad5a10e962560ab212d06994", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3482, "upload_time": "2018-07-25T07:29:17", "url": "https://files.pythonhosted.org/packages/51/d4/36f1ee13a4f8b83d77b32a6ade239470592de3fd7ed887e57cb6ca53e5c2/Snape-1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5eeacfea0acb9ef30a58ef9c30e438d3", "sha256": "9a9acc45f0cc670b6024bfb48a44c6feca46837b02c6297db97c30272f5c6cf0" }, "downloads": -1, "filename": "Snape-1.0.tar.gz", "has_sig": false, "md5_digest": "5eeacfea0acb9ef30a58ef9c30e438d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3204, "upload_time": "2018-07-25T07:29:18", "url": "https://files.pythonhosted.org/packages/6b/1d/d5b58ee16cc0b1b016f5fe7ad498b8e1f2adcc115b709eeadc2b1fce8172/Snape-1.0.tar.gz" } ] }