Skip to main content

Python library for communicating with the NiceHash API

Project description

myb-nicehash-api

An API client for the NiceHash API

Installation

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

pip3 install myb-nicehash-api

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

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

You can install this library with pip:

pip3 install .

Testing

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-nicehash-api-2.3.0.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

myb_nicehash_api-2.3.0-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file myb-nicehash-api-2.3.0.tar.gz.

File metadata

  • Download URL: myb-nicehash-api-2.3.0.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for myb-nicehash-api-2.3.0.tar.gz
Algorithm Hash digest
SHA256 d25617a4587421aa389c0bc2080ab2e6dd87e8886bf2f160b2c2a89d2657823a
MD5 af4b8350602d73f075b77ba8e16ec389
BLAKE2b-256 a542da1f09d74aac5e6cbb7195b122d7b8787504f1da2b9d8ec2debc1c0b7e3e

See more details on using hashes here.

File details

Details for the file myb_nicehash_api-2.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for myb_nicehash_api-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e8ea5107e338c91307db90bf0bbde7f548c35ddc86b8d186cc36eae71a33792
MD5 4b496725e2e0fcd659f089ae93fd4702
BLAKE2b-256 488260ec9487eecd385707e5aaf0ca6446b1b007374717e8ad971314f6852e8f

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