Skip to main content

Client library to simplify interacting with a polyswarmd instance

Project description

PolySwarm Client Library

pipeline status coverage report Read the Docs Build Status

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's README.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.11.5.tar.gz (75.6 kB view details)

Uploaded Source

Built Distribution

polyswarm_client-2.11.5-py3-none-any.whl (110.5 kB view details)

Uploaded Python 3

File details

Details for the file polyswarm-client-2.11.5.tar.gz.

File metadata

  • Download URL: polyswarm-client-2.11.5.tar.gz
  • Upload date:
  • Size: 75.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.7.0 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.3

File hashes

Hashes for polyswarm-client-2.11.5.tar.gz
Algorithm Hash digest
SHA256 bac1c494eae7cb35d51ff7663ee1e5034c6a0cd5d3e243b61ae9cd9de3881c5d
MD5 0e77e09e537f320ba5bccc0dec8cf8c8
BLAKE2b-256 085d6d4142dd81a72e955de4b87118f0d099bee085f7af4ab13e94721383b198

See more details on using hashes here.

File details

Details for the file polyswarm_client-2.11.5-py3-none-any.whl.

File metadata

  • Download URL: polyswarm_client-2.11.5-py3-none-any.whl
  • Upload date:
  • Size: 110.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.7.0 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.3

File hashes

Hashes for polyswarm_client-2.11.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e7c8e2effbdfa724f8f144ecc5c2194f25e57601527b0e585c55b0e46e5175a0
MD5 be2cb7a25af90e234f5b9270cf1bc2a9
BLAKE2b-256 ce15059f3e597a2d6d381fdce75a21187b9968338fde86614d51efaf082cc5ae

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page