Skip to main content

myb-coinbase-api

An API client for the Coinbase API

Installation

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

pip3 install myb-coinbase-api

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

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

You can install this library with pip:

pip3 install .

Testing

This project makes use of the Coinbase API for tests. Unfortunately there does not appear to be a "Sandbox" API at this time for testing endpoints that require authentication. As such, this project does not have tests for those endpoints.

When tests requiring authentication are implemented, 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 data with actual secrets for API keys created on the Coinbase site.

To run tests, simply run the following command:

pytest --verbose

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 (or put these details in the description and simply have the version in the title).

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 using GitHub secrets credentials stored with the Mine Your Business GitHub Organization.

Metadata

Release files for myb-coinbase-api 1.1.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-coinbase-api 1.1.0
File Size Uploaded Provenance
myb-coinbase-api-1.1.0.tar.gz 16.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for myb-coinbase-api 1.1.0
File Interpreter ABI Platform
myb_coinbase_api-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 35.1 kB

Release files / myb-coinbase-api-1.1.0.tar.gz

Download URL myb-coinbase-api-1.1.0.tar.gz
Size 16.9 kB
Tags Source
SHA-256 checksum
How to use checksums
464f73b07e17a94f3b78102fd777bf72729fb100302e17ee4add23f261c0b7ab
BLAKE2b-256 checksum
How to use checksums
ab8b668d973170db7d7d2d9fcb5d7ca2c0acbdd3478b6af5ec51831013ac0059
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_coinbase_api-1.1.0-py3-none-any.whl

Download URL myb_coinbase_api-1.1.0-py3-none-any.whl
Size 18.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31985d98f5733f33738859d74dae4f0c3aeebad02e26a27e04ed1020645e5754
BLAKE2b-256 checksum
How to use checksums
716d47c0b894952b6e43a4e22c9f2fc78aa312e74dc04f1ef2e150cffea8b7fc
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-coinbase-api 1.1.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.1.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