Skip to main content

uniimage — Python binding

nimble pyLib                                    # native lib for this platform
(cd py && python3 setup.py build_ext --inplace) # build the Cython extension
(cd py && python3 -m pytest -q)                 # test

nimble pyLib builds the shared lib on Linux/macOS and the MSVC static lib on Windows, so the same commands work everywhere. The subshells keep your shell's cwd unchanged.

import uniimage
uniimage.version()       # "1.0.0"
m = uniimage.read_buffer(bytes([0xFF, 0xD8, 0xFF, 0xD9]))
m.is_valid               # False (no metadata in a bare JPEG)

img = uniimage.decode_buffer(b"P6\n1 1\n255\n\xff\x00\x00")
palette = img.extract_palette(1, "wu")
palette.color_at(0).space_tag  # COLOR_SPACE_OKLAB

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uniimage-1.0.0.tar.gz (307.9 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

uniimage-1.0.0-cp314-cp314-win_amd64.whl (551.9 kB view details)

Uploaded CPython 3.14Windows x86-64

uniimage-1.0.0-cp314-cp314-manylinux_2_35_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.35+ x86-64

uniimage-1.0.0-cp314-cp314-macosx_10_15_x86_64.macosx_26_0_arm64.whl (629.5 kB view details)

Uploaded CPython 3.14macOS 10.15+ x86-64macOS 26.0+ ARM64

uniimage-1.0.0-cp313-cp313-win_amd64.whl (536.9 kB view details)

Uploaded CPython 3.13Windows x86-64

uniimage-1.0.0-cp313-cp313-manylinux_2_35_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.35+ x86-64

uniimage-1.0.0-cp313-cp313-macosx_10_13_x86_64.macosx_26_0_arm64.whl (630.0 kB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64macOS 26.0+ ARM64

uniimage-1.0.0-cp312-cp312-win_amd64.whl (537.1 kB view details)

Uploaded CPython 3.12Windows x86-64

uniimage-1.0.0-cp312-cp312-manylinux_2_35_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.35+ x86-64

uniimage-1.0.0-cp312-cp312-macosx_10_13_x86_64.macosx_26_0_arm64.whl (631.6 kB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64macOS 26.0+ ARM64

uniimage-1.0.0-cp311-cp311-win_amd64.whl (537.7 kB view details)

Uploaded CPython 3.11Windows x86-64

uniimage-1.0.0-cp311-cp311-manylinux_2_35_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.35+ x86-64

uniimage-1.0.0-cp311-cp311-macosx_10_9_x86_64.macosx_26_0_arm64.whl (629.8 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64macOS 26.0+ ARM64

uniimage-1.0.0-cp310-cp310-win_amd64.whl (537.0 kB view details)

Uploaded CPython 3.10Windows x86-64

uniimage-1.0.0-cp310-cp310-manylinux_2_35_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.35+ x86-64

uniimage-1.0.0-cp310-cp310-macosx_26_0_arm64.macosx_10_9_x86_64.whl (630.2 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64macOS 26.0+ ARM64

uniimage-1.0.0-cp39-cp39-win_amd64.whl (537.3 kB view details)

Uploaded CPython 3.9Windows x86-64

uniimage-1.0.0-cp39-cp39-manylinux_2_35_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.35+ x86-64

uniimage-1.0.0-cp39-cp39-macosx_10_9_x86_64.macosx_26_0_arm64.whl (631.2 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64macOS 26.0+ ARM64

File details

Details for the file uniimage-1.0.0.tar.gz.

File metadata

  • Download URL: uniimage-1.0.0.tar.gz
  • Upload date:
  • Size: 307.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for uniimage-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3fbd7ca58244e9e91c581f9c026ba36d723797668121a12a879ac5c09bd23091
MD5 3ce249b40f02e98035db70a4bf90d22c
BLAKE2b-256 51354ab9707c343e783ce80bc49f2c17eb8239fa3dbd8d4e22279dfeaca3d000

See more details on using hashes here.

Provenance

The following attestation bundles were made for uniimage-1.0.0.tar.gz:

Publisher: release.yml on lituus-lab/UniImage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uniimage-1.0.0-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: uniimage-1.0.0-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 551.9 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for uniimage-1.0.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 8e31155a48c9cf64b0e848f1ff701c1532f6a01f220776cfc65190d34ec8cbe1
MD5 2bca35026333d2f2d9c5dfd716e963fa
BLAKE2b-256 3390b885d9864ff7437df5b3f3e4e5e2a41c6db183e599c2a433d6a8605768e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for uniimage-1.0.0-cp314-cp314-win_amd64.whl:

Publisher: release.yml on lituus-lab/UniImage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uniimage-1.0.0-cp314-cp314-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for uniimage-1.0.0-cp314-cp314-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 f088b8857bdda436bbf466ad2b0dddc15f516f7fd355aa285a37cebeee359510
MD5 2b3ed39f88c8946c28f5b3acb3490719
BLAKE2b-256 59e1acc004c2501176773a3524146774b18afc0eddf2b99f5ef0f5ec1fb4a71c

See more details on using hashes here.

Provenance

The following attestation bundles were made for uniimage-1.0.0-cp314-cp314-manylinux_2_35_x86_64.whl:

Publisher: release.yml on lituus-lab/UniImage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uniimage-1.0.0-cp314-cp314-macosx_10_15_x86_64.macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for uniimage-1.0.0-cp314-cp314-macosx_10_15_x86_64.macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 cae2563b5eb7e9528041ed4ea7a9275e8993520f64233ae23ecc2b15578fafd5
MD5 059eee839836c15a302e9938e5e6fd69
BLAKE2b-256 380d1e89b65376949c425a6d583992f5f58c774133657354a44da134690bc721

See more details on using hashes here.

Provenance

The following attestation bundles were made for uniimage-1.0.0-cp314-cp314-macosx_10_15_x86_64.macosx_26_0_arm64.whl:

Publisher: release.yml on lituus-lab/UniImage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uniimage-1.0.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: uniimage-1.0.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 536.9 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for uniimage-1.0.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a0091af7c04b37097f5f4473aebaa0cc7ae020ec9094291986ff3ac5c8bf96ef
MD5 1e33b89f45fda6d8ff763d071b912e93
BLAKE2b-256 ed18c45b33d36db367e9943af2e86470a2609fb84eada9beb874c4bdf9958aba

See more details on using hashes here.

Provenance

The following attestation bundles were made for uniimage-1.0.0-cp313-cp313-win_amd64.whl:

Publisher: release.yml on lituus-lab/UniImage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uniimage-1.0.0-cp313-cp313-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for uniimage-1.0.0-cp313-cp313-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 edcad4c52967fd1e12ac1581afe3c4c5e151c85ccce6474fb13540b1ab8e898f
MD5 d5df05ad21f0ecc08b2084eaa9355f8e
BLAKE2b-256 e789833772867728b945067585dc822ab7ef29156de6506464d264366df50c04

See more details on using hashes here.

Provenance

The following attestation bundles were made for uniimage-1.0.0-cp313-cp313-manylinux_2_35_x86_64.whl:

Publisher: release.yml on lituus-lab/UniImage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uniimage-1.0.0-cp313-cp313-macosx_10_13_x86_64.macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for uniimage-1.0.0-cp313-cp313-macosx_10_13_x86_64.macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 c3702834f9a29f863d71b2f1aca648e37a1901ca59d2baff2b6af8a83bbe8d72
MD5 25c16251a2d34e1e96a74957c70a045f
BLAKE2b-256 4e28b5e6bb2de3eab5fc417e45ba07674c1f151c57c9b4735af43c2ae7ab2494

See more details on using hashes here.

Provenance

The following attestation bundles were made for uniimage-1.0.0-cp313-cp313-macosx_10_13_x86_64.macosx_26_0_arm64.whl:

Publisher: release.yml on lituus-lab/UniImage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uniimage-1.0.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: uniimage-1.0.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 537.1 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for uniimage-1.0.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 66d9d6a9caa19a76fced93e224d841e649ef7eaf8eaa692b7e54148af1ccb471
MD5 4b072ed4eeb50fa9b06c6a8506ce6ae0
BLAKE2b-256 74405923b0cb79170f2f2ab14f728974a42abbdd245bd4b2a1a8b0fd2fdaf2c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for uniimage-1.0.0-cp312-cp312-win_amd64.whl:

Publisher: release.yml on lituus-lab/UniImage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uniimage-1.0.0-cp312-cp312-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for uniimage-1.0.0-cp312-cp312-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 ae72ba480859a54b63ce3255acaecc827b98d05800d8c3759a027ca460fa89bf
MD5 977cf120827ea985f2c7843a77a8ea30
BLAKE2b-256 c8bd035f491936fee744ba17270f884d09ecdc76d055f5d5e29c8e9e654b5395

See more details on using hashes here.

Provenance

The following attestation bundles were made for uniimage-1.0.0-cp312-cp312-manylinux_2_35_x86_64.whl:

Publisher: release.yml on lituus-lab/UniImage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uniimage-1.0.0-cp312-cp312-macosx_10_13_x86_64.macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for uniimage-1.0.0-cp312-cp312-macosx_10_13_x86_64.macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 3cb196b2a0c4e25db230a586607d2525c77a081ca95adc5d9f6358200567538e
MD5 0454f766acc68b90cef4db1f9c939783
BLAKE2b-256 48e0f01828605e5cc6388521ae3bdcd6d5a7baba1e44072e153ab9c5500c448d

See more details on using hashes here.

Provenance

The following attestation bundles were made for uniimage-1.0.0-cp312-cp312-macosx_10_13_x86_64.macosx_26_0_arm64.whl:

Publisher: release.yml on lituus-lab/UniImage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uniimage-1.0.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: uniimage-1.0.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 537.7 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for uniimage-1.0.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2c6df112de658bd7b4f8449969a5ed8fbe44be1ac1399a65fe964da627326925
MD5 db73aedb4331a77ad79c4852c563aaec
BLAKE2b-256 fd7f1a359d0190047f6af0dab0cb85cf04ef257a419dab813aa779151539eaad

See more details on using hashes here.

Provenance

The following attestation bundles were made for uniimage-1.0.0-cp311-cp311-win_amd64.whl:

Publisher: release.yml on lituus-lab/UniImage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uniimage-1.0.0-cp311-cp311-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for uniimage-1.0.0-cp311-cp311-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 4493a87a1f16e2456326e8663b06437563a36c3e5c788a80c0e8ddb1ed0c2eda
MD5 f99f3f9c68c197a85a863eb4d1d77ba0
BLAKE2b-256 89bd100819b6a2849643645982b276d48aef8d6c85b26ec5b0da6d426b3bf354

See more details on using hashes here.

Provenance

The following attestation bundles were made for uniimage-1.0.0-cp311-cp311-manylinux_2_35_x86_64.whl:

Publisher: release.yml on lituus-lab/UniImage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uniimage-1.0.0-cp311-cp311-macosx_10_9_x86_64.macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for uniimage-1.0.0-cp311-cp311-macosx_10_9_x86_64.macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 ffee552186c3d095542e60e65f790828b654857e79bd46d0c8f1ed5cc502a9c6
MD5 bf68bb1660cb0eda49f0ea23237c0e12
BLAKE2b-256 0c7fe6f5530a6699f44200e7a84ee9ab2114f86858ce78b950067662f4428d94

See more details on using hashes here.

Provenance

The following attestation bundles were made for uniimage-1.0.0-cp311-cp311-macosx_10_9_x86_64.macosx_26_0_arm64.whl:

Publisher: release.yml on lituus-lab/UniImage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uniimage-1.0.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: uniimage-1.0.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 537.0 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for uniimage-1.0.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 8f5606d7d80fe79220fe14bc9bd7e2a91000c5dcaae9bb59170edbf3de69a44a
MD5 3baefd851beadbd096326b65a72abefd
BLAKE2b-256 96fa80c6d77e6441436f80ebaf8cb5b278cf21d538752afaefc6821791b7ed74

See more details on using hashes here.

Provenance

The following attestation bundles were made for uniimage-1.0.0-cp310-cp310-win_amd64.whl:

Publisher: release.yml on lituus-lab/UniImage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uniimage-1.0.0-cp310-cp310-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for uniimage-1.0.0-cp310-cp310-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 b299a736630fce8e7d2fa5cdfd56a3a03f9c79b0e871ceb57e433cba770dc530
MD5 8c06917d2adf0916749ff31015e4f8f2
BLAKE2b-256 58b302f0755051e9f0d6c05e8dadf900460fd91c789a2c158b088409dbac9788

See more details on using hashes here.

Provenance

The following attestation bundles were made for uniimage-1.0.0-cp310-cp310-manylinux_2_35_x86_64.whl:

Publisher: release.yml on lituus-lab/UniImage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uniimage-1.0.0-cp310-cp310-macosx_26_0_arm64.macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for uniimage-1.0.0-cp310-cp310-macosx_26_0_arm64.macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 272be347f0734669eb21d7dc333d2d85200fd344cb273908d9b7d7598296f46b
MD5 2c9bb8c7d344546385ebf420181eb88e
BLAKE2b-256 13d11b0519bf6b21a27a074c863163ece5d881f46778dc19e58c0983dd6fbebd

See more details on using hashes here.

Provenance

The following attestation bundles were made for uniimage-1.0.0-cp310-cp310-macosx_26_0_arm64.macosx_10_9_x86_64.whl:

Publisher: release.yml on lituus-lab/UniImage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uniimage-1.0.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: uniimage-1.0.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 537.3 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for uniimage-1.0.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 e150231b753ba567df31f70c550eec3d51af696bc7a02b7be89688599da0b050
MD5 e62c604f669d08b9c4fd9f45caf3481f
BLAKE2b-256 f0f9d5c7221cb244f8fbb112b3904e1ba5af600210039743d37525542afe6fbd

See more details on using hashes here.

Provenance

The following attestation bundles were made for uniimage-1.0.0-cp39-cp39-win_amd64.whl:

Publisher: release.yml on lituus-lab/UniImage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uniimage-1.0.0-cp39-cp39-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for uniimage-1.0.0-cp39-cp39-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 0c1419d77db8f01624d77abe392864009552b986c901bcde4733fd48e2379225
MD5 5ed04d656a8e830f3ed6ff9f1dc80533
BLAKE2b-256 5b05cdc1d12422b7d764609833edd542c8aeadf7db05372a4917976959f84ab7

See more details on using hashes here.

Provenance

The following attestation bundles were made for uniimage-1.0.0-cp39-cp39-manylinux_2_35_x86_64.whl:

Publisher: release.yml on lituus-lab/UniImage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uniimage-1.0.0-cp39-cp39-macosx_10_9_x86_64.macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for uniimage-1.0.0-cp39-cp39-macosx_10_9_x86_64.macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 7f7daf11121aafa1e851ab723119f19f3884bb0efc6eee61c160b8273d0bce3e
MD5 9d5d5844f4cd158fe9ab39163302f653
BLAKE2b-256 4397c4ad1fad633dad57279a08c8fe8bba6f5ed266b53bbd81a8f3779d691637

See more details on using hashes here.

Provenance

The following attestation bundles were made for uniimage-1.0.0-cp39-cp39-macosx_10_9_x86_64.macosx_26_0_arm64.whl:

Publisher: release.yml on lituus-lab/UniImage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page