Skip to content

Instantly share code, notes, and snippets.

@xeroc
Created August 10, 2018 11:56
Show Gist options
  • Save xeroc/45c053d1cc6f6c384f46b34a7f899eb7 to your computer and use it in GitHub Desktop.
Save xeroc/45c053d1cc6f6c384f46b34a7f899eb7 to your computer and use it in GitHub Desktop.

Python Library for Graphene

Stable

docs master Travis master codecov

PyPI PyPI PyPI

Develop

docs develop Travis develop codecov develop

Installation

Install with pip:

$ sudo apt-get install libffi-dev libssl-dev python-dev
$ pip3 install graphenelib

Manual installation:

$ git clone https://github.com/xeroc/python-graphenelib/
$ cd python-graphenelib
$ python3 setup.py install --user

Dependencies

Some dependencies are not required for parts of the library to run properly. However these modules require some additional libraries to be present:

  • graphenebase.bip38
    • pycrypto==2.6.1
    • scrypt==0.7.1 (to speedup scrypt hashing)
  • graphenebase.memo
    • pycrypto==2.6.1

Upgrade

$ pip install --user --upgrade graphenelib

Documentation

Thanks to readthedocs.io, the documentation can be viewed online

Documentation is written with the help of sphinx and can be compile to html with:

cd docs
make html

Licence

MIT, see LICENCE.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment