Skip to main content

Miette is a light-weight Microsoft Office documents reader

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

miette-2.0.2.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

miette-2.0.2-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file miette-2.0.2.tar.gz.

File metadata

  • Download URL: miette-2.0.2.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for miette-2.0.2.tar.gz
Algorithm Hash digest
SHA256 7e47ef1588b4a935ba0aa9a72bd8b56107a9077580a83b8a18631b1753a53db6
MD5 afa6a45d6c377a32b964768dfba502f2
BLAKE2b-256 01d3bd988bf32f5f2c5862da7b2219cfc3f7829149b9f4e81f001283bf95baca

See more details on using hashes here.

File details

Details for the file miette-2.0.2-py3-none-any.whl.

File metadata

  • Download URL: miette-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for miette-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3a8c2c9f43ea4f49ddacdb0d91aeccb46705b0c8b9eb5b7b797e537fb98b2d97
MD5 c9aee1c7e4d1b75a04e516ec3da3bbcb
BLAKE2b-256 2df778c2bb263c4cec22f04655693ded33c38447471f156d1637b97da91fc512

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page