Skip to main content

medius

Python bindings for Medius, replacement firmware for the MAKCU box. A ctypes wrapper over the Medius C ABI with no runtime dependencies; the wheel bundles the native library.

Docs · Install Medius on a box · Discord

Install

pip install medius

Platforms without a prebuilt wheel build from the source distribution, which needs a Rust toolchain.

Usage

import medius

with medius.Device.find() as dev:
    print(dev.query_version())
    dev.move_rel(100, -50)
    dev.press(medius.Usage.button(medius.Button.LEFT))
    with dev.input_events(medius.CatchFilter.all_input()) as events:
        for event in events:                        # native input, live
            ...

Calls are synchronous: a command returns once it is sent, a query once its reply arrives. Failures raise MediusError.

License

MIT.

Metadata

Release files for medius 3.5.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 medius 3.5.0
File Size Uploaded Provenance Actions
medius-3.5.0.tar.gz 460.8 kB With provenance Details for medius-3.5.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for medius 3.5.0
File Actions
medius-3.5.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for medius-3.5.0-py3-none-win_amd64.whl
medius-3.5.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for medius-3.5.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
medius-3.5.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for medius-3.5.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
medius-3.5.0-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for medius-3.5.0-py3-none-macosx_11_0_x86_64.whl
medius-3.5.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for medius-3.5.0-py3-none-macosx_11_0_arm64.whl

Total release size: 4.0 MB

Release files / medius-3.5.0.tar.gz

Download URL medius-3.5.0.tar.gz
Size 460.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1c1b1fed26ced3de2d5f30c150836db907476bc93a3e4c97f40499cbf870db58
BLAKE2b-256 checksum
How to use checksums
18a188109e3c8dbb3ec8912cd52eba0f1807d3b10c329d8e715ecc7e0898a8db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 15, 2026.

Transparency log

Release files / medius-3.5.0-py3-none-win_amd64.whl

Download URL medius-3.5.0-py3-none-win_amd64.whl
Size 462.0 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
730ebc64a042baac631760a9e56b37b1f4f0c9153e6d2d45bebd648a0eaaccaa
BLAKE2b-256 checksum
How to use checksums
62580ced1631e3d22da9158a30e4753ca804f831254cca10d624d86d5f7883a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 15, 2026.

Transparency log

Release files / medius-3.5.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL medius-3.5.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.0 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
b84498d1c4fcd24d5a5e8a036c6378d1b3085efa2b6f6d13fe7a5eee5188b05d
BLAKE2b-256 checksum
How to use checksums
605f7d58c7dd583a2e2cad260449109d2fcb92778a875771a0aa45b5482661bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 15, 2026.

Transparency log

Release files / medius-3.5.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL medius-3.5.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 997.2 kB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
109a879e9b4ecee49dfa1f68683b1ff9121e42c13a08f751eeeaa4b47443db90
BLAKE2b-256 checksum
How to use checksums
9e187aef4bb556093885a7ab525a2cb32c7b27729acb0c1d9344de9b9657facd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 15, 2026.

Transparency log

Release files / medius-3.5.0-py3-none-macosx_11_0_x86_64.whl

Download URL medius-3.5.0-py3-none-macosx_11_0_x86_64.whl
Size 557.1 kB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
4458f696fb6b546cda66be130eaae75bd261365367394f2e4b3dd06499d3b70e
BLAKE2b-256 checksum
How to use checksums
312201ecdf1403d062897896cb696ec818baa93468eff44a660da455adaf529b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 15, 2026.

Transparency log

Release files / medius-3.5.0-py3-none-macosx_11_0_arm64.whl

Download URL medius-3.5.0-py3-none-macosx_11_0_arm64.whl
Size 531.0 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
29cd3068ff58e02e58b05d87a32ca401fbdb127748dc630641a6be23c1e619bb
BLAKE2b-256 checksum
How to use checksums
32462c87d8e4ec6e4b7c4a1ae7e59e7dc851bdc28c4f6a2009a016d6b6bbb253
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 15, 2026.

Transparency log

Security for medius 3.5.0

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.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for medius-3.5.0.tar.gz

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 Nov 15, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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