{ "info": { "author": "Dhatim", "author_email": "msauvee@dhatim.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Build Tools" ], "description": "Python License Checker\n======================\n\nCheck python packages from requirement.txt and report license issues.\n\nAbout\n=====\n\nYou can define a list of authorized licenses, authorized packages,\nunauthorized licenses.\n\nThe tool will check the requirement.txt files, check packages and their\ndependencies and return an error if some packages are not compliant\nagainst the strategy. A package is considered as not compliant when its license \nis in the unauthorized license list or is unknown. A package is considered as compliant when its \nlicense is in authorized license list, or if the package is itself in the list of\nauthorized packages.\n\nHow to install\n==============\n\n::\n\n\t$ pip install liccheck\n\n\nHow to use\n==========\n\nliccheck will read the requirement.txt and check packages agains a strategy defined in the ini file.\nIf the file is not specified on command line, it will lookup for requirement.txt in the current folder.\nYou have to setup an ini file with an authorized license list, unauthorized license list, authorized package list.\n\nHere is an example of a strategy:\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\n\nFor demo purpose, let's say your requirement.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 strategy, the output will be something like:\n::\n\n $ liccheck -s my_strategy.ini -r my_project/required.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 dependencye(s):\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 dependencye(s):\n\t feedparser\n\nLicensing\n=========\n\n- See `LICENSE `__\n\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/dhatim/python-license-check", "keywords": "license check build tool", "license": "Apache Software License", "maintainer": "", "maintainer_email": "", "name": "liccheck2", "package_url": "https://pypi.org/project/liccheck2/", "platform": "", "project_url": "https://pypi.org/project/liccheck2/", "project_urls": { "Homepage": "https://github.com/dhatim/python-license-check" }, "release_url": "https://pypi.org/project/liccheck2/0.1.4/", "requires_dist": [ "argparse", "configparser" ], "requires_python": ">=3", "summary": "Check python packages from requirement.txt and report issues", "version": "0.1.4" }, "last_serial": 3777514, "releases": { "0.1.3": [ { "comment_text": "", "digests": { "md5": "3316b41834a7e5e88b7eab1c2c4a1e1b", "sha256": "ca294591614cfa9c6cab21c4e2d70b313a8164976f878fcf5118ccd5500e372f" }, "downloads": -1, "filename": "liccheck2-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "3316b41834a7e5e88b7eab1c2c4a1e1b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 6639, "upload_time": "2018-03-28T11:55:30", "url": "https://files.pythonhosted.org/packages/c1/60/aef44d0c1d1e76499d8e90646387dad32f81b5475a962fd4e797925836b5/liccheck2-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5415c4dd0f295e8ea563f0a3d5d85b7e", "sha256": "72f2e5210837336864074a79344e195a774a1b52198e0a8e8794c6f5196ec1da" }, "downloads": -1, "filename": "liccheck2-0.1.3.tar.gz", "has_sig": false, "md5_digest": "5415c4dd0f295e8ea563f0a3d5d85b7e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 5671, "upload_time": "2018-03-28T11:55:31", "url": "https://files.pythonhosted.org/packages/1e/08/ff606f189a96d161d779b1b4e961c266c55419002c3d5c2034a0207f2f7b/liccheck2-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "da657131250c14d2439f2ece9588622b", "sha256": "93c5dab46c737ada221c119d3a43b837397c806e64e8657427c8b3ed50482f3d" }, "downloads": -1, "filename": "liccheck2-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "da657131250c14d2439f2ece9588622b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 6676, "upload_time": "2018-04-18T15:05:36", "url": "https://files.pythonhosted.org/packages/8f/e9/e626f73a43b9c71730a70ec2bcc4e87a7ed75d9b9dd6beaedf9d1b0fc616/liccheck2-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f44b58e97e02935408181d5bbcdf6c89", "sha256": "3186602ed85da3808a98ec5e5248e39a63b4f50beb40d45695ab15b00b3e2417" }, "downloads": -1, "filename": "liccheck2-0.1.4.tar.gz", "has_sig": false, "md5_digest": "f44b58e97e02935408181d5bbcdf6c89", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 5714, "upload_time": "2018-04-18T15:05:37", "url": "https://files.pythonhosted.org/packages/12/93/472e81229c5981c48e377a5c89841f19ba3066c037cb50dc95eceeb88f16/liccheck2-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "da657131250c14d2439f2ece9588622b", "sha256": "93c5dab46c737ada221c119d3a43b837397c806e64e8657427c8b3ed50482f3d" }, "downloads": -1, "filename": "liccheck2-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "da657131250c14d2439f2ece9588622b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 6676, "upload_time": "2018-04-18T15:05:36", "url": "https://files.pythonhosted.org/packages/8f/e9/e626f73a43b9c71730a70ec2bcc4e87a7ed75d9b9dd6beaedf9d1b0fc616/liccheck2-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f44b58e97e02935408181d5bbcdf6c89", "sha256": "3186602ed85da3808a98ec5e5248e39a63b4f50beb40d45695ab15b00b3e2417" }, "downloads": -1, "filename": "liccheck2-0.1.4.tar.gz", "has_sig": false, "md5_digest": "f44b58e97e02935408181d5bbcdf6c89", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 5714, "upload_time": "2018-04-18T15:05:37", "url": "https://files.pythonhosted.org/packages/12/93/472e81229c5981c48e377a5c89841f19ba3066c037cb50dc95eceeb88f16/liccheck2-0.1.4.tar.gz" } ] }