Skip to main content

mindroom-nio

Build Status PyPI - Python Version codecov license Documentation Status #nio

This fork publishes the Matrix nio changes needed by MindRoom on a release schedule independent of upstream matrix-nio. It follows active upstream development closely and carries a focused set of additions, primarily bot-oriented E2EE behavior, reliability fixes, and Simplified Sliding Sync support that are not yet available in an upstream release. Generally useful changes are kept suitable for upstream contribution, while fork-specific packaging and policy remain clearly separated.

mindroom-nio is a fork of nio, a multilayered Matrix client library. The distribution name is mindroom-nio; the Python import name remains nio. The underlying base layer doesn't do any network IO on its own, but on top of that is a full-fledged batteries-included asyncio layer using aiohttp. File IO is only done if you enable end-to-end encryption (E2EE).

Documentation

The full API documentation for nio can be found at https://matrix-nio.readthedocs.io

Features

nio has most of the features you'd expect in a Matrix library, but it's still a work in progress.

  • ✅ transparent end-to-end encryption (EE2E)
  • ✅ encrypted file uploads & downloads
  • ✅ space parents/children
  • ✅ manual and emoji verification
  • ✅ custom authentication types
  • ✅ threading support
  • ✅ well-integrated type system
  • ✅ knocking, kick, ban and unban
  • ✅ typing notifications
  • ✅ message redaction
  • ✅ token based login
  • ✅ user registration
  • ✅ read receipts
  • ✅ live syncing
  • m.reactions
  • m.tags
  • 🟡 cross-signing support (fork addition; bot-scoped producer side — self-signs the account's own device so it stays usable under MSC4153. The verifier side, Secret Storage, and key backup are not implemented. See doc/cross-signing.md.)
  • ❌ server-side key backups (room key backup, "Secure Backup")
  • ❌ user deactivation (#112)
  • ❌ in-room emoji verification

Installation

To install mindroom-nio, simply use pip:

$ pip install mindroom-nio

Note that this installs mindroom-nio without end-to-end encryption support. The e2ee enabled version can be installed using pip:

$ pip install "mindroom-nio[e2e]"

Additionally, a docker image with the e2ee enabled version of nio is provided in the docker/ directory.

Examples

For examples of how to use nio, and how others are using it, read the docs

Download files

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

Source Distribution

mindroom_nio-0.39.0.tar.gz (217.6 kB view details)

Uploaded Source

Built Distribution

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

mindroom_nio-0.39.0-py3-none-any.whl (248.2 kB view details)

Uploaded Python 3

File details

Details for the file mindroom_nio-0.39.0.tar.gz.

File metadata

  • Download URL: mindroom_nio-0.39.0.tar.gz
  • Upload date:
  • Size: 217.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mindroom_nio-0.39.0.tar.gz
Algorithm Hash digest
SHA256 16c8013f91580fb54ee0c6e18194bbe5582d01a8a96448dff2b5bbcaaa3eeff5
MD5 c97b34b5d11d70916c9af27fc8daad7f
BLAKE2b-256 4f1b1dc75304c8240d14cd19354d5b7756322988292fb01913853c8a82cadac0

See more details on using hashes here.

Provenance

The following attestation bundles were made for mindroom_nio-0.39.0.tar.gz:

Publisher: release.yml on mindroom-ai/mindroom-nio

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

File details

Details for the file mindroom_nio-0.39.0-py3-none-any.whl.

File metadata

  • Download URL: mindroom_nio-0.39.0-py3-none-any.whl
  • Upload date:
  • Size: 248.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mindroom_nio-0.39.0-py3-none-any.whl
Algorithm Hash digest
SHA256 03ae4e978b1496d8c142f07bc2e0b83cb7ebff2fa9fdc9e4b113a25152940317
MD5 075c8e5a2af9b7aeda445af1e4696a2a
BLAKE2b-256 3dc88b8bfd7ddfc14b11f18e889b95fcee2a5fe09b89ba5c06fbad10a3723fe0

See more details on using hashes here.

Provenance

The following attestation bundles were made for mindroom_nio-0.39.0-py3-none-any.whl:

Publisher: release.yml on mindroom-ai/mindroom-nio

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