docxgen is a python library to generate Microsoft Office Word 2007 Document. Without knowing the details of the WordprocessingML, you may create a beautiful Word Document, as:
from docxgen import Document, title
doc = Document()
doc.update(
title='Moby Dick',
creator='Herman Melville',
created=datetime(...)
)
body = doc.body
body.append(title('Moby Dick'))
body.append(subtitle('Moby Dick'))
body.append(h1('Chapter 1'))
body.append(paragraph([run('Call me Ishmael. Some years ago ...')]))
doc.save('/tmp/moby-dick.docx')
This work is proudly sponsored by SurveyMonkey Inc, and licensed in MIT license.
Metadata
Release files for docxgen 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| docxgen-0.1.4.tar.gz | 23.0 kB | Without provenance | Details |
Release files / docxgen-0.1.4.tar.gz
| Download URL | docxgen-0.1.4.tar.gz |
|---|---|
| Size | 23.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6111af1abda031016aa1ec3a960005f866169f659ee0377289bc095336245578
|
|
BLAKE2b-256 checksum How to use checksums |
debb4261918ad1dc15f1b7f3619b047861a488451e08a85ab65893a9d4a9d743
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for docxgen 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.