ril-py
Rust Imaging Library for Python: Python bindings for ril, a performant and high-level image processing library written in Rust.
What's this?
This is a python binding around ril designed to provide an easy-to-use, high-level interface around image processing in Rust. Image and animation processing has never been this easy and fast before.
Support
⚠ This package is a work in progress and it heavily depends on the progress of ril
By the first stable release, we plan to support the following image encodings:
| Encoding Format | Current Status |
|---|---|
| PNG / APNG | Supported |
| JPEG | Supported |
| GIF | Supported |
| WebP | Not yet supported |
| BMP | Not yet supported |
| TIFF | Not yet supported |
Installation
Prebuilt wheels
There will be prebuilt wheels for these platforms:
- Linux x86-64: Cpython 3.7, 3.8, 3.9, 3.10, PyPy 3.7, 3.8, 3.9
- MacOS x86-64: Cpython 3.7, 3.8, 3.9, 3.10, PyPy 3.7, 3.8, 3.9
- Windows x86-64: Cpython 3.7, 3.8, 3.9, 3.10, PyPy 3.7, 3.8, 3.9
- Linux i686: Cpython 3.7, 3.8, 3.9, 3.10, PyPy 3.7, 3.8, 3.9
- MacOS aarch64: Cpython 3.8, 3.9, 3.10
If you want another platform to have prebuilt wheels, please open an issue.
CPython 3.11 support will be available once its ABI has been stabilized.
If your platform has prebuilt wheels, installing is as simple as
pip install ril
Building from Source
In order to build from source, you will need to have the Rust compiler available in your PATH. See documentation on https://rust-lang.org to learn how to install Rust on your platform.
Then building is as simple as
pip install ril
or from Github
pip install git+https://github.com/Cryptex-github/ril-py
Pip will handle the building process.
Examples
Open an image, invert it, and then save it:
from ril import Image
image = Image.open("example.png")
image.invert()
image.save("example.png")
Create a new black image, open the sample image, and paste it on top of the black image:
from ril import Image, Pixel
image = Image.new(600, 600, Pixel.from_rgb(0, 0, 0))
image.paste(100, 100, Image.open("sample.png"))
image.save("sample_on_black.png", "PNG") # You can also specify format if you like
Metadata
Release files for ril 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ril-0.4.0.tar.gz | 35.9 kB | Without provenance | Details for ril-0.4.0.tar.gz |
Built distributions (wheels)
Total release size: 27.2 MB
Release files / ril-0.4.0.tar.gz
| Download URL | ril-0.4.0.tar.gz |
|---|---|
| Size | 35.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5677d6448b04baf5cf13da77c42be912d35220aae0258ac248e2b97bf4a5f248
|
|
BLAKE2b-256 checksum How to use checksums |
4b754cef29921f281dec2c6fb3a64cb5ebec4afeedd1c47e9c1511338e871c08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / ril-0.4.0-pp39-pypy39_pp73-win_amd64.whl
| Download URL | ril-0.4.0-pp39-pypy39_pp73-win_amd64.whl |
|---|---|
| Size | 807.7 kB |
| Tags | PyPy 3.9 PyPy 3.9 7.3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
6fdb13d0fada523795c4f2e349fc946937ee7550aeef89245a4196d2f6452405
|
|
BLAKE2b-256 checksum How to use checksums |
512885d197b2d29d0464249e2c31637d57bef08ce498535d60166c96e14e8638
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / ril-0.4.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | ril-0.4.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.9 PyPy 3.9 7.3 |
|
SHA-256 checksum How to use checksums |
024e7f0e778fdbc8676f442e4728ea7ef47ed91f0e49ff4b9767675c62aa2cc6
|
|
BLAKE2b-256 checksum How to use checksums |
76f4cdb9b357bd4286a96091be0fb4470cf371e0e830959b7f9c4429a349282f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / ril-0.4.0-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
| Download URL | ril-0.4.0-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl |
|---|---|
| Size | 1.9 MB |
| Tags | Linux glibc 2.17+ x86-32 Linux glibc 2.5+ x86-32 PyPy 3.9 PyPy 3.9 7.3 |
|
SHA-256 checksum How to use checksums |
2eb1e007e080f558169aa5764f5a7af31b5431a44c0de8c733b8705350e117b9
|
|
BLAKE2b-256 checksum How to use checksums |
b1ec0d351a8e054134b7db838036edd8aa80695c6ef239e524da69e611a25fb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / ril-0.4.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl
| Download URL | ril-0.4.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl |
|---|---|
| Size | 981.2 kB |
| Tags | PyPy 3.9 PyPy 3.9 7.3 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
16f86507022bba33e0f0819ef550148121d84720b24e5f28d59cdd64636047d9
|
|
BLAKE2b-256 checksum How to use checksums |
4bcf3bdde88cd608ee2fa0da31a3b4d4b67cfe5f3e691af4bd19c501ab7b6a74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / ril-0.4.0-pp38-pypy38_pp73-win_amd64.whl
| Download URL | ril-0.4.0-pp38-pypy38_pp73-win_amd64.whl |
|---|---|
| Size | 807.7 kB |
| Tags | PyPy 3.8 PyPy 3.8 7.3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
8906dea0ab80970561acf131a79028971cbbb18515de20fed788d82c7fd1b0e2
|
|
BLAKE2b-256 checksum How to use checksums |
a6dcafb72280865baccd0745c4025d7c219e37e46de35bcb21663d056f5d0680
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / ril-0.4.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | ril-0.4.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.8 PyPy 3.8 7.3 |
|
SHA-256 checksum How to use checksums |
add8e9978fdc5626dd7408c3891b2e792cafc3257464fc13393eb67babe60048
|
|
BLAKE2b-256 checksum How to use checksums |
8cb910c7e7ff6427d1c3563cd4c6b48fb9c8a2c1a1f7fda02d176cd41e4f1b9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / ril-0.4.0-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
| Download URL | ril-0.4.0-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl |
|---|---|
| Size | 1.9 MB |
| Tags | Linux glibc 2.17+ x86-32 Linux glibc 2.5+ x86-32 PyPy 3.8 PyPy 3.8 7.3 |
|
SHA-256 checksum How to use checksums |
047fbe5182854543094c6eaa43d6e293a1d724283172a839079125fbf4636997
|
|
BLAKE2b-256 checksum How to use checksums |
f5aba93b140cf0d0dfd84898136d7a0d5d8ae3d204e8779cb4521f5f7fc34be7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / ril-0.4.0-pp38-pypy38_pp73-macosx_10_9_x86_64.whl
| Download URL | ril-0.4.0-pp38-pypy38_pp73-macosx_10_9_x86_64.whl |
|---|---|
| Size | 981.0 kB |
| Tags | PyPy 3.8 PyPy 3.8 7.3 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
c4870e9cf17d186666f34dc9dec632b86e7129b388bee7599ed7b1ca6b91c5be
|
|
BLAKE2b-256 checksum How to use checksums |
a941bdef6d1de1e1a226d0de0dd25b12550b2c1f5753bf22acdb6c6e7665de50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / ril-0.4.0-pp37-pypy37_pp73-win_amd64.whl
| Download URL | ril-0.4.0-pp37-pypy37_pp73-win_amd64.whl |
|---|---|
| Size | 808.8 kB |
| Tags | PyPy 3.7 PyPy 3.7 7.3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
7c43e288018e2bccde40e02491220d2ab6ccfd08a45edacd8cd757e296840a2f
|
|
BLAKE2b-256 checksum How to use checksums |
725c8285dd5783443e9469b9153363ea811c2f609ffbf5552fa79865583da86f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / ril-0.4.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | ril-0.4.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.7 PyPy 3.7 7.3 |
|
SHA-256 checksum How to use checksums |
911525799dfa6428a638b609c9e8d855d2869c36689b8e4630e6c7884e6848fb
|
|
BLAKE2b-256 checksum How to use checksums |
4441435fb0de4759a64012e4c15fb7db7a0126bd4329ef21640adeab3728dbf2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / ril-0.4.0-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
| Download URL | ril-0.4.0-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl |
|---|---|
| Size | 1.9 MB |
| Tags | Linux glibc 2.17+ x86-32 Linux glibc 2.5+ x86-32 PyPy 3.7 PyPy 3.7 7.3 |
|
SHA-256 checksum How to use checksums |
0e2b01b72e43bae4f26d736c36d72e8224f1cb7b4a3b0eb28eb6384a32fd6c75
|
|
BLAKE2b-256 checksum How to use checksums |
72543e753d96591dc6dfb2b981a58921fe348bfc060d4ac85c1a239abad297ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / ril-0.4.0-pp37-pypy37_pp73-macosx_10_9_x86_64.whl
| Download URL | ril-0.4.0-pp37-pypy37_pp73-macosx_10_9_x86_64.whl |
|---|---|
| Size | 979.0 kB |
| Tags | PyPy 3.7 PyPy 3.7 7.3 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
14c2ed2a9a0a5b1d6f282d5c985110117a76ecb7f35474aff2a5b6190f6c181e
|
|
BLAKE2b-256 checksum How to use checksums |
cbdd4222b55b8fafd08fbae635d373d2c47f0fd8a05913d4f6ef0dd428d92d47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / ril-0.4.0-cp37-abi3-win_amd64.whl
| Download URL | ril-0.4.0-cp37-abi3-win_amd64.whl |
|---|---|
| Size | 807.5 kB |
| Tags | CPython 3.7 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
e1eb3d4a04663012e39a72c282b66e51cf14dd4e90ffcffeeb87f11624f8413b
|
|
BLAKE2b-256 checksum How to use checksums |
194ed391fd5c1a9cbae53219e89cee443557ab1fb5840605989edd4b703acd79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / ril-0.4.0-cp37-abi3-win32.whl
| Download URL | ril-0.4.0-cp37-abi3-win32.whl |
|---|---|
| Size | 695.2 kB |
| Tags | CPython 3.7 Windows x86-32 abi3 |
|
SHA-256 checksum How to use checksums |
aede770ea16cc6a9d52797113f1032012aca7347eba8303c32f97705840bcb4b
|
|
BLAKE2b-256 checksum How to use checksums |
92c64efe3e777f2ca1ae7e5ef5c6109c8291a0a5ccc42bdb243e3692ad13655d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / ril-0.4.0-cp37-abi3-musllinux_1_1_x86_64.whl
| Download URL | ril-0.4.0-cp37-abi3-musllinux_1_1_x86_64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 3.7 Linux musl 1.1+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
22985938f6e3de254a4ecafaa41c4a3bd65252a59717e3c356c141824d63c918
|
|
BLAKE2b-256 checksum How to use checksums |
3f82210f2083226f17757ae49ddd933f713004b201efaf43e5281673c7c850f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / ril-0.4.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | ril-0.4.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.7 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
be33ec499d957cab232271c50f6076da2e09b4c7f4fd49aa145bd7be25e0e7ec
|
|
BLAKE2b-256 checksum How to use checksums |
16d32418efae4e8041cb50506874ad52eee0de7c7a7c116abce5b4da3f2ca3f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / ril-0.4.0-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
| Download URL | ril-0.4.0-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 3.7 Linux glibc 2.17+ x86-32 Linux glibc 2.5+ x86-32 abi3 |
|
SHA-256 checksum How to use checksums |
a49a34d75640aade88d8105d396e185be01be5bb62846457c407120f8e64fd0b
|
|
BLAKE2b-256 checksum How to use checksums |
9334664d002226ef598cb822524b810e70fdd59bcf1085d04fa1f332410725a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / ril-0.4.0-cp37-abi3-macosx_11_0_arm64.whl
| Download URL | ril-0.4.0-cp37-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 820.2 kB |
| Tags | CPython 3.7 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
02afa3129e7af6d4bf92d3659d25b0310d1ebc9c9e0f8435b2831b745c0d9625
|
|
BLAKE2b-256 checksum How to use checksums |
3e565b71c8becc8a6b1edb8fd725a6ce7d2e1ba37a6eec7a02fa0f544b4c9059
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / ril-0.4.0-cp37-abi3-macosx_10_9_x86_64.whl
| Download URL | ril-0.4.0-cp37-abi3-macosx_10_9_x86_64.whl |
|---|---|
| Size | 981.2 kB |
| Tags | CPython 3.7 abi3 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
08007fc2e9604dd3b78a2c4b1db0ced2f3724f57c429544a222cb858b1bc5550
|
|
BLAKE2b-256 checksum How to use checksums |
f6c6edc0c8d7d11a5890d29506b1c04e83a129c908f4780773db24096d137bcc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / ril-0.4.0-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
| Download URL | ril-0.4.0-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.7 abi3 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
e05bb121714b6209a050dab83b0326b13d6a668a8153ccc84366f38f5333b276
|
|
BLAKE2b-256 checksum How to use checksums |
d2a72ccf3edd87425f0291c444781b2f4e720617283f6351afa8a2f7ea252513
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Security for ril 0.4.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.