Skip to main content

Convert simple .docx files to markdown

Project description

docx2md

Convert simple .docx files to markdown.

Usage: Python

import docx2markdown 

# .docx -> .md
docx2markdown.docx_to_markdown("test-text.docx", "test-text-1.md")

# .md -> .docx
docx2markdown.markdown_to_docx("test-text-1.md", "test-text-2.docx")

Usage: Terminal

docx2markdown test-text.docx test-text.md

OR:

docx2markdown test-text.md test-text.docx

Installation

pip install docx2markdown

Contributing

Feedback and contributions are welcome! Just open an issue and let's discuss before you send a pull request.

Acknowledgements

We acknowledge the financial support by the Federal Ministry of Education and Research of Germany and by Sächsische Staatsministerium für Wissenschaft, Kultur und Tourismus in the programme Center of Excellence for AI-research „Center for Scalable Data Analytics and Artificial Intelligence Dresden/Leipzig", project identification number: ScaDS.AI

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

docx2markdown-0.1.1.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

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

docx2markdown-0.1.1-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file docx2markdown-0.1.1.tar.gz.

File metadata

  • Download URL: docx2markdown-0.1.1.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for docx2markdown-0.1.1.tar.gz
Algorithm Hash digest
SHA256 177e7ca0c998139b9afb9ffbe9a3be05a27d60664ac602b38de643e7b343593d
MD5 4ea6ba3bf65e2f0b15628170ba542b3c
BLAKE2b-256 06be692425e45455b1bbff7ad0b9fa2fab31ac3f9da13f210ded06c0c99158f5

See more details on using hashes here.

File details

Details for the file docx2markdown-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: docx2markdown-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for docx2markdown-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a97d413e6a225d4a0932cc8660b92f10f5de28f0436bc18ee12ef3961cd4b2b1
MD5 e48b4b010262130804fe060543184901
BLAKE2b-256 d2f5970f7c2f64331891ff8b8c1863a793779e4fc784dbd210e8ae3712bcfd0e

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