A list of open (http://opensource.org/, http://opendefinition.org/) licenses together with API and web service.
How to use the Licenses Package
This package can be used in three ways (develop, distribute, and deploy).
To create and access license data in JSON form.
The package contains a data file (./licenses/licenses.db) and a scraper (licenses/scrape.py) which and updates the data file:
$ hg clone https://bitbucket.org/okfn/licenses $ cd licenses $ python licenses/scrape.py
A report will be printed about changes to the licenses data.
Access of the data via a simple python API:
>>> from licenses import Licenses >>> L = Licenses() >>> for l in L: print l ... odc-odbl ... >>> print l['odb-odbl'] {'status': 'active', ... >>>Deployment as a service.
Install or update the Python package, then create the service files:
$ python licenses/deploy.py <path>
A whole set of files will be created at <path> which can then be served directly by your webserver.
Metadata
Release files for licenses 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| licenses-0.6.1.tar.gz | 10.9 kB | Without provenance | Details for licenses-0.6.1.tar.gz |
Release files / licenses-0.6.1.tar.gz
| Download URL | licenses-0.6.1.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a8f7f4abf31ba6c7be0d2150f9e4c3ed2f782bcbc6d8212a3a0fd8c0c005d88
|
|
BLAKE2b-256 checksum How to use checksums |
9f570e2d7895e0da29d04400b33f603b87b03768a32755513ca581f314a772be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for licenses 0.6.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.