Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Python reference implementation for COALA IP

Project description

pycoalaip

https://img.shields.io/pypi/v/coalaip.svg https://img.shields.io/travis/bigchaindb/pycoalaip.svg https://img.shields.io/codecov/c/github/bigchaindb/pycoalaip/master.svg Documentation Status Updates

Python reference implementation for COALA IP.

Features

  • CoalaIp.generate_user(): Create a user representation suitable for use with coalaip
  • CoalaIp.register_manifestation(): Registering a Manifestation (and along with it, an associated parent Work and a Copyright of the Manifestation)
  • CoalaIp.derive_right(): Derivation of a Right from an allowing source Right or Copyright
  • CoalaIp.transfer_right(): Transfer of a Right or Copyright from the current owner to a new owner
  • Querying the ownership history of an COALA IP entity

To learn more about how to use these features, you may be interested in the usage section of the docs.

TODO

  • Host COALA IP JSON-LD definitions and set <coalaip placeholder> to the purl for the definitions.
  • Support IPLD serialization

Packaging

Bumping versions:

$ bumpversion patch

Releasing to pypi:

$ make release
$ twine upload dist/*

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.0.3 (2017-05-06)

Some changes during the OMI hackfest!

  • Make creation of Work and Copyright optional when registering a Manifestation.

0.0.2 (2017-05-05)

Some changes during the OMI hackfest!

Some highlights:

  • Add register_work method to enable registering a work without necessarily registering a manifestation.

0.0.1 (2017-02-17)

First alpha release on PyPI.

Additional features added with no backwards-incompatible interface changes. COALA IP models are backwards-incompatible to previous versions due to upgrades related to spec changes.

Some highlights:

  • Queryability of an Entity’s ownership history and current owner
  • Entities can be given a custom @id
  • Additional sanity checks employed when deriving Rights, to ensure that a correct source Right and current holder are given
  • Update COALA IP models to latest spec
  • Added usage documentation

0.0.1.dev3 (2016-12-06)

Lots of changes and revisions from 0.0.1.dev2. Totally incompatible from before.

Some highlights:

  • Implemented Rights derivation (from existing Rights and Copyrights)
  • Implemented Rights transfers
  • Entities are now best-effort immutable
  • Support for loading Entities from a connected persistence layer

0.0.1.dev2 (2016-08-31)

  • Fix packaging on PyPI

0.0.1.dev1 (2016-08-31)

  • Development (pre-alpha) release on PyPI.

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
coalaip-0.0.3.tar.gz (44.7 kB) Copy SHA256 hash SHA256 Source None May 6, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page