Skip to main content

mycelium-client

This is the official reference implementation of the Mycelium client software, written in Python. It comes with a library for Python applications, as well as a CLI for end-users.

Usage

As a CLI

In order to use the Mycelium client as a CLI, you need to install the mycelium-client[cli] variant:

pip3 install mycelium-client[cli]

Once that's done, you can get help information with mycelium-client --help:

$ mycelium-client --help
Usage: mycelium-client [OPTIONS] [COMMAND] [ARGS]...

Options:
  --version   Show the version and exit.
  -h, --help  Show this message and exit.

Commands:
  fetch
  show

As a Python library

The Mycelium client includes experimental support for use as a Python library without installing the CLI dependencies (this is what's supplied with the normal mycelium-client package):

import mycelium_client as mycelium
mycelium.fetch_hash(asset_hash="abcdef123...", oak="http://example.com:8000/", use_tqdm=False, quiet=True, timeout=15) # Fetch a hash.

mycelium.show_entries_md(filter_hash="", oak="http://example.com:8000/") # Generate human-readable Markdown describing the current entries advertised by an Oak. Leave filter_hash blank to disable hash filtering; set to a hash to filter for it.

Make sure to use version pinning whenever you're writing code that depends on mycelium-client, as it has breaking changes frequently and is still very much not ready for production.

Metadata

Release files for mycelium-client 0.3.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 mycelium-client 0.3.0
File Size Uploaded
mycelium_client-0.3.0.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mycelium-client 0.3.0
File Interpreter ABI Platform
mycelium_client-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.0 kB

Release files / mycelium_client-0.3.0.tar.gz

Download URL mycelium_client-0.3.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
130312e149cea2f971ba4cbd26bf5c66544d55be99800538309beb7e8131aa9c
BLAKE2b-256 checksum
How to use checksums
c6588a710a2647ed647ecf1b6e470aa810a62e31be0bccebd650a4898fee61cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.16.5 cpython/3.14.4 HTTPX/0.28.1

Release files / mycelium_client-0.3.0-py3-none-any.whl

Download URL mycelium_client-0.3.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2345c0e7bb5b2eb31c45f28307965d9d2eec2e67304cabe72ac96aaa2c2a9622
BLAKE2b-256 checksum
How to use checksums
314b59563a8e0c5170c763b7dcda5592387bda09e418d4c76b822d76e3a2ebc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.16.5 cpython/3.14.4 HTTPX/0.28.1

Release history Release notifications | RSS feed

0.4.1

2 release files

0.4.0

2 release files

This release

0.3.0 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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