Skip to main content

cmrelayinfo

Report chatmail relay capabilities: iroh relay URL, TURN server, maxsmtprecipients and storage quota.

For each relay, cmrelayinfo logs in with a chat profile that is created once and then cached under ~/.cache/cmrelayinfo/, so repeated runs do not create new accounts on relays.

Usage

cmrelayinfo                     # all relays from chatmail.at/relays (cached)
cmrelayinfo nine.testrun.org    # one specific relay
cmrelayinfo 116.203.128.59      # relay given as IP address
cmrelayinfo --json --refresh    # jsonlines output, refetch relay list

Installation

uv tool install cmrelayinfo

Development

uv venv && uv pip install -e . --group test
uv run pytest

CI checks come from the shared chatmail/workflows repository; run them locally with uvx ruff check . and uvx ruff format --check .

To release, run the shared release script from a checkout of chatmail/workflows:

python ../workflows/scripts/make_new_release.py

It runs the checks, tests the built wheel, writes the CHANGELOG.md entry with git-cliff, then tags and pushes. The release.yml workflow publishes to PyPI via trusted publishing (OIDC).

Download files

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

Source Distribution

cmrelayinfo-0.1.0.tar.gz (18.5 kB view details)

Uploaded Source

Built Distribution

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

cmrelayinfo-0.1.0-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file cmrelayinfo-0.1.0.tar.gz.

File metadata

  • Download URL: cmrelayinfo-0.1.0.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for cmrelayinfo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bbf0b01860f6fcc8e372a7e643bb3d6ae4abdbf22f1eee3149fe60996a8e7ae5
MD5 7027cc4b249feb9b62a8134532ff762f
BLAKE2b-256 78d7058a054411d410492672e42c0b7303e948ba1aeab7799d5964d8a11ea7f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for cmrelayinfo-0.1.0.tar.gz:

Publisher: release.yml on hpk42/cmrelayinfo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cmrelayinfo-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cmrelayinfo-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for cmrelayinfo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b03f6d8502e80df812d1ef0f3e0bc284b240cf2e0aca9ae054a89eaebb26f8f
MD5 5846c517660550971747a4724a162f1a
BLAKE2b-256 167a96cba4db973d2123486a3d024723cb3afe876c2ec2b39a63226ab06d8d93

See more details on using hashes here.

Provenance

The following attestation bundles were made for cmrelayinfo-0.1.0-py3-none-any.whl:

Publisher: release.yml on hpk42/cmrelayinfo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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