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.1.tar.gz (18.6 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.1-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cmrelayinfo-0.1.1.tar.gz
  • Upload date:
  • Size: 18.6 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.1.tar.gz
Algorithm Hash digest
SHA256 e00d759ceb5bba85796fe79e39458f7552ad48ceadf66700d773d1085d59abcf
MD5 24d0d657a3ede2bfed25e12cd7cad0c8
BLAKE2b-256 1fbd9d3e7601e736dc9890ecd701e2edf15c4af4d7d37590fbff170d07b685fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for cmrelayinfo-0.1.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: cmrelayinfo-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ac86fa51adc3faf241f6c0bf28076e0f22895fdcf3eadd9b8b98e27a081eefed
MD5 799dd84b4bfde05ee29466a9f32cfec9
BLAKE2b-256 95a507ba41bb903dada4292f2ecb9fc6486315692bc8041f3a66efa445083426

See more details on using hashes here.

Provenance

The following attestation bundles were made for cmrelayinfo-0.1.1-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