Info: | See our website for more information. See glitter-sdk-py for the latest source. |
---|---|
Documentation: | Available at glitter-sdk-py.readthedocs.io |
Author: | Glitter Protocol |
Table of Contents
glitter sdk is in the Python Package Index. This tutorial walks you through how to set up glitter-sdk-py for local development.
The glitter Python Driver depends on:
- Python 3.5+
- A recent Python 3 version of pip
- A recent Python 3 version of setuptools
We recommend using pip to install glitter_sdk on all platforms:
$ python3 -m pip install glitter_sdk
To get a specific version of glitter:
$ python3 -m pip install glitter_sdk==0.1.0
To upgrade using pip:
$ python3 -m pip install --upgrade glitter_sdk
You can install all dependencies automatically with the following command:
$ python3 -m pip install glitter_sdk[requests]
If you’d rather install directly from the source (i.e. to stay on the bleeding edge), install the C extension dependencies then check out the latest source from GitHub and install the driver from the resulting tree:
$ git clone https://github.com/glitternetwork/glitter-sdk-py glitter-sdk-py
$ cd glitter-sdk-py/
$ python3 setup.py install