Skip to main content

Python Version from PEP 621 TOML

Warnet

Monitor and analyze the emergent behaviors of Bitcoin networks.

Major Features

  • Launch a bitcoin network with a specified number of nodes connected to each other according to a network topology.
  • Run scenarios of network behavior across the network which can be programmed using the Bitcoin Core functional test_framework language.
  • Collect and search data from nodes including log files and p2p messages.
  • Monitor and visualize performance data from Bitcoin nodes.
  • Connect to a large network running in a remote cluster, or a smaller network running locally.
  • Add a Lightning Network with its own channel topology and payment activity.

Documentation

Quick Start

1. Create a python virtual environment

python3 -m venv .venv
source .venv/bin/activate

2. Install Warnet

pip install warnet

3. Set up dependencies

Warnet will ask which back end you want to use, check that it is working, and install additional client tools into the virtual environment.

warnet setup

4. Create a project and network

Warnet will create a new folder structure containing standard scenario and plugin files, and prompt for details about a network topology to create. Topology details include number of Bitcoin nodes, which release versions or custom images to deploy and how many random graph connections to start each node with.

warnet new /my/work/stuff/projectname

5. Deploy the network

warnet deploy /my/work/stuff/projectname/networks/networkname

6. Run experiments

For example, you can start mining blocks...

warnet run /my/work/stuff/projectname/scenarios/miner_std.py

... and then observe network connectivity and statistics in your browser:

warnet dashboard

7. Shut down the network

warnet down

8. Customize

Read the docs and learn how to write your own scenarios or add plugins to your network. Configure individual nodes in the network by editing the network.yaml file or configure defaults for all nodes in the network by editing node-defaults.yaml. Once your network is running use Warnet CLI commands to interact with it.

warnet-art

Metadata

Release files for warnet 1.2.0

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

Source distribution (sdist)

Source distribution for warnet 1.2.0
File Size Uploaded Provenance Actions
warnet-1.2.0.tar.gz 676.5 kB With provenance Details for warnet-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for warnet 1.2.0
File Interpreter ABI Platform Actions
warnet-1.2.0-py3-none-any.whl Python 3 none any Details for warnet-1.2.0-py3-none-any.whl

Total release size: 1.2 MB

Release files / warnet-1.2.0.tar.gz

Download URL warnet-1.2.0.tar.gz
Size 676.5 kB
Tags Source
SHA-256 checksum
How to use checksums
29240dad655df4ebe564a15398fb313616820a00502e89c4d4016c32adb2cb0b
BLAKE2b-256 checksum
How to use checksums
a3414281b30ce93887a0bcae45cb982c7e531433d5563a26a47d320f19233e89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Release files / warnet-1.2.0-py3-none-any.whl

Download URL warnet-1.2.0-py3-none-any.whl
Size 516.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e2c4b6e09230931d1eb2650f79609bbfd228a0baa4d25da25dd0041ce16a08b4
BLAKE2b-256 checksum
How to use checksums
4f9d925a7b984e1ceea322b1d3da387f95955cf3c0276e89ef3a8f7d12d68b62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Security for warnet 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for warnet-1.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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