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.4.6

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.4.6
File Size Uploaded Provenance Actions
medius-3.4.6.tar.gz 459.9 kB With provenance Details for medius-3.4.6.tar.gz

Built distributions (wheels)

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

Total release size: 3.9 MB

Release files / medius-3.4.6.tar.gz

Download URL medius-3.4.6.tar.gz
Size 459.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7a7c7e1f63bbacf7c42fdaf884687c908f9ba3f00e2346186e69737d1eabfef6
BLAKE2b-256 checksum
How to use checksums
48aae39e3ab7daf1a437fd23ea934db807eef9c365585bd6e48545a778ec2c2d
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 Oct 16, 2026.

Transparency log

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

Download URL medius-3.4.6-py3-none-win_amd64.whl
Size 452.8 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
60751a07a8faacbb685acd3cee5128ad3de5247ccf378335671df8b2dd92990a
BLAKE2b-256 checksum
How to use checksums
17a5b30975ae1da3f8b716358de5575cbd66016e8f3b91b5722b951a1b7e408f
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 Oct 16, 2026.

Transparency log

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

Download URL medius-3.4.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 983.1 kB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
643a53dc6aaf820a7b0d3bb9c4a9ad45a9c48bc248eca04083595ec310b0529a
BLAKE2b-256 checksum
How to use checksums
895cbf82d7fa1af4752f3db008652392eee99cad2293d8641ab5d4d5de021948
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 Oct 16, 2026.

Transparency log

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

Download URL medius-3.4.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 973.0 kB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
88ec81affce1cb58b4a4499a374681c94ebff33e8407aefa4bb6b839be54515b
BLAKE2b-256 checksum
How to use checksums
51dde6a959e7a1c679f966eb9f1aafb0f1f0752e29d533893ffb5d39521cdde4
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 Oct 16, 2026.

Transparency log

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

Download URL medius-3.4.6-py3-none-macosx_11_0_x86_64.whl
Size 539.8 kB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
49f60b5b5e957cc52baea836f871ce179ddff4b62fe5ebe2491867c8310d18b8
BLAKE2b-256 checksum
How to use checksums
b6d5e7b874e55d60ce9e178a87b0f896cd905ec8dbb8b91ed23e787c90bb2dc6
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 Oct 16, 2026.

Transparency log

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

Download URL medius-3.4.6-py3-none-macosx_11_0_arm64.whl
Size 514.0 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6240fcf217603daae40f380dbbc072431a211e5d3436763e6980ac9e8dfe1fa6
BLAKE2b-256 checksum
How to use checksums
834474b505966b009ddb55467a5e10b6429eefcb443effca41fd6db55accd4d9
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 Oct 16, 2026.

Transparency log

Security for medius 3.4.6

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.4.6.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 Oct 16, 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