VOOZH about

URL: https://pypi.org/project/python-docx/

โ‡ฑ python-docx ยท PyPI


Skip to main content

python-docx 1.2.0

pip install python-docx

Latest release

Released:

Create, read, and update Microsoft Word .docx files.

Navigation

Verified details

These details have been verified by PyPI
Maintainers
๐Ÿ‘ Avatar for scanny from gravatar.com
scanny

Unverified details

These details have not been verified by PyPI
Project links
Meta
  • License: MIT License (MIT)
  • Author: Steve Canny
  • Tags docx , office , openxml , word
  • Requires: Python >=3.9

Project description

python-docx

python-docx is a Python library for reading, creating, and updating Microsoft Word 2007+ (.docx) files.

Installation

pip install python-docx

Example

>>> fromdocximport Document

>>> document = Document()
>>> document.add_paragraph("It was a dark and stormy night.")
<docx.text.paragraph.Paragraph object at 0x10f19e760>
>>> document.save("dark-and-stormy.docx")

>>> document = Document("dark-and-stormy.docx")
>>> document.paragraphs[0].text
'It was a dark and stormy night.'

More information is available in the python-docx documentation

Project details

Verified details

These details have been verified by PyPI
Maintainers
๐Ÿ‘ Avatar for scanny from gravatar.com
scanny

Unverified details

These details have not been verified by PyPI
Project links
Meta
  • License: MIT License (MIT)
  • Author: Steve Canny
  • Tags docx , office , openxml , word
  • Requires: Python >=3.9

Release history Release notifications | RSS feed

Download files

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

Source Distribution

python_docx-1.2.0.tar.gz (5.7 MB view details)

Uploaded Source

Built Distribution

Filter files by name, interpreter, ABI, and platform.

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

Copy a direct link to the current filters

python_docx-1.2.0-py3-none-any.whl (253.0 kB view details)

Uploaded Python 3

File details

Details for the file python_docx-1.2.0.tar.gz.

File metadata

  • Download URL: python_docx-1.2.0.tar.gz
  • Upload date:
  • Size: 5.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for python_docx-1.2.0.tar.gz
Algorithm Hash digest
SHA256 7bc9d7b7d8a69c9c02ca09216118c86552704edc23bac179283f2e38f86220ce
MD5 33e6052d6583dcb0092d0c80057354aa
BLAKE2b-256 a9f7eddfe33871520adab45aaa1a71f0402a2252050c14c7e3009446c8f4701c

See more details on using hashes here.

File details

Details for the file python_docx-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: python_docx-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 253.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for python_docx-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3fd478f3250fbbbfd3b94fe1e985955737c145627498896a8a6bf81f4baf66c7
MD5 f0e72a7afdf7947db39802e23b22dc13
BLAKE2b-256 d0001e03a4989fa5795da308cd774f05b704ace555a70f9bf9d3be057b680bcf

See more details on using hashes here.

Supported by

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