Skip to main content

Animica Python toolbox

This directory packages the Python utilities that live under animica/, including data-availability helpers, mempool policy tests, and the stratum pool prototype. Installing it as a Python package allows tools and tests elsewhere in the repo to import animica modules directly.

Mine & earn — one command

pip install --upgrade animica

# Runs EVERYTHING, bound to your Animica address (auto-creates a wallet if you
# have none): SHA3 mining + ENA useful-work, plus model training + serving on a
# GPU, plus Bittensor serving on a qualified GPU (>=16 GB VRAM). Joins the pool
# and the one global model. Every reward — PoW, useful-work, training, serving,
# Bittensor — pays out in ANM to your address.
animica up

animica up --plan          # show exactly what will run on this machine first
animica up --pool-host pool.animica.org --pool-id <pool>   # target a pool

animica up advertises miner version 1.0.0; the pool rejects older miners, so keep it upgraded. Qualified GPUs (>=16 GB VRAM) also serve Bittensor, with all earnings bound to ANM (no external TAO/XMR payout). Full details: https://pool.animica.org/mining-onboard

Component commands (advanced — animica up runs these for you)
animica miner dual-mine <anm-address> --pool-host pool.animica.org  # PoW only
animica ena worker start --worker-id <id>                           # useful-work
animica ena pool serve <pool-id> --worker-id <id>                   # serve a model
animica bittensor overview                                          # Bittensor pool status

Installation

From the repository root you can install the package in editable mode:

python -m pip install -e "python[operator,dev]"

Optional extras

  • Base package: now includes the backend runtime dependencies required by rpc.server, the ENA node, and the Stratum pool (fastapi, uvicorn[standard], prometheus-client).
  • backend, ena, stratum, operator: compatibility aliases kept for operator/install scripts and older docs. They resolve to the same runtime dependency set as the base package.
  • dev: pytest, mypy, ruff, respx, and other local development tools.

Example with extras:

python -m pip install -e "python[stratum,dev]"

Stratum pool runtime

Preferred operator path:

animica stratum up --daemon --profile asic_sha256 --rpc-url http://127.0.0.1:8545/rpc
animica stratum status
animica stratum down

Lower-level entrypoint:

python -m animica.stratum_pool --profile asic_sha256

Validation helpers

The repo now ships executable smoke helpers for the repaired setup/runtime path:

./scripts/smoke_backend_imports.sh
./scripts/smoke_ena.sh
./scripts/smoke_stratum.sh
./scripts/smoke_setup_install.sh

Download files

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

Source Distribution

animica-8.4.3.tar.gz (7.7 MB view details)

Uploaded Source

Built Distribution

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

animica-8.4.3-py3-none-any.whl (8.3 MB view details)

Uploaded Python 3

File details

Details for the file animica-8.4.3.tar.gz.

File metadata

  • Download URL: animica-8.4.3.tar.gz
  • Upload date:
  • Size: 7.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for animica-8.4.3.tar.gz
Algorithm Hash digest
SHA256 93d886212fc570730e68ef0c20712d5ab7c6f79750ce1e9a40d839a899a5d2c8
MD5 81eee255b1e8398768e17ccc2edf9a9e
BLAKE2b-256 076781252391361186a55dcfb7b6daf39e49dc50d4fdf63548cc1bf4fa14c45d

See more details on using hashes here.

File details

Details for the file animica-8.4.3-py3-none-any.whl.

File metadata

  • Download URL: animica-8.4.3-py3-none-any.whl
  • Upload date:
  • Size: 8.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for animica-8.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6e1b4ca08f850eb777118d4848ad6c5333fe0d93f42b1b8cdf6df91ee762dd7d
MD5 569c8f7c504d9267db7e71968638fe71
BLAKE2b-256 d623c35983f812db537327db7a70712e2a9e7b46ef4661f1eff546ad55ac5020

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

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