{ "info": { "author": "Dhatim", "author_email": "dev-oss@dhatim.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Build Tools" ], "description": ".. image:: https://badge.fury.io/py/liccheck.svg\n :target: https://badge.fury.io/py/liccheck\n.. image:: https://travis-ci.org/dhatim/python-license-check.svg?branch=master\n :target: https://travis-ci.org/dhatim/python-license-check\n\nPython License Checker\n======================\n\nCheck python packages listed in a ``requirements.txt`` file and report license issues.\n\nAbout\n=====\n\nYou can define a list of authorized licenses, unauthorized licenses and authorized packages.\n\nThe tool will check the ``requirements.txt`` file, check packages and their\ndependencies and return an error if some packages are not compliant\nagainst the given strategy.\n\nThe tool has 3 levels of checks to select from:\n\nStandard (default):\n A package is considered as compliant when at least one of its licenses is\n in the authorized license list, or if the package is in the list of\n authorized packages.\n\nCautious:\n Same as *Standard*, but a package is **not** considered compliant when one\n or more of its licenses is in the unauthorized license list, even if it\n also has a license in the authorized license list. A package is still\n compliant if present in the authorized packages list.\n\nParanoid:\n All licenses listed for a package must be in the authorised license list\n for the package to be considered compliant. A package is still\n compliant if present in the authorized packages list.\n\nHow to install\n==============\n\n::\n\n\t$ pip install liccheck\n\n\nHow to use\n==========\n\n``liccheck`` will read the ``requirements.txt`` and verify compliance of packages against a strategy defined in the ``ini`` file.\nIf the file is not specified on command line, it will search for ``requirements.txt`` in the current folder.\nYou have to setup an ``ini`` file with an authorized license list, unauthorized license list and authorized package list.\n\nHere is an example of a ``strategy.ini`` file:\n::\n\n\t# Authorized and unauthorized licenses in LOWER CASE\n\t[Licenses]\n\tauthorized_licenses:\n\t\tbsd\n\t\tnew bsd\n\t\tbsd license\n\t\tnew bsd license\n\t\tsimplified bsd\n\t\tapache\n\t\tapache 2.0\n\t\tapache software license\n\t\tgnu lgpl\n\t\tlgpl with exceptions or zpl\n\t\tisc license\n\t\tisc license (iscl)\n\t\tmit\n\t\tmit license\n\t\tpython software foundation license\n\t\tzpl 2.1\n\n\tunauthorized_licenses:\n\t\tgpl v3\n\n\t[Authorized Packages]\n\t# Python software license (see http://zesty.ca/python/uuid.README.txt)\n\tuuid: 1.30\n\nNote: versions of authorized packages can be defined using `PEP-0440 version specifiers `_, such as ``>=1.3,<1.4``. The implementation uses the nice package `semantic_version `_.\n\nFor demo purpose, let's say your ``requirements.txt`` file contains this:\n::\n\n\tFlask>=0.12.1\n\tflask_restful\n\tjsonify\n\tpsycopg2>=2.7.1\n\tnose\n\tscipy\n\tscikit-learn\n\tpandas\n\tnumpy\n\targparse\n\tuuid\n\tsqlbuilder\n\tproboscis\n\tpyyaml>=3.12\n\nThe execution will output this:\n::\n\n $ liccheck -s my_strategy.ini -r my_project/required.txt\n gathering licenses...23 packages and dependencies.\n check forbidden packages based on licenses...none\n check authorized packages based on licenses...19 packages.\n check authorized packages...4 packages.\n check unknown licenses...none\n\nIf some dependencies are unknown or are not matching the strategy, the output will be something like:\n::\n\n $ liccheck -s my_strategy.ini -r my_project/requirements.txt\n\tgathering licenses...32 packages and dependencies.\n\tcheck forbidden packages based on licenses...1 forbidden packages :\n\t Unidecode (0.4.21) : GPL ['GNU General Public License v2 or later (GPLv2+)']\n\t dependency:\n\t Unidecode << python-slugify << yoyo-migrations\n\n\tcheck authorized packages based on licenses...24 packages.\n\tcheck authorized packages...6 packages.\n\tcheck unknown licenses...1 unknown packages :\n\t feedparser (5.2.1) : UNKNOWN []\n\t dependency:\n\t feedparser\n\nLicensing\n=========\n\n- See `LICENSE `__", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dhatim/python-license-check", "keywords": "license check build tool", "license": "Apache Software License", "maintainer": "", "maintainer_email": "", "name": "liccheck", "package_url": "https://pypi.org/project/liccheck/", "platform": "", "project_url": "https://pypi.org/project/liccheck/", "project_urls": { "Homepage": "https://github.com/dhatim/python-license-check" }, "release_url": "https://pypi.org/project/liccheck/0.3.12/", "requires_dist": null, "requires_python": ">=2.7", "summary": "Check python packages from requirement.txt and report issues", "version": "0.3.12" }, "last_serial": 5396586, "releases": { "0.1.3": [ { "comment_text": "", "digests": { "md5": "ef49b30c889cd7680f867c21e6ad460f", "sha256": "b2b6d0c39de842134529ca5d037b448eb1a275a0e80282074c0cbe5dc295bdd9" }, "downloads": -1, "filename": "liccheck-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "ef49b30c889cd7680f867c21e6ad460f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 6664, "upload_time": "2017-10-25T09:59:25", "url": "https://files.pythonhosted.org/packages/49/4a/ed485714099ae4523e30e00b3ddd5bdf7773c0a73ec46239e6a2e7046c2e/liccheck-0.1.3-py3-none-any.whl" } ], "0.1.3b2": [ { "comment_text": "", "digests": { "md5": "14144cda2aa8632781fbbf81926998ed", "sha256": "029408bcc7b3147332c43c4e3ffd39911f5a69c0921291858baa92887a3bdbac" }, "downloads": -1, "filename": "liccheck-0.1.3b2-py3-none-any.whl", "has_sig": false, "md5_digest": "14144cda2aa8632781fbbf81926998ed", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 6681, "upload_time": "2017-10-25T09:59:24", "url": "https://files.pythonhosted.org/packages/2c/db/d8ff755a1505b03ab5d85656929c676e5a0e43f750928e4e16bdca91fbe3/liccheck-0.1.3b2-py3-none-any.whl" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "3b9afedd0c9e291ab129e30269674716", "sha256": "0a841fb7a0fb3df734670cfc351571667be971f874eee8f3cd71176fc09c5177" }, "downloads": -1, "filename": "liccheck-0.2.0.tar.gz", "has_sig": false, "md5_digest": "3b9afedd0c9e291ab129e30269674716", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 5700, "upload_time": "2018-05-04T19:28:34", "url": "https://files.pythonhosted.org/packages/44/5a/e7b86aaba1283f7a6aea1b52a8c65f1d39f32a8d90a5a7e82e08450f7956/liccheck-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "2c752e363405db5ea5c8a0ac92941cb8", "sha256": "8602720ab17846193839a2f9a5c299c8ac1d7617b1fc062dfdb5b8d09005f75e" }, "downloads": -1, "filename": "liccheck-0.2.1.tar.gz", "has_sig": false, "md5_digest": "2c752e363405db5ea5c8a0ac92941cb8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 5699, "upload_time": "2018-05-04T19:57:38", "url": "https://files.pythonhosted.org/packages/cf/7b/41e24420ff379908cac3f2e413ad9eee2c7c911896482cf126c5a110962d/liccheck-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "9d94da9beea755326d8da58e56e93542", "sha256": "d68cf5e5763141a687e4f155c487c67af2be4b630a4c9fa54fe05bb0f256318e" }, "downloads": -1, "filename": "liccheck-0.2.2.tar.gz", "has_sig": false, "md5_digest": "9d94da9beea755326d8da58e56e93542", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 5730, "upload_time": "2018-05-05T10:49:22", "url": "https://files.pythonhosted.org/packages/f8/fb/84b29e2ecab1f6484d13627388bbac0429044803445fdec39626be59de88/liccheck-0.2.2.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "69a8748d32bfc28ac9ac51a1788d1a59", "sha256": "bdec558f836892aa663f2b89299ead82daaac12c832399394c5179b33b5e0907" }, "downloads": -1, "filename": "liccheck-0.3.0.tar.gz", "has_sig": false, "md5_digest": "69a8748d32bfc28ac9ac51a1788d1a59", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 6523, "upload_time": "2018-08-15T15:54:50", "url": "https://files.pythonhosted.org/packages/ab/bb/6f55c5bad8c6d33749d827f9222c45a0f34f953af52b20859dba982ba331/liccheck-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "e507c680ea316df9c435b16909262c86", "sha256": "e084d5173e8caf7e695b81aab7d91e662228d51812a319d43c28fb90d0a6831a" }, "downloads": -1, "filename": "liccheck-0.3.1.tar.gz", "has_sig": false, "md5_digest": "e507c680ea316df9c435b16909262c86", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 6520, "upload_time": "2018-08-15T15:59:59", "url": "https://files.pythonhosted.org/packages/a9/ae/8b07da88c5f73e84c0aee61a7f82f8c8cc966de97c3bb0d5738e799dee05/liccheck-0.3.1.tar.gz" } ], "0.3.10": [ { "comment_text": "", "digests": { "md5": "0646f824b2b54d6924f6685b04f6c2f5", "sha256": "e5682ba6fce9ed797f2d9e02740950f4a4c31af1cffe6c93c98f33ec9c32e2fe" }, "downloads": -1, "filename": "liccheck-0.3.10.tar.gz", "has_sig": false, "md5_digest": "0646f824b2b54d6924f6685b04f6c2f5", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 6832, "upload_time": "2019-06-12T21:43:09", "url": "https://files.pythonhosted.org/packages/26/74/d38af38de235da54cc683f377ed720d755f8227dd17a24b04a4488a96734/liccheck-0.3.10.tar.gz" } ], "0.3.11": [ { "comment_text": "", "digests": { "md5": "1c9e8046dfbf220211f044e615f7dc1c", "sha256": "499a512e6ffd0c18842c9577d28ab47a9594fe2e76b0bd041c8cf9597a556c3f" }, "downloads": -1, "filename": "liccheck-0.3.11.tar.gz", "has_sig": false, "md5_digest": "1c9e8046dfbf220211f044e615f7dc1c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 6935, "upload_time": "2019-06-13T09:28:50", "url": "https://files.pythonhosted.org/packages/91/a7/83118d3ba708ebdf29c6bdd7a593d7297311492fe7ca63854ae0c8cbff20/liccheck-0.3.11.tar.gz" } ], "0.3.12": [ { "comment_text": "", "digests": { "md5": "054e748fc7710d5711bc2f885a36c0c5", "sha256": "8d6a0261a2bc93d5cae1a21ec79de606202e8f2625a64c88a39484117ef0fb2b" }, "downloads": -1, "filename": "liccheck-0.3.12.tar.gz", "has_sig": false, "md5_digest": "054e748fc7710d5711bc2f885a36c0c5", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 6844, "upload_time": "2019-06-13T16:08:15", "url": "https://files.pythonhosted.org/packages/5f/e1/4b6c0ab251078c0f727ce5fdcb1ac5c4c234e6ae192cbdc32891e4b3779e/liccheck-0.3.12.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "0d7816c078de29b0792cf41249aecc7b", "sha256": "9c2c1970ad34cd70f283a0522bd2fa453be8a52c498ee70ed440603bf531c902" }, "downloads": -1, "filename": "liccheck-0.3.2.tar.gz", "has_sig": false, "md5_digest": "0d7816c078de29b0792cf41249aecc7b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 6606, "upload_time": "2018-09-12T12:07:00", "url": "https://files.pythonhosted.org/packages/1b/0a/e8ad6780eff4e38791b844833b4a5df4b67a72fbe42deef994a4574f4e94/liccheck-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "b65ff37cd5555e34af55e9bc020b7afc", "sha256": "5d19ed18467d4be4db323da5b969ee96a2eba83bce394a788050b8cf899db636" }, "downloads": -1, "filename": "liccheck-0.3.3.tar.gz", "has_sig": false, "md5_digest": "b65ff37cd5555e34af55e9bc020b7afc", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 6669, "upload_time": "2018-09-12T14:49:08", "url": "https://files.pythonhosted.org/packages/20/f2/a62a19d6a03c7526c2353c84f9e0726c2f16034956f015e86417762badd2/liccheck-0.3.3.tar.gz" } ], "0.3.5": [ { "comment_text": "", "digests": { "md5": "9a94d88545bddf64f1e2aefcbcdeb670", "sha256": "32630c3315ed32d53aaa2672abcff02437c8c6d3e1b13c3d55956249d573beda" }, "downloads": -1, "filename": "liccheck-0.3.5.tar.gz", "has_sig": false, "md5_digest": "9a94d88545bddf64f1e2aefcbcdeb670", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 6881, "upload_time": "2019-02-01T13:43:51", "url": "https://files.pythonhosted.org/packages/00/dc/ae23089eb715cb0d629205bb135b2b1223bf880c1ec8fe2514e14fe19f2d/liccheck-0.3.5.tar.gz" } ], "0.3.6": [ { "comment_text": "", "digests": { "md5": "b5affb533a8b3cbd7a74fba67ab1f468", "sha256": "e3e8de7d60957a357815c2661f6f0c71ba93446210d886343dae2406086d9682" }, "downloads": -1, "filename": "liccheck-0.3.6.tar.gz", "has_sig": false, "md5_digest": "b5affb533a8b3cbd7a74fba67ab1f468", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 6896, "upload_time": "2019-03-11T13:27:35", "url": "https://files.pythonhosted.org/packages/11/df/10a9a03ec5230d41e8b91348e3400153cd9b8326eaa8782f07b2a38788f8/liccheck-0.3.6.tar.gz" } ], "0.3.7": [ { "comment_text": "", "digests": { "md5": "a165677fad2a57f3ce17c6e968d78493", "sha256": "4054ecf18bad9bc4b6a5727b4839d421339d688f3be8302491d50219e9cd4e57" }, "downloads": -1, "filename": "liccheck-0.3.7.tar.gz", "has_sig": false, "md5_digest": "a165677fad2a57f3ce17c6e968d78493", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 6917, "upload_time": "2019-03-13T13:31:09", "url": "https://files.pythonhosted.org/packages/e3/b4/f3b0ff7d65166af1f702efed732541147b09001ec38165ee3c56263eaf61/liccheck-0.3.7.tar.gz" } ], "0.3.8": [ { "comment_text": "", "digests": { "md5": "b4fa87d83e29be3237b1c22a39fa8cb7", "sha256": "1030771c8b43d4a82adeffcf9fb937c33497049ce5c155fc028e2d7df8ea9ad7" }, "downloads": -1, "filename": "liccheck-0.3.8.tar.gz", "has_sig": false, "md5_digest": "b4fa87d83e29be3237b1c22a39fa8cb7", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 6786, "upload_time": "2019-04-11T13:07:29", "url": "https://files.pythonhosted.org/packages/82/7b/e2704c035a4dc87b41fdc925884637b71cb19d8b78a4a36dcb9a9b4fa78c/liccheck-0.3.8.tar.gz" } ], "0.3.9": [ { "comment_text": "", "digests": { "md5": "602f2e438fccd7a6171b5cfafb89d54d", "sha256": "354b5f8b3f6a1e92dfea89ba22f4e76b1e2b0895ce4db1b9c7ae39376af66513" }, "downloads": -1, "filename": "liccheck-0.3.9.tar.gz", "has_sig": false, "md5_digest": "602f2e438fccd7a6171b5cfafb89d54d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 6803, "upload_time": "2019-04-12T12:55:18", "url": "https://files.pythonhosted.org/packages/c0/9c/ebb1f15a1fd324cf7ca60cc0d2973b1d61ee4109751a9d89a24d28058418/liccheck-0.3.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "054e748fc7710d5711bc2f885a36c0c5", "sha256": "8d6a0261a2bc93d5cae1a21ec79de606202e8f2625a64c88a39484117ef0fb2b" }, "downloads": -1, "filename": "liccheck-0.3.12.tar.gz", "has_sig": false, "md5_digest": "054e748fc7710d5711bc2f885a36c0c5", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 6844, "upload_time": "2019-06-13T16:08:15", "url": "https://files.pythonhosted.org/packages/5f/e1/4b6c0ab251078c0f727ce5fdcb1ac5c4c234e6ae192cbdc32891e4b3779e/liccheck-0.3.12.tar.gz" } ] }