Skip to main content

Python SDK for the Serenity digital asset risk API

Project description

Serenity SDK - Python

Introduction

The Serenity digital asset risk platform exposes all functionality via an API -- currently REST only.

Although it's possible to call the API with simple HTTP client code in most any modern language, there are conventions that need to be followed -- especially for authentication and authorization -- and to make it easier we have provided this lightweight SDK.

Installation

Installation for Python 3.x users is very simple using pip:

pip install serenity.sdk.python

Building locally

If you wish to run the local setup you can use the provided Makefile, however this is primarily aimed for internal Cloudwall use; we recommend clients use pip install.

# set up a virtual environment with dependencies
make venv

# check code
make link

# run tests
make test

# publish latest code to PyPi (token required)
make publish

# clean up
make clean

Learning more

At this time the API and its documentation are only available to members of our private beta, via their personal Serenity Developer Portal, e.g. https://developer.$client.cloudwall.network.

Project details


Download files

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

Source Distribution

serenity.sdk.python-0.8.8.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

serenity.sdk.python-0.8.8-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

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