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
Built Distribution
File details
Details for the file polyswarm-client-2.13.1.tar.gz
.
File metadata
- Download URL: polyswarm-client-2.13.1.tar.gz
- Upload date:
- Size: 75.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a83e96340db8ae480b48a7a1d221ebdae2a400febeadff814a1c323df81cc4bb |
|
MD5 | 5eb0cceb0ba7033f4f484542adf2f276 |
|
BLAKE2b-256 | 8a18874c00a5f056843739ed3af23e1fc76e77fac160a995aa51ab419a79efb2 |
File details
Details for the file polyswarm_client-2.13.1-py3-none-any.whl
.
File metadata
- Download URL: polyswarm_client-2.13.1-py3-none-any.whl
- Upload date:
- Size: 110.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8df4f97cb9ea325f6a027fbff36a3aa26f648165c277fe4d595b6fe8ec03a7ce |
|
MD5 | 0dd37a0411fafaf8b4a1e1bf5d98b7b7 |
|
BLAKE2b-256 | 72eb53b3d5953829caf5e1b4f1fbf220ac157d17ec7662c1565d86b4be3702c2 |