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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wordx-0.4.3.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.3.tar.gz
Algorithm Hash digest
SHA256 a321c0d263a3f55ed2888d259584a239511f370b36f293e0194f0f8ee8c93a22
MD5 673200932df8c80ce02a4406b05b66f1
BLAKE2b-256 ffd1db55539f257d7fc2b7f4f179107ff8c563bf9259acdd65521690df807c35

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wordx-0.4.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bddf44329b80e4b1f17a96bf27b71e178117a21cd2f926546178906c597908ac
MD5 076049939f2a23dc3b332994951ffa0d
BLAKE2b-256 84e60bd00d1bb950aa8bb5f8724bce694d9634508826f01f2329eaae107b4079

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