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.5.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.5-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wordx-0.4.5.tar.gz
Algorithm Hash digest
SHA256 dd02bb0847959e7748934e9461398cf4b38a93b43cd639af68f8f8927d88acfd
MD5 cb20cc1a4d425fc90f7b28f3ba4872de
BLAKE2b-256 12607223b9c7e403fa0505285f58faf8716e9bdd74c718faeeed72893f254a88

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for wordx-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 43363b0294cf84cdcf1a0fcdea62aefd97ea7a8b28405d790ead1a953b56c121
MD5 cc9db600ee3d81861590332646e1fb7b
BLAKE2b-256 7201bd506fc1a6683927f90a45b9e519dfc3857adc2f567fe0083c49940552d1

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