{
"info": {
"author": "Dawid Potocki",
"author_email": "dpot@disroot.org",
"bugtrack_url": null,
"classifiers": [
"Intended Audience :: Developers",
"License :: OSI Approved",
"License :: OSI Approved :: ISC License (ISCL)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7"
],
"description": "
\n\n_Licensing, simplified._\n\n## Install\n\n```\n$ pip3 install --user policense\n```\n\n### Generate license text (`-l, --license`)\n\nLicenses are named according to [SPDX identifiers](https://spdx.org/licenses/).\nThere are some symlinks, so you don't have to remember 100% correctly (2BSD, BSD2 -> BSD-2-Clause)\nIf there are multiple version of license, when you type without version, it will link to newest (GPL -> GPL-3.0).\nLetter case of license names don't matter, why should it?\n\n```shell\n$ policense -l BSD-2-Clause\n$ policense -l 2BSD\n$ policense -l BSD2\n$ policense -l bSd-2-cLaUsE\n```\n\n###### output\n\nEven though we did not pass our name, policense got it from our git config.\n\n```\nBSD 2-Clause License\n\nCopyright (c) 2019, Dawid Potocki\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n```\n\n#### Add email (`-e, --email`)\n\nAdds email specified to license text.\nIf `git` or `hg` specified, it will get email from these tools.\n\n```shell\n$ policense -l ISC -e git\n```\n\n###### output\n\n```\nCopyright (c) 2019, Dawid Potocki \n\nPermission to use, copy, modify, and distribute this software for any\npurpose with or without fee is hereby granted, provided that the above\ncopyright notice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\nWITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\nANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\nOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n```\n\n### Save license to file (`-s`, `--save`)\n\nIf after `-s` filename is not specified, it will default to `LICENSE`.\n\n```shell\n$ policense -l 0BSD -s COPYING\n```\n\n### Show TL;DR of license\n\n```shell\n$ policense -i BSD-2-Clause\n```\n\n###### output (it actually has noice colors)\n\n```\nBSD 2-Clause \"Simplified\" License\nA permissive license similar to the BSD 3-Clause License, but without\na 3rd advertising clause.\nFSF Approved \u2714\nOSI Approved \u2714\nGPL Compatible \u2714\nCopyleft \u2716\nStatic Linking \u2714\nDynamic Linking \u2714\nIntended for software\n\nPermissions\nCommercial use\nDistribution\nModification\nPrivate use\n\nConditions\nLicense and copyright notice\n\nLimitations\nLiability\nWarranty\n```\n\n## NAQ (Never Asked Questions)\n\n> Can you add license X?\n\nIf there is a SPDX identifier, then I don't see a problem.\nIt would be nice if you could help with that.\nLook at [CONTRIBUTING.md](CONTRIBUTING.md)\n\n## FAQ (Frequently Asked Questions)\n\nYes\n",
"description_content_type": "text/markdown",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/dawidpotocki/policense",
"keywords": "",
"license": "ISC",
"maintainer": "Dawid Potocki",
"maintainer_email": "dpot@disroot.org",
"name": "policense",
"package_url": "https://pypi.org/project/policense/",
"platform": "",
"project_url": "https://pypi.org/project/policense/",
"project_urls": {
"Homepage": "https://github.com/dawidpotocki/policense",
"Repository": "https://github.com/dawidpotocki/policense"
},
"release_url": "https://pypi.org/project/policense/0.1.5/",
"requires_dist": [
"prompt-toolkit (>=2.0,<3.0)",
"toml (>=0.10.0,<0.11.0)",
"licensename (>=0.4.2,<0.5.0)"
],
"requires_python": ">=3.6,<4.0",
"summary": "Licensing, simplified.",
"version": "0.1.5"
},
"last_serial": 5713717,
"releases": {
"0.1.5": [
{
"comment_text": "",
"digests": {
"md5": "639b11ea58dfb21f9a1d2c585a8c1ee6",
"sha256": "412761077c978a299a86b4d29d496737ee63e3c929670788056659d7cee3db04"
},
"downloads": -1,
"filename": "policense-0.1.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "639b11ea58dfb21f9a1d2c585a8c1ee6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6,<4.0",
"size": 408425,
"upload_time": "2019-08-17T18:12:09",
"url": "https://files.pythonhosted.org/packages/04/11/d7bb061f59f5dae8207f614ac3317be25671445638e234bc5391b20c0d75/policense-0.1.5-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "41eecce0c9c5f9a8fa217dfefa13c7a4",
"sha256": "23228a2ece9ea1003ba4defb34ce65b080ef8ba1525045d6c4a3fd2d8d0b465f"
},
"downloads": -1,
"filename": "policense-0.1.5.tar.gz",
"has_sig": false,
"md5_digest": "41eecce0c9c5f9a8fa217dfefa13c7a4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6,<4.0",
"size": 95759,
"upload_time": "2019-08-17T18:12:11",
"url": "https://files.pythonhosted.org/packages/df/f9/1d004762f796ae9f0ffa3663a6bf0b354f5aa5d431ab873b4b782461343f/policense-0.1.5.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "639b11ea58dfb21f9a1d2c585a8c1ee6",
"sha256": "412761077c978a299a86b4d29d496737ee63e3c929670788056659d7cee3db04"
},
"downloads": -1,
"filename": "policense-0.1.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "639b11ea58dfb21f9a1d2c585a8c1ee6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6,<4.0",
"size": 408425,
"upload_time": "2019-08-17T18:12:09",
"url": "https://files.pythonhosted.org/packages/04/11/d7bb061f59f5dae8207f614ac3317be25671445638e234bc5391b20c0d75/policense-0.1.5-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "41eecce0c9c5f9a8fa217dfefa13c7a4",
"sha256": "23228a2ece9ea1003ba4defb34ce65b080ef8ba1525045d6c4a3fd2d8d0b465f"
},
"downloads": -1,
"filename": "policense-0.1.5.tar.gz",
"has_sig": false,
"md5_digest": "41eecce0c9c5f9a8fa217dfefa13c7a4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6,<4.0",
"size": 95759,
"upload_time": "2019-08-17T18:12:11",
"url": "https://files.pythonhosted.org/packages/df/f9/1d004762f796ae9f0ffa3663a6bf0b354f5aa5d431ab873b4b782461343f/policense-0.1.5.tar.gz"
}
]
}