# hyperledger-py
[](https://travis-ci.org/yeasy/hyperledger-py) [](https://pypi.python.org/pypi/hyperledger)
Python client for [Hyperledger](https://github.com/hyperledger/hyperledger).
This project will follow the [Hyperledger API](https://github.com/hyperledger/fabric/tree/master/docs/API) to let users use those APIs by importing a simple python library. e.g.,
`python >>> from hyperledger.client import Client >>> c = Client(base_url="http://127.0.0.1:7050") >>> c.peer_list() {u'peers': [{u'type': 1, u'ID': {u'name': u'vp1'}, u'address': u'172.17.0.2:7051'}, {u'type': 1, u'ID': {u'name': u'vp2'}, u'address': u'172.17.0.3:7051'}]} `
If you want a quick start with a hyperledger cluster without any local configuration and vagrant setup, please use this [compose-file](https://github.com/yeasy/docker-compose-files#hyperledger).
## Installation The latest stable version is always available on PyPi. `sh $ pip install hyperledger --upgrade `
The latest dev version is on [github](https://github.com/yeasy/hyperledger-py). `sh $ git clone https://github.com/yeasy/hyperledger-py.git $ cd hyperledger-py $ pip install -r requirements.txt $ python setup.py install `
## Change Logs See [change log](docs/change_log.md).
## Documentation The source is available in the [docs](docs) directory.
[API Usage](docs/api.md)
## Testing All testing code is under [tests](tests) directory.
After installation, you can run a quick full-functional testing (deploy, invoke, query chaincode, etc.) with your hyperledger cluster by
`python $ python tests/function_test.py HYPERLEDGER_API_URL `
## Contribution Please see [Contribution](CONTRIBUTION.md) and [Contribution Instruction](docs/contribution.md).
## Acknowledgement
This work is highly inspired by the following projects:
[Hyperledger](https://github.com/hyperledger/hyperledger)
[requests](https://pypi.python.org/pypi/requests)
[docker-py](https://github.com/docker/docker-py)
## License
This work is licensed under the Apache License, Version 2.0. See [LICENSE](LICENSE) for full license text.
Metadata
Release files for hyperledger 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hyperledger-0.1.5.tar.gz | 14.3 kB | Without provenance | Details for hyperledger-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hyperledger-0.1.5-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for hyperledger-0.1.5-py2.py3-none-any.whl |
Total release size: 41.1 kB
Release files / hyperledger-0.1.5.tar.gz
| Download URL | hyperledger-0.1.5.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d41714410961a33be8ac694bb7ed86065f88d7601dd34c64c4990e290db8dd3c
|
|
BLAKE2b-256 checksum How to use checksums |
3e0c9b32bee8af9daa210f0c489529b91d6fa01493c9cc5e5e5bacc17142774e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / hyperledger-0.1.5-py2.py3-none-any.whl
| Download URL | hyperledger-0.1.5-py2.py3-none-any.whl |
|---|---|
| Size | 26.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
098e36862cef35c5d31aa605dae265d6355fc90949b8b57224df782be6f98c9b
|
|
BLAKE2b-256 checksum How to use checksums |
0e8aab7bd37d17129ae801e0a1b193bf4cf8919bb28de8b041d798bfb9e8d491
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for hyperledger 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.