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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wordx-0.4.0.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.0.tar.gz
Algorithm Hash digest
SHA256 9e7d7f2bab5d85b4ea57b1e61953735d54c28318e715ff481995cc9b8bf6069d
MD5 46c66c9b1ba9a918cd3683a1d912b162
BLAKE2b-256 74b5ddf06ed8ef215bc899cd56fbe9a7277dace9402f99a5f9af1a5ba156fb05

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wordx-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1914897e6caf49d769e08680c2076cfff1e94b9a1bb19edf92857527396fcb80
MD5 dd2f314e4a973cb6be0f151204cc18ea
BLAKE2b-256 7919728beda7558cb674f2c1f9e65f7d43a5ae9e76bddcb840ec43c5494d1114

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