A library to generate Microsoft Office Word 2007 documents.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
docxgen-0.1.3.tar.gz
(26.0 kB
view details)
Built Distribution
File details
Details for the file docxgen-0.1.3.tar.gz
.
File metadata
- Download URL: docxgen-0.1.3.tar.gz
- Upload date:
- Size: 26.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 684f5cb149cac9112c09000fbacdeae2fedddec1fe7a86e9a360133d247a86ec |
|
MD5 | dcaaf0f50590a872b80056ed842b902c |
|
BLAKE2b-256 | 084b08acab3581a9bc75e5f77c1692f4c939ab85d4c06ee574a39471f2ccb826 |
File details
Details for the file docxgen-0.1.3.macosx-10.8-intel.exe
.
File metadata
- Download URL: docxgen-0.1.3.macosx-10.8-intel.exe
- Upload date:
- Size: 87.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da36855ce3987b18a5cc9294772490483182f060e911ffa3e51ee1eb1bc6ac55 |
|
MD5 | cf496d03051a7f43ffdfe79e0615beab |
|
BLAKE2b-256 | 847ec9f1c64227630ce45d43c1780c5326903c7726ddd368286944feb0fe34da |