Miette
Miette is a "small sweet thing" in French.
In another way, Miette is a light-weight, low-memory-usage library for reading
Microsoft Office documents — starting with Word Binary Files (.doc).
Requires Python 3.8+ and the cfb library.
Usage
from miette import DocReader
doc = DocReader("document.doc")
print(doc.read())
Development
make install # set up virtualenv + install dev dependencies
make format # run black
make lint # run ruff
make typecheck # run mypy
make test # run pytest with coverage
make tox # run tests across Python 3.8, 3.10, and 3.12
make pre-commit # install pre-commit hooks
make clean # remove build artifacts and caches
License
BSD 2-Clause — see LICENSE.
Metadata
Release files for miette 2.0.2
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 | |
|---|---|---|---|---|
| miette-2.0.2.tar.gz | 6.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| miette-2.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.5 kB
Release files / miette-2.0.2.tar.gz
| Download URL | miette-2.0.2.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e47ef1588b4a935ba0aa9a72bd8b56107a9077580a83b8a18631b1753a53db6
|
|
BLAKE2b-256 checksum How to use checksums |
01d3bd988bf32f5f2c5862da7b2219cfc3f7829149b9f4e81f001283bf95baca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / miette-2.0.2-py3-none-any.whl
| Download URL | miette-2.0.2-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3a8c2c9f43ea4f49ddacdb0d91aeccb46705b0c8b9eb5b7b797e537fb98b2d97
|
|
BLAKE2b-256 checksum How to use checksums |
2df778c2bb263c4cec22f04655693ded33c38447471f156d1637b97da91fc512
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for miette 2.0.2
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.