coalaip-0.0.3
توضیحات
Python reference implementation for COALA IP
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | coalaip-0.0.3 |
| نام | coalaip |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | BigchainDB |
| ایمیل نویسنده | dev@bigchaindb.com |
| آدرس صفحه اصلی | https://github.com/bigchaindb/pycoalaip |
| آدرس اینترنتی | https://pypi.org/project/coalaip/ |
| مجوز | Apache Software License 2.0 |
=========
pycoalaip
=========
.. image:: https://img.shields.io/pypi/v/coalaip.svg
:target: https://pypi.python.org/pypi/coalaip
.. image:: https://img.shields.io/travis/bigchaindb/pycoalaip.svg
:target: https://travis-ci.org/bigchaindb/pycoalaip
.. image:: https://img.shields.io/codecov/c/github/bigchaindb/pycoalaip/master.svg
:target: https://codecov.io/github/bigchaindb/pycoalaip?branch=master
.. image:: https://readthedocs.org/projects/pycoalaip/badge/?version=latest
:target: https://pycoalaip.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://pyup.io/repos/github/bigchaindb/pycoalaip/shield.svg
:target: https://pyup.io/repos/github/bigchaindb/pycoalaip/
:alt: Updates
Python reference implementation for `COALA IP <https://github.com/coalaip/specs>`_.
* Development Status: Alpha
* Free software: Apache Software License 2.0
* Documentation: https://pycoalaip.readthedocs.io
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 <https://pycoalaip.readthedocs.io/en/latest/usage.html>`_.
TODO
----
* Host COALA IP JSON-LD definitions and set ``<coalaip placeholder>`` to the
purl for the definitions.
* Support IPLD serialization
Packaging
---------
Bumping versions:
.. code-block:: bash
$ bumpversion patch
Releasing to pypi:
.. code-block:: bash
$ make release
$ twine upload dist/*
Credits
---------
This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
=======
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.
نحوه نصب
نصب پکیج whl coalaip-0.0.3:
pip install coalaip-0.0.3.whl
نصب پکیج tar.gz coalaip-0.0.3:
pip install coalaip-0.0.3.tar.gz