Metadata-Version: 2.4
Name: pydmtxlib
Version: 0.1.14
Summary: Read and write Data Matrix barcodes from Python 2 and 3.
Home-page: https://github.com/pylibhub/pydmtx
Author: pylibhub
Author-email: pylibhub@gmail.com
License: MIT
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Utilities
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Description-Content-Type: text/x-rst
License-File: LICENSE.txt
Provides-Extra: scripts
Requires-Dist: Pillow>=3.2.0; extra == "scripts"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: provides-extra
Dynamic: summary

# pydmtx 🐍📦

*Forked from [`pylibdmtx`](https://github.com/NaturalHistoryMuseum/pylibdmtx) 🔀*

Read and write Data Matrix barcodes in Python 3.8+ using the  
[`libdmtx`](http://libdmtx.sourceforge.net/) library. 🎯

---

## Features ✨

- 🐍 Pure Python interface for `libdmtx`  
- 🖼️ Supports PIL/Pillow images, OpenCV/numpy arrays, and raw bytes  
- 🔍 Decodes barcode data and locations  
- ⚙️ Minimal dependencies (only `libdmtx` native library required)  

## Installation 💻

### macOS 🍎

```bash
brew install libdmtx gettext
````

### Linux (Ubuntu/Debian) 🐧

```bash
sudo apt-get install libdmtx0t64
```

### Windows 🪟

Windows Python wheels include the required `libdmtx` DLLs.

### Python package 📦

```bash
pip install pydmtx
```

## Notes 📝

* ⚠️ On Windows, if you get import errors, install the Visual C++ Redistributable
* 🐍 Supports Python 3.8 and newer

## License 📜

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

The `libdmtx` shared library is distributed under its own license. Please refer to the `libdmtx` project for its license terms.
