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

Built distribution (wheel)

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

Total release size: 1.5 MB

Release files / madeitpx-0.1.1.tar.gz

Download URL madeitpx-0.1.1.tar.gz
Size 745.1 kB
Tags Source
SHA-256 checksum
How to use checksums
045981976ba2e4bc636c5a543084b591e4d1a8a058d7d783574d98f7f05a2c09
BLAKE2b-256 checksum
How to use checksums
c32c091f1e14a7cd9df3605ade429ab3142f70dc4f1e8e10f3a0f754921b830d
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.1-py3-none-any.whl

Download URL madeitpx-0.1.1-py3-none-any.whl
Size 750.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f4236cd2f7c6d66fa90269f525426ad1fc1943a959f31f693c3821a3b8ca8e0c
BLAKE2b-256 checksum
How to use checksums
65c30307f637891c660d72a8964f168ef11f5765daad3afca59d7e2fbadf9944
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.1

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