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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for polyswarm-client, version 2.13.0
Filename, size File type Python version Upload date Hashes
Filename, size polyswarm_client-2.13.0-py3-none-any.whl (110.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size polyswarm-client-2.13.0.tar.gz (75.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page