Skip to main content

generate word documents in a sexy way

Project description

WordX

以"高度定制化"Word模板实现Word文档自动生成。

安装

pip install wordx

基本使用

from wordx.sheet import Sheet 


sheet = Sheet('template.docx')
sheet.render(data)
sheet.save('output.docx')

模板压制

制作Word模板需配套使用word模板工具
Word模板工具箱

Word文件模板示例
Word模板示例

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

wordx-0.4.6.tar.gz (13.0 MB view details)

Uploaded Source

Built Distribution

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

wordx-0.4.6-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file wordx-0.4.6.tar.gz.

File metadata

  • Download URL: wordx-0.4.6.tar.gz
  • Upload date:
  • Size: 13.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.9

File hashes

Hashes for wordx-0.4.6.tar.gz
Algorithm Hash digest
SHA256 4cd9dfeef4d51bba12f0936bb74d2d2e276ebd12976090d6490ca3ce8de7462b
MD5 21fef4fdc6701dd331ffb4dfbe7abf83
BLAKE2b-256 63ec2e6e8bf000c1d912bafaa006e42236c1156dba0eb1b41ee4b720a426d673

See more details on using hashes here.

File details

Details for the file wordx-0.4.6-py3-none-any.whl.

File metadata

  • Download URL: wordx-0.4.6-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.9

File hashes

Hashes for wordx-0.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 efde7e123762fa910a64c1f515942be5e74226dcc71b8f3bbd1a3cd824415cd1
MD5 017ab1272d8dcaf8a9e6ae85f7d05bb4
BLAKE2b-256 37785c2a933eb1d132e5a9e5bfc20c7e2e22f57fd94dff44b5c30ac4bea7ffca

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