Skip to main content

moonbeam

Find the NerdMiners on your network and read their vitals, from the terminal.

pip install moonbeam-miner
moonbeam

No dependencies. Standard library only, so the install cannot fail on someone else's package.

What it does

moonbeam            the miners it already knows, polled now
moonbeam scan       sweep this subnet and remember what answered
moonbeam watch      refresh until you stop it
moonbeam show <ip>  everything one miner reported

The first run has nothing saved, so it offers to scan. Anything that answers is remembered in ~/.moonbeam/miners.json.

  #   NAME             ADDRESS             HASHRATE     TEMP   ACCEPTED    UPTIME
  ------------------------------------------------------------------------------
  1   Moonbeam-01      192.168.1.42        486 GH/s     54°C     18,422     1d 2h
  2   Moonbeam-02      192.168.1.51              —         —         31         —
  3   192.168.1.77     192.168.1.77         offline

  2 miners answering · total 486 GH/s (1 did not report a hashrate)

A dash means the miner did not say

It does not mean zero, and it is never a plausible number standing in for one that never arrived. A fabricated hashrate that looks real is worse than a visible gap, because nothing tells you it is wrong. The summary line counts how many devices declined to report rather than quietly averaging them in.

What it talks to

ESP-Miner and AxeOS devices — NerdMiner, Bitaxe and relatives — answer on http://<ip>/api/system/info. Discovery probes every host on your /24 concurrently and keeps whatever responds with that shape.

Use it as a library

The polling core is separate from the terminal output, so a GUI can share it:

from moonbeam import scan, poll

for m in scan():
    print(m["alias"], m["hashrate"])

MIT licensed. Part of F-Keys.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

moonbeam_miner-1.0.0.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

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

moonbeam_miner-1.0.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file moonbeam_miner-1.0.0.tar.gz.

File metadata

  • Download URL: moonbeam_miner-1.0.0.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.13

File hashes

Hashes for moonbeam_miner-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8f6fa095c1acdb8211acba2d8ea8a6b9783e72e33007e7921516f4bbe36963c6
MD5 a4a90de0685ed47bae4c96306b63ca8c
BLAKE2b-256 d46a06abeadd4e192e133b75ca21ef03d6b734ca0ab01b96beb4518337b91d04

See more details on using hashes here.

File details

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

File metadata

  • Download URL: moonbeam_miner-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.13

File hashes

Hashes for moonbeam_miner-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0d8a02304125c2f03960c8cf2a933477ed4717f59fb863babdd8ebb09bb26593
MD5 26d8f64872f87eaf027fc9a7c3fbb203
BLAKE2b-256 68302e05471991855aed83e43358ccf40b07b9a8ecba7499e88457b58d8d058a

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.2

2 files

1.0.1

2 files

This release

1.0.0 This release

2 files

Supported by

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