Rust plugin for python exif and icc profile manipulation
Project description
Visio-Rust
This project aims to provide an api to retreive and add metadata to images, jpgs, webp and png is supported.
Usage
from visio_rust import get_metadata, set_metadata
with open('xxxx.jpeg', 'rb') as f:
input_data = f.read()
icc_profile, exif_data = get_metadata(input_data)
output_data = set_metadata(input_data, icc_profile, exif_data)
print(input_data == output_data)
Development
Clone the project
git clone https://github.com/Gaspard-Bruno/visio-rust.git
git clone git@github.com:Gaspard-Bruno/visio-rust.git
Installation
cd visio-rust/ && make install
Testing
cd visio-rust/ && tox
🚀 Author
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file visio_rust-0.2.2.tar.gz
.
File metadata
- Download URL: visio_rust-0.2.2.tar.gz
- Upload date:
- Size: 7.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ce5e73800565f0be4b5770275af7ceebe4fd0d5ec7e762cf96be7794e9c94be |
|
MD5 | 096f8bb5b6fc77e9539dc0117c737b28 |
|
BLAKE2b-256 | 6471f9d9a1e8d3274b99f737f7f5176316cbdf89c750f3496f369daee6bde281 |
File details
Details for the file visio_rust-0.2.2-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
.
File metadata
- Download URL: visio_rust-0.2.2-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 221.7 kB
- Tags: PyPy, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.11-beta.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5149e2b4317995f45a3652f20d07f98c83df5172a0ebd75bc4e9ea7763069ce2 |
|
MD5 | d1359cb818f5a0f6e835b6c60697719f |
|
BLAKE2b-256 | b84dbf3120f821f286e67ea5855e359c8cf38015b857e02f9a9189c7d3dcc74f |
File details
Details for the file visio_rust-0.2.2-cp310-none-win_amd64.whl
.
File metadata
- Download URL: visio_rust-0.2.2-cp310-none-win_amd64.whl
- Upload date:
- Size: 169.4 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | abc269be9f76c67e8ce649fc6611f891e37e5c8c05c77b7f86ba160f970d3295 |
|
MD5 | 4336aa0f8697e5055bbbf327ee765dde |
|
BLAKE2b-256 | 204daff4cd10b95ab473792bc976eb90a1043e250b2870b58ac181f2ef9dd2fb |
File details
Details for the file visio_rust-0.2.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
.
File metadata
- Download URL: visio_rust-0.2.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 219.8 kB
- Tags: CPython 3.10, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.11-beta.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bc7e94758e024f90d25b5b7d1e853160fd24d6a9f0b86c7f5d72175017bd5c4 |
|
MD5 | 5152ee724a67b510164fc510b467b83a |
|
BLAKE2b-256 | 42d6670fbbcbbe7738714b4e18445824fc27429160eac36317c108e31533c77c |
File details
Details for the file visio_rust-0.2.2-cp310-cp310-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: visio_rust-0.2.2-cp310-cp310-macosx_10_7_x86_64.whl
- Upload date:
- Size: 218.3 kB
- Tags: CPython 3.10, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fbed76cbd1128f1ed90e8849b04cfa2ddbc1caefdc7cd5cc76ddd09af2ed939 |
|
MD5 | fd4ecd12fb50af688e36496b36897514 |
|
BLAKE2b-256 | 5bd2a458360f95505a82baaada221fd73887170540ca46a79bf38d022587b944 |
File details
Details for the file visio_rust-0.2.2-cp39-none-win_amd64.whl
.
File metadata
- Download URL: visio_rust-0.2.2-cp39-none-win_amd64.whl
- Upload date:
- Size: 169.3 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcaf1c41d49dc8ad84603a1072d71222a42c4e7b6b857b4563ced256e4f778ba |
|
MD5 | 91af113216050c7871313d46aa1bf469 |
|
BLAKE2b-256 | cdb9b13d39d472711263aca5b5856659f05748105a2b0cb4ab6251d76807e75e |
File details
Details for the file visio_rust-0.2.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
.
File metadata
- Download URL: visio_rust-0.2.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 219.8 kB
- Tags: CPython 3.9, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.11-beta.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3ea3630f711c3a317b7f15d51ea1036e6bd8bcd455a4a5df9e4acd1e34b52f3 |
|
MD5 | 9b02d4ba4dd802d68baa1e5bcde4bf48 |
|
BLAKE2b-256 | 4d170480b49bab9fc33c8eba4586947e35b7b8e835928b01ff55db1ebf2b0619 |
File details
Details for the file visio_rust-0.2.2-cp39-cp39-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: visio_rust-0.2.2-cp39-cp39-macosx_10_7_x86_64.whl
- Upload date:
- Size: 218.3 kB
- Tags: CPython 3.9, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fedaddcfe1783713f9f6e69e51137fc9eb66adaca214e021d72a6139986b0321 |
|
MD5 | d6666f3ea5f92bfff47bef4bf8f6a632 |
|
BLAKE2b-256 | 74e96a372178cdc50dbe54f399be7cae53f662a254cfdccad941e0994695f1f2 |
File details
Details for the file visio_rust-0.2.2-cp38-none-win_amd64.whl
.
File metadata
- Download URL: visio_rust-0.2.2-cp38-none-win_amd64.whl
- Upload date:
- Size: 169.3 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a2d07b1cd4f213c24cedda7b45e454a1083d254d3f6387c51dbd9767de76a05 |
|
MD5 | 379c9fdec672d6098ba1cb6a9746503d |
|
BLAKE2b-256 | 7542ea982e6f3c56533cf0b7b0b6f7c015756d7276d5a0e7bb9e8db12a4f6c46 |
File details
Details for the file visio_rust-0.2.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
.
File metadata
- Download URL: visio_rust-0.2.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 219.7 kB
- Tags: CPython 3.8, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.11-beta.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30f8f94fdd70a05ec0a2ef492a44e903b5086fce62e0f8325a5b274b34e60447 |
|
MD5 | 838a7a6f2be0bc9b4d65e6a2d4a0f66e |
|
BLAKE2b-256 | 353814f2e2b18bea3f2160749033e1aa999e010fa2c2a2b13849c9e0793be622 |
File details
Details for the file visio_rust-0.2.2-cp38-cp38-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: visio_rust-0.2.2-cp38-cp38-macosx_10_7_x86_64.whl
- Upload date:
- Size: 218.3 kB
- Tags: CPython 3.8, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9db20f312292e2056974e381d6d117f52dc9d3a47f229bd82735cf75d267f48d |
|
MD5 | eb1f9c13ce30901600c523a14cc2f65f |
|
BLAKE2b-256 | c747ad9f5838dd8dd89dd4e09961249b67de1679d0d24651c107637634d5c38f |
File details
Details for the file visio_rust-0.2.2-cp37-none-win_amd64.whl
.
File metadata
- Download URL: visio_rust-0.2.2-cp37-none-win_amd64.whl
- Upload date:
- Size: 169.3 kB
- Tags: CPython 3.7, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 189eb0f5ddb5ed1659dc29b8b892acc20d4cf193073bbc320ee0d84178363b25 |
|
MD5 | 963ffd44d7c857b9c25ea01251bda23e |
|
BLAKE2b-256 | 63406f98e7f4d829790a99a86ae3f76b2572ca0f4ae21cf1682ae52832e41495 |
File details
Details for the file visio_rust-0.2.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
.
File metadata
- Download URL: visio_rust-0.2.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 219.7 kB
- Tags: CPython 3.7m, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.11-beta.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8810e78c5cf6fc4a67decf0b7149c7028b9464d453d5592a8ae58311426918b7 |
|
MD5 | 4fc105960c8583d4fefe46e7d572f8cf |
|
BLAKE2b-256 | 0e3a80633c3419049c3654010d0d35f7316f02911c8bc62b3be1e7a8a896b164 |
File details
Details for the file visio_rust-0.2.2-cp37-cp37m-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: visio_rust-0.2.2-cp37-cp37m-macosx_10_7_x86_64.whl
- Upload date:
- Size: 218.3 kB
- Tags: CPython 3.7m, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40acaadffc338adcbf46ebffa50618d1d773602092181f978dee3bee63b14ffb |
|
MD5 | f0ed4c15c3bfbf72e300423d12bfc188 |
|
BLAKE2b-256 | 8d86a2f1e7c6fbeba251797ff7360cf0dba989ec2f3d06b98b52ebd4a8d1ea0a |