{ "info": { "author": "Ty-Lucas Kelley", "author_email": "tylucaskelley@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "# Licenser\n\nTool for adding open source licenses to your projects\n\n---\n\n[![PyPI](https://img.shields.io/pypi/v/licenser.svg?maxAge=3600)](http://pypi.python.org/pypi/licenser)\n[![PyPI](https://img.shields.io/pypi/pyversions/licenser.svg?maxAge=3600)](http://pypi.python.org/pypi/licenser)\n[![Travis](https://travis-ci.org/tylucaskelley/licenser.svg?branch=master)](https://travis-ci.org/tylucaskelley/licenser)\n\nFinding and adding a license to your project is an annoying process,\nand can be quite tedious depending on the license you choose.\n\nLicenser allows you to quickly add a license to your project from\nthe command line. Supported licenses can be found in the\n[assets folder](https://github.com/tylucaskelley/licenser/tree/master/licenser/assets).\n\nDon't see what you need?\n[Open an issue](https://github.com/tylucaskelley/licenser/issues/new)\nto suggest the addition of other licenses!\n\n### Prerequisites\n\n* Python 2.6+ or Python 3.4+\n\n### Installation\n\n```bash\n$ pip install licenser\n```\n\nAlternatively, grab the\n[zip](https://github.com/tylucaskelley/licenser/tarball/v2.0.4)!\n\n### Usage\n\nFrom the command line:\n\n```bash\n$ licenser -n \"Your Name\" -e \"you@example.com\" -l \"license name\" -p \"project name\"\n```\n\nName, email, and license are the three required parameters; project will default\nto the current directory name if you don't include it.\n\n`--txt` will add the `.txt` extension to the `LICENSE` file.\n\n### Configuration\n\nIf you're like me and don't change your name very often, you can save time by\nstoring your defaults for name, email, and license in `~/.licenser`:\n\n```bash\nname=\"Your Name\"\nemail=\"you@example.com\"\nlicense=\"MIT\"\n```\n\nNow any time you run `licenser`, you don't need to provide arguments unless you\nwant to override defaults.\n\n### Development Setup\n\nI recommend using `pyenv` with the `pyenv-virtualenv` plugin. [This][1]\ndocument provides information on setting that up.\n\nRegardless, make sure you have Python 2.7 or 3.6 installed in some form.\n\n**With pyenv**\n\nFirst, clone the repository:\n\n```bash\n$ git clone https://github.com/tylucaskelley/licenser && cd licenser\n```\n\nNext, create your virtual environment and activate it:\n\n```bash\n$ pyenv virtualenv venv && pyenv activate venv\n```\n\nFinally, install the dependencies:\n\n```bash\n$ pip install -r requirements.txt\n```\n\nNow you're good to go! Run tests with the `nosetests` command and test out the\nscript with `python licenser [args]`.\n\n**Without pyenv**\n\nClone the repository:\n\n```bash\n$ git clone https://github.com/tylucaskelley/licenser && cd licenser\n```\n\nInstall the dependencies:\n\n```bash\npip install -r requirements.txt\n```\n\nNow you're good to go! Run tests with the `nosetests` command and test out the\nscript with `python licenser [args]`.\n\n### Contributing\n\nSee [CONTRIBUTING.md](.github/CONTRIBUTING.md) for details.\n\nI accept [pull requests](https://github.com/tylucaskelley/licenser/compare);\nthere are some potential improvements I've been thinking about:\n\n1. Prepending headers to source code files for licenses that recommend it\n2. Pull licenses from an online API (maybe)\n3. Support for more licenses\n\nAdditionally, make sure that all tests pass when you add features, and write\nnew unit tests if you add a function. Tests can be run using the `nosetests`\ncommand from the root project directory.\n\n[1]: https://github.com/yyuu/pyenv-virtualenv#installation", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/tylucaskelley/licenser", "keywords": "cli,license,tools,script", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "licenser", "package_url": "https://pypi.org/project/licenser/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/licenser/", "project_urls": { "Homepage": "http://github.com/tylucaskelley/licenser" }, "release_url": "https://pypi.org/project/licenser/2.2.0/", "requires_dist": null, "requires_python": "", "summary": "Tool for adding open source licenses to your projects", "version": "2.2.0" }, "last_serial": 2682889, "releases": { "0.2.3": [ { "comment_text": "", "digests": { "md5": "6dc9439f530b0ef8e560da5320d3e5a9", "sha256": "9824f4c65841e40069f0e4043cef0049fa6a9576beb92bd51dd298dbf7e00d6e" }, "downloads": -1, "filename": "licenser-0.2.3.tar.gz", "has_sig": false, "md5_digest": "6dc9439f530b0ef8e560da5320d3e5a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2781, "upload_time": "2014-09-25T22:53:02", "url": "https://files.pythonhosted.org/packages/94/44/c5e0449889e3a8e1db4f7cd01409a9590bacc63ecb8e091388b1e36affbf/licenser-0.2.3.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "0f0580bddb8b99877852cc01dfb1c26f", "sha256": "06cea0d47b4f21678e4a8751d9a663bfd036dbc87461537a59045d77d7504134" }, "downloads": -1, "filename": "licenser-1.0.5.tar.gz", "has_sig": false, "md5_digest": "0f0580bddb8b99877852cc01dfb1c26f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25030, "upload_time": "2014-11-13T23:42:49", "url": "https://files.pythonhosted.org/packages/eb/ee/4312e01ca2571be5ef2db7d48a4070839c4b4b51551936a84b47b1a7c79c/licenser-1.0.5.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "4b31c05d251b89e92d98bc25dcbf9048", "sha256": "51abf6a632bb2e79aea29061e238a85dac89f9833b9187287a26abe1c451d697" }, "downloads": -1, "filename": "licenser-1.1.0.tar.gz", "has_sig": false, "md5_digest": "4b31c05d251b89e92d98bc25dcbf9048", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25417, "upload_time": "2014-11-14T15:31:29", "url": "https://files.pythonhosted.org/packages/32/2e/33e4649e6d54fb77b4c8f16cf2c468b0b4919c8111e5c9a272f5fa9307e5/licenser-1.1.0.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "a16344b8077ccf6750e70bca66f1eff4", "sha256": "f73d0881736e329c91c3b9f8a3552d7734b8ac302526c26969531317ef7ee918" }, "downloads": -1, "filename": "licenser-1.2.0.tar.gz", "has_sig": false, "md5_digest": "a16344b8077ccf6750e70bca66f1eff4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25692, "upload_time": "2014-11-14T19:07:27", "url": "https://files.pythonhosted.org/packages/1f/cc/c5a78b9f3f9104dc231073864ad5657f3dc847f8aebd6c82c9a21451295e/licenser-1.2.0.tar.gz" } ], "1.2.3": [ { "comment_text": "", "digests": { "md5": "c9ebb6beefc2d39e4c9b3c07de699109", "sha256": "0d5b02727a46df4537a7985219988bdcae144f7b69ab5b6289d9f73fc5e6d0f7" }, "downloads": -1, "filename": "licenser-1.2.3.tar.gz", "has_sig": false, "md5_digest": "c9ebb6beefc2d39e4c9b3c07de699109", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27244, "upload_time": "2014-12-30T19:37:55", "url": "https://files.pythonhosted.org/packages/80/fd/229c88fc5622213512ea26e128da84dd87840a8b58ad4bbe33d28f107b43/licenser-1.2.3.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "b43fc1dc340b43797182c0d2a49aa36e", "sha256": "983719e15615a281616a5681d878cd5e967886a68479c494fff5ef746607d6b8" }, "downloads": -1, "filename": "licenser-2.0.0.tar.gz", "has_sig": false, "md5_digest": "b43fc1dc340b43797182c0d2a49aa36e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 44454, "upload_time": "2016-05-27T19:43:44", "url": "https://files.pythonhosted.org/packages/86/af/8202c4f3c90e8d9e4ae0f820708f42be472d69039222c65875f53b145227/licenser-2.0.0.tar.gz" } ], "2.0.2": [ { "comment_text": "", "digests": { "md5": "823dd19c57a0b62813ba1221f23b4e4e", "sha256": "d173a706059a91448cd7041da00e12c9a4aeadf8d38ebd3dec66b64c743a5518" }, "downloads": -1, "filename": "licenser-2.0.2.tar.gz", "has_sig": false, "md5_digest": "823dd19c57a0b62813ba1221f23b4e4e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 44451, "upload_time": "2016-05-27T19:44:52", "url": "https://files.pythonhosted.org/packages/3f/98/a96a8ee9234897da6565e43ce629b22adc81061f1c6af66c709982b610ff/licenser-2.0.2.tar.gz" } ], "2.0.3": [ { "comment_text": "", "digests": { "md5": "1e73ede1fc3b5bd45d530d1a5d6449ca", "sha256": "36554381f426a585a0c22d8f98685a87169f04964e9cac8a9fc2571d8a70114c" }, "downloads": -1, "filename": "licenser-2.0.3.tar.gz", "has_sig": false, "md5_digest": "1e73ede1fc3b5bd45d530d1a5d6449ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 44481, "upload_time": "2016-05-27T22:29:06", "url": "https://files.pythonhosted.org/packages/1c/49/9466a39bedcac2dc1a9939c5c087118d9dafb1e7eed03fb3114285be87b2/licenser-2.0.3.tar.gz" } ], "2.0.4": [ { "comment_text": "", "digests": { "md5": "c748bedf1fedab6439778f634c7a9a36", "sha256": "fbe8c1d4834eadde990c56240eaaf0e70b67e14e2e51ac3dd6fc30f868f115c0" }, "downloads": -1, "filename": "licenser-2.0.4.tar.gz", "has_sig": false, "md5_digest": "c748bedf1fedab6439778f634c7a9a36", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 45071, "upload_time": "2016-05-27T22:31:00", "url": "https://files.pythonhosted.org/packages/3b/49/46472b7e795c3bdf12f9365d9728facb44c17601988da42eef461da7a361/licenser-2.0.4.tar.gz" } ], "2.1.1": [ { "comment_text": "", "digests": { "md5": "d34b04923b8a5eb2e87a52760333f5f9", "sha256": "e16139979e9c21d19d0fa422914365984e4946bcae9dd7084c19afdf3190dc19" }, "downloads": -1, "filename": "licenser-2.1.1.tar.gz", "has_sig": false, "md5_digest": "d34b04923b8a5eb2e87a52760333f5f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 47071, "upload_time": "2017-03-04T21:42:55", "url": "https://files.pythonhosted.org/packages/ca/7c/5c51a6ee9d9f8b34613e7654b9d69bc7dbae00b894ef46a07048f3f35c6e/licenser-2.1.1.tar.gz" } ], "2.1.2": [ { "comment_text": "", "digests": { "md5": "252cf5eb3856e73a9b23ef9d496cf816", "sha256": "6c1f63eae7853c065e9400914a08e62ecad8f77713c8c6455a8debaaa3eba9cf" }, "downloads": -1, "filename": "licenser-2.1.2.tar.gz", "has_sig": false, "md5_digest": "252cf5eb3856e73a9b23ef9d496cf816", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 47052, "upload_time": "2017-03-04T22:10:47", "url": "https://files.pythonhosted.org/packages/04/4a/9c5a43ccef3e5d8650d71cbde7c41fbd6fc1e0d8b5747bbe02619b1c70ff/licenser-2.1.2.tar.gz" } ], "2.2.0": [ { "comment_text": "", "digests": { "md5": "91eeb80841389bbc36a39d742280109b", "sha256": "e737036b14ea50b9555401c4da20029fc7faf239f3c0e7498e9fe1b150b79ce0" }, "downloads": -1, "filename": "licenser-2.2.0.tar.gz", "has_sig": false, "md5_digest": "91eeb80841389bbc36a39d742280109b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 47043, "upload_time": "2017-03-04T22:21:30", "url": "https://files.pythonhosted.org/packages/19/f0/8ccc9917631e4475472c2586075c38cbb71515de8b56041d9dc4ce83ce3e/licenser-2.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "91eeb80841389bbc36a39d742280109b", "sha256": "e737036b14ea50b9555401c4da20029fc7faf239f3c0e7498e9fe1b150b79ce0" }, "downloads": -1, "filename": "licenser-2.2.0.tar.gz", "has_sig": false, "md5_digest": "91eeb80841389bbc36a39d742280109b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 47043, "upload_time": "2017-03-04T22:21:30", "url": "https://files.pythonhosted.org/packages/19/f0/8ccc9917631e4475472c2586075c38cbb71515de8b56041d9dc4ce83ce3e/licenser-2.2.0.tar.gz" } ] }