Skip to main content

madeitpx

madeitpx

Python binding for madeitpx. Converts RGBA8 pixel buffers to an output grid with a limited color palette.

madeitpx conversion examples

python -m pip install madeitpx

The release wheel includes native libraries for Windows, Linux (glibc), and macOS on x64 and ARM64. The matching library is loaded automatically.

from madeitpx import ConversionOptions, convert_rgba8

pixels = bytes((
    255, 0, 0, 255,
    0, 255, 0, 255,
    0, 0, 255, 255,
    255, 255, 255, 255,
))
result = convert_rgba8(
    pixels,
    input_width=2,
    input_height=2,
    target_width=1,
    target_height=1,
    options=ConversionOptions(palette_colors=4),
)

Inputs may be bytes, bytearray, or memoryview. Set input_stride for padded source rows. Conversion options include preset, palette_colors, background_rgb, sampling, and cluster_cleanup.

Python 3.9 or newer is required. Linux native libraries target glibc; musl Linux is not currently supported. For local builds, set MADEITPX_LIBRARY_PATH or pass library_path to convert_rgba8.

The release workflow publishes to PyPI using GitHub's trusted publishing. Publishing requires a PyPI trusted publisher configured for this repository, the release.yml workflow, and the pypi environment.

Metadata

Release files for madeitpx 0.1.2

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

Source distribution (sdist)

Source distribution for madeitpx 0.1.2
File Size Uploaded Provenance Actions
madeitpx-0.1.2.tar.gz 745.1 kB With provenance Details for madeitpx-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for madeitpx 0.1.2
File Interpreter ABI Platform Actions
madeitpx-0.1.2-py3-none-any.whl Python 3 none any Details for madeitpx-0.1.2-py3-none-any.whl

Total release size: 1.5 MB

Release files / madeitpx-0.1.2.tar.gz

Download URL madeitpx-0.1.2.tar.gz
Size 745.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e9d63e695866360b9b535b492e946038f515f1243d85e54c66fc6d22662d7f1c
BLAKE2b-256 checksum
How to use checksums
34efda1cd82b6eefda6e20b0b8183acfd8eb79d5186c5f8d312dd6f477c64ddf
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 Oct 30, 2026.

Transparency log

Release files / madeitpx-0.1.2-py3-none-any.whl

Download URL madeitpx-0.1.2-py3-none-any.whl
Size 750.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa98b1bef8ffaeeb8066009ee3517c3161ce744995369aa504e3fa086dec02f1
BLAKE2b-256 checksum
How to use checksums
29f3cc069a7acaa06e7fede8c2504f9595519c6c6fb8e498b5fe27cef8410224
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 Oct 30, 2026.

Transparency log

Security for madeitpx 0.1.2

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for madeitpx-0.1.2.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 30, 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