Skip to main content

Python library for communicating with the Coinbase Pro API

Project description

myb-coinbase-pro-api

An API client for the Coinbase Pro API

Installation

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

pip3 install myb-coinbase-pro-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-pro-api.git
cd myb-coinbase-pro-api

You can install this library with pip:

pip3 install .

Testing

This project makes use of the Coinbase Pro "Sandbox" API for tests

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 Pro Sandbox 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.

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.

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

myb-coinbase-pro-api-1.0.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

myb_coinbase_pro_api-1.0.0-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file myb-coinbase-pro-api-1.0.0.tar.gz.

File metadata

  • Download URL: myb-coinbase-pro-api-1.0.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1

File hashes

Hashes for myb-coinbase-pro-api-1.0.0.tar.gz
Algorithm Hash digest
SHA256 92328b90c4bcd5e13d910a9deb37de15370e6d9d6834f42b63f656a8a10bf9a3
MD5 7fffa7cc0b3a336ef5b442e266721914
BLAKE2b-256 0a1801080a2c13b0ffb5ddd7c72577ab49269336ce0831c93567a7fe3c0f20f9

See more details on using hashes here.

File details

Details for the file myb_coinbase_pro_api-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: myb_coinbase_pro_api-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1

File hashes

Hashes for myb_coinbase_pro_api-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d1724036042a07dad9b15434f377cd58787bf03f1bb8765b994eed3695a7d028
MD5 f737ec3b3d825ff55cc8b0733ffd3ec1
BLAKE2b-256 7fbfa04b0d49493d47ec49be4519b86e9d107dcb86ccd0fd84839db793ce2935

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