Skip to main content

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

Project description

fhdocx

本项目在python-docx基础上,做了一些调整,具体如下:

  • 增加word文档的图表功能
  • 重新打包为 fhdocx

以下为 python-docx 库的概述

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

Installation

pip install python-docx

Example

>>> from docx import 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


Download files

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

Source Distribution

fhdocx-0.1.3.tar.gz (199.2 kB view details)

Uploaded Source

Built Distribution

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

fhdocx-0.1.3-py3-none-any.whl (253.4 kB view details)

Uploaded Python 3

File details

Details for the file fhdocx-0.1.3.tar.gz.

File metadata

  • Download URL: fhdocx-0.1.3.tar.gz
  • Upload date:
  • Size: 199.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.0 CPython/3.13.11 Linux/4.4.302+

File hashes

Hashes for fhdocx-0.1.3.tar.gz
Algorithm Hash digest
SHA256 beda45e3da2c4ed5aff512e1f61cf7ab6a1b51aa90738077d78996e7931a6f8b
MD5 2dbd4d005d803104a4da6f7b298b7022
BLAKE2b-256 1e884f4bdda291bb7a0ce27f0336ec2db2f0d6daec572def1d0e3ea4d4d17ad8

See more details on using hashes here.

File details

Details for the file fhdocx-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: fhdocx-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 253.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.0 CPython/3.13.11 Linux/4.4.302+

File hashes

Hashes for fhdocx-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 548c1e0b9fe9ce1b50c8db6148f7af0a5c3fc804f7fce4060f3143bd8865d8f5
MD5 67859ff776bf8c3232ee0d1871f6c3c4
BLAKE2b-256 10ee3c1f4035eb0e9bb0988405cdc2fc0c6bd2fa06a6db61997e1ec3df2c5276

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