Python API for Clique block chains; ID chains and auth chains included.
Project description
==============
Clique Python
==============
Python API for Clique block chains; ID chains and auth chains included.
Invented by Andrew Biggs <balthorium@gmail.com>, and contributed to by others.
Status
------
.. image:: https://img.shields.io/pypi/v/clique-blockchain.svg
:target: https://pypi.python.org/pypi/clique-blockchain/
:alt: Latest Version
.. image:: https://img.shields.io/pypi/status/clique-blockchain.svg
:target: https://pypi.python.org/pypi/clique-blockchain/
:alt: Project Status
.. image:: https://travis-ci.org/nicfit/Clique.svg?branch=master
:target: https://travis-ci.org/nicfit/Clique
:alt: Build Status
.. image:: https://img.shields.io/pypi/l/clique-blockchain.svg
:target: https://pypi.python.org/pypi/clique-blockchain/
:alt: License
.. image:: https://img.shields.io/pypi/pyversions/clique-blockchain.svg
:target: https://pypi.python.org/pypi/clique-blockchain/
:alt: Supported Python versions
.. image:: https://coveralls.io/repos/nicfit/Clique/badge.svg
:target: https://coveralls.io/r/nicfit/Clique
:alt: Coverage Status
Features
--------
Requirements
------------
* Python >= 3.4
* cryptography
* jwcrypto
Getting Started
----------------
.. code-block:: bash
# Note, replace <username> with your own.
$ git clone https://<username>@stash-eng-chn-sjc1.cisco.com/stash/scm/~adb/clique.git
$ cd clique/python3
# Using mkvirtualenv
$ mkvirtualenv -p python3 -r requirements/default.txt clique
# ... or virtualenv
$ virtualenv -p python3 /path/clique
$ source /path/clique/bin/activate
$ pip install -r requirements/default.txt
Installation
------------
The install the ``clique`` module and scripts, either system-wide or in a
virtualenv, use ``setup.py`` in the standard fashion.
.. code-block:: bash
# To install
$ ./setup.py install
$ clique examples authchain
.. note::
Developers should skip the install since testing requires pushing new
versions. See the developer section.
Development
-----------
To initialize the environment to run against your working copy use the
``develop`` command.
.. code-block:: bash
# To develop
$ ./setup.py develop
$ clique examples authchain
For running tests and performing other developer tasks more dependencies are
required.
.. code-block:: bash
# For running tests
$ pip install -r requirements/test.txt
# For running tests with coverage, tox, building docs, linting, etc
$ pip install -r requirements/dev.txt
Release History
===============
v0.2.3 (2017-02-05)
------------------------
Fix
~~~
- Fixed status badges (for PyPi package name change)
v0.2.2 (2017-02-05)
-------------------------
* Initial release
Clique Python
==============
Python API for Clique block chains; ID chains and auth chains included.
Invented by Andrew Biggs <balthorium@gmail.com>, and contributed to by others.
Status
------
.. image:: https://img.shields.io/pypi/v/clique-blockchain.svg
:target: https://pypi.python.org/pypi/clique-blockchain/
:alt: Latest Version
.. image:: https://img.shields.io/pypi/status/clique-blockchain.svg
:target: https://pypi.python.org/pypi/clique-blockchain/
:alt: Project Status
.. image:: https://travis-ci.org/nicfit/Clique.svg?branch=master
:target: https://travis-ci.org/nicfit/Clique
:alt: Build Status
.. image:: https://img.shields.io/pypi/l/clique-blockchain.svg
:target: https://pypi.python.org/pypi/clique-blockchain/
:alt: License
.. image:: https://img.shields.io/pypi/pyversions/clique-blockchain.svg
:target: https://pypi.python.org/pypi/clique-blockchain/
:alt: Supported Python versions
.. image:: https://coveralls.io/repos/nicfit/Clique/badge.svg
:target: https://coveralls.io/r/nicfit/Clique
:alt: Coverage Status
Features
--------
Requirements
------------
* Python >= 3.4
* cryptography
* jwcrypto
Getting Started
----------------
.. code-block:: bash
# Note, replace <username> with your own.
$ git clone https://<username>@stash-eng-chn-sjc1.cisco.com/stash/scm/~adb/clique.git
$ cd clique/python3
# Using mkvirtualenv
$ mkvirtualenv -p python3 -r requirements/default.txt clique
# ... or virtualenv
$ virtualenv -p python3 /path/clique
$ source /path/clique/bin/activate
$ pip install -r requirements/default.txt
Installation
------------
The install the ``clique`` module and scripts, either system-wide or in a
virtualenv, use ``setup.py`` in the standard fashion.
.. code-block:: bash
# To install
$ ./setup.py install
$ clique examples authchain
.. note::
Developers should skip the install since testing requires pushing new
versions. See the developer section.
Development
-----------
To initialize the environment to run against your working copy use the
``develop`` command.
.. code-block:: bash
# To develop
$ ./setup.py develop
$ clique examples authchain
For running tests and performing other developer tasks more dependencies are
required.
.. code-block:: bash
# For running tests
$ pip install -r requirements/test.txt
# For running tests with coverage, tox, building docs, linting, etc
$ pip install -r requirements/dev.txt
Release History
===============
v0.2.3 (2017-02-05)
------------------------
Fix
~~~
- Fixed status badges (for PyPi package name change)
v0.2.2 (2017-02-05)
-------------------------
* Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Clique-blockchain-0.2.3.zip
(58.7 kB
view details)
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Clique-blockchain-0.2.3.zip.
File metadata
- Download URL: Clique-blockchain-0.2.3.zip
- Upload date:
- Size: 58.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70123c325c8b76faa3430aa2defd385a030a0b2a2c72a63c2acd3d857185825e
|
|
| MD5 |
a42eba82677eec8d958d17ebc1c7dd81
|
|
| BLAKE2b-256 |
15c36ad8d17decec844f7ef28fd462a317d3587abf9d26689e5dc9b2ffda2e16
|
File details
Details for the file Clique_blockchain-0.2.3-py3.5.egg.
File metadata
- Download URL: Clique_blockchain-0.2.3-py3.5.egg
- Upload date:
- Size: 55.0 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49ed235ae9447a022a54165c589f384c688c227fe2c73c1087310ad02c57b71e
|
|
| MD5 |
22b9b2fc48c1db41d233b47ef9385362
|
|
| BLAKE2b-256 |
3d03f546c2ef73fb764d361deb4eca6c09fdb78f266916907107f93f6b7918f4
|
File details
Details for the file Clique_blockchain-0.2.3-py2.py3-none-any.whl.
File metadata
- Download URL: Clique_blockchain-0.2.3-py2.py3-none-any.whl
- Upload date:
- Size: 28.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e9569053d1f2379f99e5d8a7cc4609a70736f68b3417656e5f6f1e9c7cabd7a
|
|
| MD5 |
6488f35aa8fbbd4e4b414d8c2c1d8f75
|
|
| BLAKE2b-256 |
7ac76b164123ec3054c90035864526eacdd927ad3efbb197214764ba97b9b3ba
|