This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A list of open (http://opensource.org/, http://opendefinition.org/) licenses together with API and web service.

Project Description

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).

  1. 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.

  2. 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', ...
    >>>
    
  3. 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.

Release History

Release History

This version
History Node

0.6.1

History Node

0.6

History Node

0.5

History Node

0.2

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
licenses-0.6.1.tar.gz (10.9 kB) Copy SHA256 Checksum SHA256 Source Feb 22, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting