Python wrapper for SynapseFI API
Refer to samples.md and our API documentation for examples.
$ pip install synapsepy
Clone repo
$ git clone https://github.com/SynapseFI/SynapsePy.git
Install requirements
$ cd SynapsePy
$ pip install -r requirements.txt
import synapsepy
$ pip install twine
Update version number in setup.py:
setup(
name='synapsepy',
...
version='0.0.15' # NEW VERSION NUMBER GOES HERE
...
)
Create the source distribution by running setup.py using the following command:
$ python setup.py sdist
Replace {{VERSION NUMBER}}
with the new version number in the following command then run:
$ twine upload dist/synapsepy-{{VERSION NUMBER}}.tar.gz
Run the following command from the root package directory
$ python -m unittest discover -s synapsepy.tests -p '*tests.py'