Skip to content

dragonchain/dragonchain-sdk-python

Repository files navigation

Latest PyPI version Build Status Test Coverage Python Version Support Code Style Black License

Banana Index

Intro

This is the Python 3 SDK for interacting with a dragonchain. It provides functionality to be able to interact with a dragonchain through a simple sdk with minimal configuration needed.

Documentation

All documentation for this SDK can be found here

Installation

Windows note: If running on a Windows computer, for the following section, you will probably have to replace python3 with python in the commands below depending on how python3 was installed on your computer.

First ensure that you have python3 installed on your machine.

The easiest way to install this repository is with pip. Simply run:

python3 -m pip install -U dragonchain-sdk

You can also install this package from source. To do so, get the source code (via git clone like git clone https://github.com/dragonchain/dragonchain-sdk-python.git or simply downloading/extracting a source tarball from releases), then navigate into the root project directory. Now ensure that you have pip installed and you can install all the requirements for this project with:

python3 -m pip install -U -r requirements.txt

Once these requirements successfully install, run:

./run.sh build
sudo ./run.sh install

On windows, simply replace the above 2 commands with:

python setup.py build
python setup.py install

Configuration

Please view the docs for configuration

Contributing

Dragonchain is happy to welcome contributions from the community. You can get started on github.