Skip to main content

A list of open (, licenses together with API and web service.

Project description

A list of open (, 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).

  1. To create and access license data in JSON form.

    The package contains a data file (./licenses/licenses.db) and a scraper (licenses/ which and updates the data file:

    $ hg clone
    $ cd licenses
    $ python licenses/

    A report will be printed about changes to the licenses data.

  2. Access of the data via a simple python API:

    >>> from licenses import Licenses
    >>> L = Licenses()
    >>> for l in L: print l
    >>> print l['odb-odbl']
    {'status': 'active', ...
  3. Deployment as a service.

    Install or update the Python package, then create the service files:

    $ python licenses/ <path>

    A whole set of files will be created at <path> which can then be served directly by your webserver.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for licenses, version 0.6.1
Filename, size File type Python version Upload date Hashes
Filename, size licenses-0.6.1.tar.gz (10.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page