Skip to content

Reference implementation of the PeerAssets protocol.

License

Notifications You must be signed in to change notification settings

jommy99/pypeerassets

This branch is 2 commits ahead of PeerAssets/pypeerassets:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2daa3fa · Jan 3, 2022
May 23, 2018
Oct 24, 2018
Dec 26, 2021
Apr 12, 2019
May 21, 2018
May 30, 2019
Jan 13, 2019
Aug 3, 2018
Jun 11, 2018
May 30, 2019
Feb 16, 2017
Jan 3, 2022

Repository files navigation

pypeerassets

License PyPI Build Status Coverage Status

Official Python implementation of the PeerAssets protocol.

pypeerassets aims to implement the PeerAssets protocol itself and to provide elementary interfaces to underlying blockchain(s).

Examples

import pypeerassets as pa

provider = pa.Explorer(network='tppc')

deck = pa.find_deck(provider, 'b6a95f94fef093ee9009b04a09ecb9cb5cba20ab6f13fe0926aeb27b8671df43', 1, True)

print(deck.to_json())

Running tests

pytest-3 -v test/

VirtualEnv Development

Create a python3 virtualenv in the root directory:

> virtualenv -p python3 venv
...
> source venv/bin/activate
(venv) > pip install -r requirements.txt
...
(venv) > pip install -r requirements-dev.txt
...
(venv) > pytest
...

pypeerassets is lovingly crafted with python3 all around the world ❤️ 🐍 🌐

About

Reference implementation of the PeerAssets protocol.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%