Skip to main content

Animica blockchain CLI and client libraries — node, wallet, miner, contracts, and useful-work jobs.

Project description

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.

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

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

animica-0.1.58.tar.gz (4.1 MB view details)

Uploaded Source

Built Distribution

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

animica-0.1.58-py3-none-any.whl (8.7 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for animica-0.1.58.tar.gz
Algorithm Hash digest
SHA256 939117aec12207bb25d8addf5af51083ff62f6710b11112f8c2fc90e11418a36
MD5 519b04680fe9aa3f0a5a67be225a2de1
BLAKE2b-256 5733e8eedda998ab56feeb5e295cd9fdde14774903526a364bab93a67bc87758

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for animica-0.1.58-py3-none-any.whl
Algorithm Hash digest
SHA256 962d0b2f1ea479c63a2b9bc0ee692142314ea7ed58960a51efaded2c78371416
MD5 f4259362d9876ded855797c56fdb0155
BLAKE2b-256 22cb755757bf47f1efb8ef84f569bba720a6406ced7fa4859a661ffa8c51cef2

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