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.13.3.tar.gz (76.3 kB view details)

Uploaded Source

Built Distribution

polyswarm_client-2.13.3-py3-none-any.whl (110.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: polyswarm-client-2.13.3.tar.gz
  • Upload date:
  • Size: 76.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for polyswarm-client-2.13.3.tar.gz
Algorithm Hash digest
SHA256 10c78353652faf51b8f98e61651e4beba59b72f4e281fd7475116677f514a4c9
MD5 f70dd08f158b02824a1f46438e23cb2d
BLAKE2b-256 fbdb5c7543e251db29dc8d18d2aef99318506de9a71ee9f953004f3424e35e9b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: polyswarm_client-2.13.3-py3-none-any.whl
  • Upload date:
  • Size: 110.8 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for polyswarm_client-2.13.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bc022b7579a1b51a4e10145c3d5b6e9a61894b6d512e63e34f0485b8e468f028
MD5 ca730834fae69521ae96a8aafc4aa23d
BLAKE2b-256 b2213a6914cac96f65927810729de29bd8c0a074e9bebd66c2ae25dfe217e3e0

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