Skip to main content

A Python package to convert .doc files to .txt using the Antiword binary.

Project description

doc2txt-py

doc2txt-py is a simple Python package that converts .doc files to .txt format using the Antiword binary. This package wraps around the Antiword command-line tool, providing a Python interface to easily integrate .doc to .txt conversion into your projects.

Features

  • Converts .doc (Word 97-2003) documents into plain text files.
  • Simple Python interface using the AntiwordConverter class.
  • Includes the Antiword binary for ease of use.
  • Cross-platform support (can be adjusted for Linux and MacOS by modifying the binary path).

Installation

You can install the package directly from PyPI (after uploading):

pip install doc2txt-py

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

doc2txt_antiword-0.1.0.tar.gz (103.7 kB view details)

Uploaded Source

Built Distribution

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

doc2txt_antiword-0.1.0-py3-none-any.whl (103.1 kB view details)

Uploaded Python 3

File details

Details for the file doc2txt_antiword-0.1.0.tar.gz.

File metadata

  • Download URL: doc2txt_antiword-0.1.0.tar.gz
  • Upload date:
  • Size: 103.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for doc2txt_antiword-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9fe7bdfb6e745f4587d5001509dc3a99b6c17e6a8d17d44eb79e47806367da28
MD5 ad0601b61dcb88a30008a8025209f17a
BLAKE2b-256 636556ef53e878f2322ef67bdaf47b61cfae5987c689d15c376177df6966c50a

See more details on using hashes here.

File details

Details for the file doc2txt_antiword-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for doc2txt_antiword-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a1c871623a0c8c755b00fa4ac747d43297ba5c320463910113bf1517be1978d8
MD5 dc755c272f5a40e5ff8eec98751e9491
BLAKE2b-256 bdc203bfa76cab010a604b017df10c4ccb4d6719ec6c9b5d58d48ceb6ab7e009

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