Read and write image metadata, including EXIF, IPTC, XMP, ICC Profile.
Project description
pyexiv2
Read and write image metadata, including EXIF, IPTC, XMP, ICC Profile.
- Install:
pip install pyexiv2
- Source code on GitHub
- Tutorial | 中文教程
Features
- Base on C++ API of Exiv2 and wrapped with pybind11.
- Supports running on 64bit Linux, MacOS and Windows, with CPython(≥3.6) interpreter.
- Supports various image metadata
- Supports various image formats
- Supports opening images based on the file path or from bytes data.
- Supports Unicode characters that contained in image path or metadata.
Defects
- Can't read the image larger than 2GB, or modify the image larger than 1GB. (related issue)
- Not thread safe, because pyexiv2 uses some global variables in C++.
- Currently, if you use ARM platform, you need to compile exiv2 and pyexiv2 manually, which is troublesome. (related issue)
Tests
There are some test cases in folder pyexiv2/tests.
References
-
Similar projects:
- exiv2 is a C++ library for reading and writing various image metadata, including command-line tools.
- pyexiv2 is a Python2 binding to exiv2, hasn't been updated since 2011.
- py3exiv2 is a Python3 binding to exiv2, wrapped with Boost.Python.
- python-exiv2 is a Python3 binding to exiv2, wrapped with SWIG. The intention is to give direct access to all of the top-level classes in exiv2.
- exiftool is a perl library for reading and writing various image metadata, including command-line tools.
-
Books:
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 Distributions
Built Distributions
File details
Details for the file pyexiv2-2.14.0-cp312-none-win_amd64.whl
.
File metadata
- Download URL: pyexiv2-2.14.0-cp312-none-win_amd64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80402f83a618402dcffa1f2a06e41869c37382484cb538628c393840354c174c |
|
MD5 | 24c48e116b10e926f519760f4179d94a |
|
BLAKE2b-256 | b0d1503c6b4d1b3efe55ae9c3cd15f12b21aae28c2aab2125124e78cc4dea921 |
File details
Details for the file pyexiv2-2.14.0-cp312-none-manylinux2014_x86_64.whl
.
File metadata
- Download URL: pyexiv2-2.14.0-cp312-none-manylinux2014_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.12
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae028cc3bc617333c2eee5ba59e837f778c879d7071d964d6f75c2983296fc8e |
|
MD5 | 59c76e8b6e0b77e77262844dfe85185c |
|
BLAKE2b-256 | d5d347b446e7562ef763b5327b13271758b41fa209f475d8c635bf944a8c3102 |
File details
Details for the file pyexiv2-2.14.0-cp312-none-macosx_14_0_arm64.whl
.
File metadata
- Download URL: pyexiv2-2.14.0-cp312-none-macosx_14_0_arm64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.12, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 438c65d1fe702b45ebfd1ea17dc0d822f53ad61888b48ce3d6c1a111a672e47b |
|
MD5 | 732d16041a2081bf1f67dff8d66badc3 |
|
BLAKE2b-256 | 0e6691aced8b202235363aaa6bc787b4e79e0e026cbfe66e0cb4415175ec4305 |
File details
Details for the file pyexiv2-2.14.0-cp311-none-win_amd64.whl
.
File metadata
- Download URL: pyexiv2-2.14.0-cp311-none-win_amd64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70a22cdebe8d1eac993d8947d0fde4c04f2bc77b0b54864ebc2557f16f972e7b |
|
MD5 | 42b5f6b58de2d161f5b07bb348ab3bca |
|
BLAKE2b-256 | 239582583499c6dbb2d6c9d070e01dbf67e3cba5e90218b5bd5394e9303661bb |
File details
Details for the file pyexiv2-2.14.0-cp311-none-manylinux2014_x86_64.whl
.
File metadata
- Download URL: pyexiv2-2.14.0-cp311-none-manylinux2014_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.11
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b8c60807a9e7655cf7d8c012c0bf02c383ff32b19cc8e42a1c789233f2fb0e1 |
|
MD5 | 423dcbc073be2a6e37ebf6737b764b95 |
|
BLAKE2b-256 | 56906b305f65450d45af1f84fcd710edbd3a5fcd7e2f3eb16e1696afdb8269a2 |
File details
Details for the file pyexiv2-2.14.0-cp311-none-macosx_14_0_arm64.whl
.
File metadata
- Download URL: pyexiv2-2.14.0-cp311-none-macosx_14_0_arm64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.11, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00c7e1a14d5a87a0658cd970813750605b8fa002c37e2a27e687449a2dd2d4b9 |
|
MD5 | 53b5efdbc4ab74ced06ad66b97946cad |
|
BLAKE2b-256 | 1198e8c0a0aa4e204f578e5944c041135bdb2bba7aa12a36b5d46c2332d81d1e |
File details
Details for the file pyexiv2-2.14.0-cp310-none-win_amd64.whl
.
File metadata
- Download URL: pyexiv2-2.14.0-cp310-none-win_amd64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c4d0f27226271c5f33b712c98f2e67565bf0b9cd911c8f00c94bb4e353ff72b |
|
MD5 | d055e3b04f4985fff55700b4b9d15ed6 |
|
BLAKE2b-256 | 693d3454a85ccb8fd327ae50eca5d19f05ca62528d1b8537b264902a1f177f6b |
File details
Details for the file pyexiv2-2.14.0-cp310-none-manylinux2014_x86_64.whl
.
File metadata
- Download URL: pyexiv2-2.14.0-cp310-none-manylinux2014_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.10
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc74f4e74798bf2977ed1fd44492b7d8f04eb2521d396fd0c1b94043fa36d35d |
|
MD5 | 2f6d6850741c8480f1e9260ae1d1451e |
|
BLAKE2b-256 | 713bd7a1b7e8079008621435315ae7116ba854d2f5706915a58113a056b5e976 |
File details
Details for the file pyexiv2-2.14.0-cp310-none-macosx_14_0_arm64.whl
.
File metadata
- Download URL: pyexiv2-2.14.0-cp310-none-macosx_14_0_arm64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.10, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e1fe8214973335a949d7dbcfcdded65674c458d390c3c6e7cfef0faa71d2758 |
|
MD5 | ed1da94b2a856e13cbb7f947f812db4c |
|
BLAKE2b-256 | 6e58b31a0e160dff5cfac2e5c10b5fd03fc7cc323def02fe9ebbb9a32a4b11a8 |
File details
Details for the file pyexiv2-2.14.0-cp39-none-win_amd64.whl
.
File metadata
- Download URL: pyexiv2-2.14.0-cp39-none-win_amd64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d34459c6547c2ef6bd842c14654e2a8368f8779ef6894e54f433de619dd53e18 |
|
MD5 | a6e949b3e107d7a88e9e031211c83564 |
|
BLAKE2b-256 | f2cd58fc884787b3f96bdf6ee53ce3dbb85003c48310088cea77ffe308936e28 |
File details
Details for the file pyexiv2-2.14.0-cp39-none-manylinux2014_x86_64.whl
.
File metadata
- Download URL: pyexiv2-2.14.0-cp39-none-manylinux2014_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.9
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e49425c41a9ecbf440a2265eaf668fd28f5356a1700af5fee74826658d6cf97a |
|
MD5 | a6e21ebc809cefd02cc943829c63cc58 |
|
BLAKE2b-256 | 288bb2c2fad6c16790a25c339b228851d511d659dbd81b806f0f18e8de7e5118 |
File details
Details for the file pyexiv2-2.14.0-cp39-none-macosx_14_0_arm64.whl
.
File metadata
- Download URL: pyexiv2-2.14.0-cp39-none-macosx_14_0_arm64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.9, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e98a9b7856f4ee33f9ad21a07ce638c3dcd24955a16e55a0ce717c56842aab90 |
|
MD5 | 2953dff64f528f1100d12f0f0c711af8 |
|
BLAKE2b-256 | 3543468ab887496054ec83ab4b643b2aaac36a9b8fe6c5c1450c8a241889e57b |
File details
Details for the file pyexiv2-2.14.0-cp38-none-win_amd64.whl
.
File metadata
- Download URL: pyexiv2-2.14.0-cp38-none-win_amd64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4ad611d513ec6d96ecd74bee426f389e7b0876345b240a685996ebd90cec923 |
|
MD5 | a357f020c2a74a1e08d01e9e1e557c89 |
|
BLAKE2b-256 | f745b3216cb385be6878216c03baa28e5054ce45d4e8333957a170892b969d18 |
File details
Details for the file pyexiv2-2.14.0-cp38-none-manylinux2014_x86_64.whl
.
File metadata
- Download URL: pyexiv2-2.14.0-cp38-none-manylinux2014_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a6f00f3faeeaffe5ff8e1b5234c0932a9271bcd6c37eb1fdddb4c7dc3c8a8b1 |
|
MD5 | 7e23037ec31a216382d6b0d486799bd8 |
|
BLAKE2b-256 | 84993b03f99442ef246715b319793ad09a5f3a286eb1ce8613b9548a14339d47 |
File details
Details for the file pyexiv2-2.14.0-cp38-none-macosx_14_0_arm64.whl
.
File metadata
- Download URL: pyexiv2-2.14.0-cp38-none-macosx_14_0_arm64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.8, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a69df3abf846e1c5e3430990964c74d6e7f22cfc29f7037f006218168641b04 |
|
MD5 | 1ab09b6dfa6769873706d4b793c31662 |
|
BLAKE2b-256 | efa0f02bcdc20b8b3695374949cad1ab2718898548b3741aa95970f6a0383f5e |
File details
Details for the file pyexiv2-2.14.0-cp37-none-win_amd64.whl
.
File metadata
- Download URL: pyexiv2-2.14.0-cp37-none-win_amd64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.7, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9f8705d449eaf28e9a117b0bd68e7b7eb1d3f957fe65da95c083c2c87e2c9ae |
|
MD5 | c0d489bd01100db74e77ad4e7765cabe |
|
BLAKE2b-256 | 6e8c105360267fc5d2ba5c2c38007809da3a541a2f8f98edc4f73736bcfa6902 |
File details
Details for the file pyexiv2-2.14.0-cp37-none-manylinux2014_x86_64.whl
.
File metadata
- Download URL: pyexiv2-2.14.0-cp37-none-manylinux2014_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.7
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff2e7c0f021c126438bc68e41e3d6cb1d98b2a53a6d7d63ff7913ad91774323c |
|
MD5 | e399f2da98dc9e62c77c84203e64e54e |
|
BLAKE2b-256 | 99442efbcea4f0d0dc887d65baa53261b2b3b9c0071ef825f9cedb731f8d28f0 |
File details
Details for the file pyexiv2-2.14.0-cp36-none-win_amd64.whl
.
File metadata
- Download URL: pyexiv2-2.14.0-cp36-none-win_amd64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.6, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f566c10949d3ea9e6818c50a5dc95934d4cf70d2835fdedb41ddea36b1c7ac4 |
|
MD5 | 51aaa31421df7d8f63a7a470ffd63d31 |
|
BLAKE2b-256 | 047d32fba4ae189db9c557d01c326c115042960512c110ad6f52688faa40c68f |