Skip to main content

mindroom-nio

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

MindRoom Logo

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

Fork-specific authenticated custom to-device transport supports pinned application messages and durable device-only consumers.

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

Release files for mindroom-nio 1.1.1

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

Source distribution (sdist)

Source distribution for mindroom-nio 1.1.1
File Size Uploaded
mindroom_nio-1.1.1.tar.gz 217.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mindroom-nio 1.1.1
File Interpreter ABI Platform
mindroom_nio-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 469.9 kB

Release files / mindroom_nio-1.1.1.tar.gz

Download URL mindroom_nio-1.1.1.tar.gz
Size 217.0 kB
Tags Source
SHA-256 checksum
How to use checksums
458ee18d207d297804c81710e726a1946e761075d9c1214fe1f75365ec574f7c
BLAKE2b-256 checksum
How to use checksums
e4a653f4ab9c36c3e365d30e9ec566d9d959b66a6c2fc63f4f28432aa442715c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 23, 2026.

Transparency log

Release files / mindroom_nio-1.1.1-py3-none-any.whl

Download URL mindroom_nio-1.1.1-py3-none-any.whl
Size 252.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
00399d2d94979cbe50a6fc419f9b2de37cfe7ba1c401f1c510866cba3905b2e3
BLAKE2b-256 checksum
How to use checksums
360f7f5b298ae473f372598d5ea5a7c5cea24ae6f60ece6f09895b4d2046e77f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 23, 2026.

Transparency log

Release history Release notifications | RSS feed

1.1.2

2 release files

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.40.0

2 release files

0.34.0

2 release files

0.33.0

2 release files

0.32.0

2 release files

0.31.0

2 release files

0.30.1

2 release files

0.30.0

2 release files

0.29.0

2 release files

0.28.0

2 release files

0.27.4

2 release files

0.27.3

2 release files

0.27.2

2 release files

0.27.1

2 release files

0.25.4

2 release files

0.25.2

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