Client library to simplify interacting with a polyswarmd instance
Project description
PolySwarm Client Library
Overview
For the convenience of those who wish to join the PolySwarm marketplace, this is a client library to simplify interacting with a polyswarmd instance from your Python code.
It includes:
- abstract classes for ambassador, arbiter, and microengine implementations
- exemplar ambassador, arbiter, and microengine implementations
- helper classes
For important changes releases, see the Release History.
Installation
You need python3 >= 3.6.5 and pip >= 20.0. Then use pip to install polyswarm-client.
pip install polyswarm-client
Documentation
We have extensive documentation on how to use this package available in our docs.
For Developers
Running Tests
Install all app dependencies:
pip install -rrequirements.txt
Install all test dependencies:
pip install -rrequirements-test.txt
Run all tests:
pytest
Updating VCR cassettes
- Run
polyswarmd-fast
by following the instructions in the project'sREADME.md
file. - Delete the cassette files.
- Re-run all tests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
polyswarm-client-2.13.2.tar.gz
(76.3 kB
view hashes)
Built Distribution
Close
Hashes for polyswarm_client-2.13.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ddd932a85186dcf22c4d6249a05579a1a2cd5975bd99916c5efe2c193acd158 |
|
MD5 | dc9c9339a5e0e6b4ec9d782b57831db2 |
|
BLAKE2b-256 | 5afb79e3ec30af30d170f1fe2230061da9a3e5e03b250ed35e5021035cf175a5 |