Python wrapper for SynapseFI API
Refer to samples.md and our API documentation for examples.
$ pip install synapsepyClone repo
$ git clone https://github.com/SynapseFI/SynapsePy.gitInstall requirements
$ cd SynapsePy
$ pip install -r requirements.txtimport synapsepy$ pip install twineUpdate 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 sdistReplace {{VERSION NUMBER}} with the new version number in the following command then run:
$ twine upload dist/synapsepy-{{VERSION NUMBER}}.tar.gzRun the following command from the root package directory
$ python -m unittest discover -s synapsepy.tests -p '*tests.py'