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.3.0.tar.gz (405.7 kB view details)

Uploaded Source

Built Distribution

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

wordx-0.3.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wordx-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4c33fe701bd2ace5f7d1f4ac074f4a5173db8a4f00f322a093ef65927ef648e4
MD5 a38e4aa3f3f11d1d061d9281765eee60
BLAKE2b-256 728c714b8d1d2e6e87a93a50fd2396d7da6e2b24ff5e3b71c0e3553696ef1d35

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wordx-0.3.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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fb858031053a707fc1d2872e037db57edd5be52173f6ea08b6e1d5c8445de67a
MD5 d73d93e49e730fe1122f8c315b9cd51e
BLAKE2b-256 7125a65ea05e4de86550cec50b875003ae33d7d5fcd6e5fd67acbe230c6ae0f0

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