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.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 madeitpx 0.1.0
File Size Uploaded Provenance
madeitpx-0.1.0.tar.gz 745.0 kB With provenance Details

Built distribution (wheel)

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

Total release size: 1.5 MB

Release files / madeitpx-0.1.0.tar.gz

Download URL madeitpx-0.1.0.tar.gz
Size 745.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7bceb246c4fd22e91597461608cffd35bc09163853afddb9912ddee947e78588
BLAKE2b-256 checksum
How to use checksums
eb0e4223a701624a9beb3d514e7bb9ce72b18ce4a6f93b74dd4164b1d2e27e8a
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 17, 2026.

Transparency log

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

Download URL madeitpx-0.1.0-py3-none-any.whl
Size 750.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dce822c165f93273e3a3db638f7ddd6f53973ba81ce6017fd386e881e66c0696
BLAKE2b-256 checksum
How to use checksums
47c33ce804feff3caa8439924d53f671f30c128c02f2400832a9bdbed631a1b8
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 17, 2026.

Transparency log

Security for madeitpx 0.1.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 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for madeitpx-0.1.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 Oct 17, 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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