Skip to main content

python-ethermine

What it is

An API Wrapper for the Ethermine API. Easily allows you to create a client and access the data for your mining operation

How to use it

from python_ethermine import EthermineClient

WORKER = "sanyi"
ETH_ADDRESS = "0xEA674fdDe714fd979de3EdF0F56AA9716B898ec8"

client = EthermineClient()

# Miner Tests
dashboard = client.Miner.get_dashboard(address=ETH_ADDRESS)
history = client.Miner.get_history(address=ETH_ADDRESS)
payouts = client.Miner.get_payouts(address=ETH_ADDRESS)
rounds = client.Miner.get_rounds(address=ETH_ADDRESS)
settings = client.Miner.get_settings(address=ETH_ADDRESS)
statistics = client.Miner.get_statistics(address=ETH_ADDRESS)

# Worker tests
all_worker_stats = client.Worker.get_all_worker_stats(address=ETH_ADDRESS)
individual_worker_stats = client.Worker.get_individual_worker_stats(address=ETH_ADDRESS, worker=WORKER)
individual_historical_worker_stats = client.Worker.get_individual_historical_worker_stats(address=ETH_ADDRESS, worker=WORKER)

# Pool stats
basic_pool_stats = client.Pool.get_basic_pool_stats()
mined_blocks_stats = client.Pool.get_mined_blocks_stats()
network_statistics = client.Pool.get_network_statistics()
server_hashrate_stats = client.Pool.get_server_hashrate_stats()

The latest version

The current version of this program is written for Python 3.8

Licensing

Copyright 2021 Carl Argabright

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Contact

carl.argbright@gmail.com

Release files for python-ethermine 0.0.2

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

Source distribution (sdist)

Source distribution for python-ethermine 0.0.2
File Size Uploaded
python_ethermine-0.0.2.tar.gz 10.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-ethermine 0.0.2
File Interpreter ABI Platform
python_ethermine-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 28.3 kB

Release files / python_ethermine-0.0.2.tar.gz

Download URL python_ethermine-0.0.2.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5ad89261a061af0ed19c2c456aa042d0b8dbf2ff8aab26e8327fb5303b3fdf48
BLAKE2b-256 checksum
How to use checksums
0bf0b4e092339318add45a14831d2676fdf3702a6160ae86a64cd44b79fa5ad0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.10

Release files / python_ethermine-0.0.2-py3-none-any.whl

Download URL python_ethermine-0.0.2-py3-none-any.whl
Size 18.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
43af1810289ade1a9a3a1c1991d8c8f66de46e91feed1709e217e0c728d6c335
BLAKE2b-256 checksum
How to use checksums
710987c32bf192311d19f84fbdd231e80b63edd5c6de5c7ddaaa552e2a55d8a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

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