Skip to main content

myb-celsius-network-api

An API client for the Celsius Network (Wallet) API

Installation

The package is availble via PyPi and can be installed with the following command:

pip3 install myb-celsius-network-api

To install it from the repo, clone the repo and cd into the directory:

git clone https://github.com/mine-your-business/myb-celsius-network-api.git
cd myb-celsius-network-api

You can install this library with pip:

pip3 install .

Testing

Celsius Network offers a number of different "partner" integrations. The one this library leverages is the "Omnibus Treasury" partnership which is documented here.

Instructions on how to acquire a partner token are described in that document and it links to a guide on generating an API key.

Postman Docs for their API can be found here.

Before tests can be run, a local_env_vars.py file needs to be created in the tests folder. You can use the local_env_vars_example.py file as an example for the content - just be sure to fill out the API key and token data with actual secrets from Celsius Network.

To run tests, simply run the following command:

pytest --verbose

To print output of tests, run the following:

pytest --verbose -s

Releases

Releases should follow a Semantic Versioning scheme.

When changes have been made that warrant a new release that should be published, modify the __version__ in setup.py

After the change is merged to the main branch, go to releases and Draft a new release. The Tag version should follow the pattern v1.0.0 and should Target the main branch.

The Release title should not include the v from the tag and should have a reasonably detailed description of the new release's changes.

Once the release has been published, the .github/workflows/python-publish.yml GitHub Actions Workflow should trigger and automatically upload the new version to PyPi]pypi using GitHub secrets credentials stored with the Mine Your Business GitHub Organization.

Metadata

Release files for myb-celsius-network-api 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for myb-celsius-network-api 1.0.0
File Size Uploaded Provenance
myb-celsius-network-api-1.0.0.tar.gz 16.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for myb-celsius-network-api 1.0.0
File Interpreter ABI Platform
myb_celsius_network_api-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 32.4 kB

Release files / myb-celsius-network-api-1.0.0.tar.gz

Download URL myb-celsius-network-api-1.0.0.tar.gz
Size 16.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f6b93c813c980ed138ed35b3536be404ca9d22fd4563fdd04cac69a494cad350
BLAKE2b-256 checksum
How to use checksums
b10a89374c95a65ee0eb9f9dc735400fbaadd2a0aab3a6b0fa731ab1446e4120
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

Release files / myb_celsius_network_api-1.0.0-py3-none-any.whl

Download URL myb_celsius_network_api-1.0.0-py3-none-any.whl
Size 16.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57bf4982180ccc27d7d9d569eb25fc016dd8553fa2e20eabc0a543adb934ade5
BLAKE2b-256 checksum
How to use checksums
079a92d841dc28cd23d3982b47a63fbb40b6e8cddf3058bcaa676a95ac4f695c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

Security for myb-celsius-network-api 1.0.0

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page