Skip to main content

Phoenix Miner RPC API wrapper

Project description

python-phoenix-miner

What it is

An API Wrapper for the Phoenix miner RPC socket client API

How to use it

from python_phoenix_miner import PhoenixClient

miner_name = "Miner 01"
ip = '192.168.1.1'
port = 3333

client = PhoenixClient(miner_name="miner01", ip=ip, port=port)

basic_miner_stats = client.Miner.get_stats()
extended_miner_stats = client.Miner.get_extended_stats()
print("Done")

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

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

python_phoenix_miner-0.0.2.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_phoenix_miner-0.0.2-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file python_phoenix_miner-0.0.2.tar.gz.

File metadata

  • Download URL: python_phoenix_miner-0.0.2.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.6

File hashes

Hashes for python_phoenix_miner-0.0.2.tar.gz
Algorithm Hash digest
SHA256 155f64db31240ca481fe80569728c27df4f0241f8bc5b4416fb57cbbbf9851db
MD5 ef37f6aedf7309d092a158e2e3f203a1
BLAKE2b-256 e363e8e3d79670d723d12741fdc0ba1f9fb9a0e3ccd8417343c32be9d7f87c55

See more details on using hashes here.

File details

Details for the file python_phoenix_miner-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: python_phoenix_miner-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.6

File hashes

Hashes for python_phoenix_miner-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fe1fe00fee965468289eb75792d888061f1d6486b6adaf9aa5fb10e4e1a4e236
MD5 5ea560aa4337f3b6233e780d488fbede
BLAKE2b-256 e325aa10aafaa9c331b0678f019e8a365a92f82f3cf1b30c54d93a99aa9fbaa6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page