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-fastby following the instructions in the project'sREADME.mdfile. - Delete the cassette files.
- Re-run all tests
Metadata
Release files for polyswarm-client 2.13.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| polyswarm-client-2.13.3.tar.gz | 76.3 kB | Without provenance | Details for polyswarm-client-2.13.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| polyswarm_client-2.13.3-py3-none-any.whl | Python 3 | none | any | Details for polyswarm_client-2.13.3-py3-none-any.whl |
Total release size: 187.1 kB
Release files / polyswarm-client-2.13.3.tar.gz
| Download URL | polyswarm-client-2.13.3.tar.gz |
|---|---|
| Size | 76.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
10c78353652faf51b8f98e61651e4beba59b72f4e281fd7475116677f514a4c9
|
|
BLAKE2b-256 checksum How to use checksums |
fbdb5c7543e251db29dc8d18d2aef99318506de9a71ee9f953004f3424e35e9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|
Release files / polyswarm_client-2.13.3-py3-none-any.whl
| Download URL | polyswarm_client-2.13.3-py3-none-any.whl |
|---|---|
| Size | 110.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc022b7579a1b51a4e10145c3d5b6e9a61894b6d512e63e34f0485b8e468f028
|
|
BLAKE2b-256 checksum How to use checksums |
b2213a6914cac96f65927810729de29bd8c0a074e9bebd66c2ae25dfe217e3e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|
Security for polyswarm-client 2.13.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.