Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ismael Luceno (51eb4770dc69a9ba8bfe584cbda1b1d4e0b30bb4)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (51eb4770dc69a9ba8bfe584cbda1b1d4e0b30bb4)
  • Date: Mon, 28 Aug 2017 22:24:29 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

ChangeLog | 3 +++
python-pypi/docxtpl/DEPENDS | 2 ++
python-pypi/docxtpl/DETAILS | 32 ++++++++++++++++++++++++++++++++
python-pypi/docxtpl/HISTORY | 2 ++
4 files changed, 39 insertions(+)

New commits:
commit 51eb4770dc69a9ba8bfe584cbda1b1d4e0b30bb4
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

docxtpl: new spell, Python docx template engine

diff --git a/ChangeLog b/ChangeLog
index 4f6fa42..2fef1b8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2017-08-28 Ismael Luceno <ismael AT sourcemage.org>
+ * python-pypi/docxtpl: new spell, Python docx template engine
+
2017-08-28 Vlad Glagolev <stealth AT sourcemage.org>
* http/wrk: new spell, modern HTTP benchmarking tool
* net/nethogs: new spell, Linux 'net top' tool
diff --git a/python-pypi/docxtpl/DEPENDS b/python-pypi/docxtpl/DEPENDS
new file mode 100755
index 0000000..1eef4f0
--- /dev/null
+++ b/python-pypi/docxtpl/DEPENDS
@@ -0,0 +1,2 @@
+depends PYTHON &&
+depends python-docx
diff --git a/python-pypi/docxtpl/DETAILS b/python-pypi/docxtpl/DETAILS
new file mode 100755
index 0000000..e0bf506
--- /dev/null
+++ b/python-pypi/docxtpl/DETAILS
@@ -0,0 +1,32 @@
+ SPELL=docxtpl
+ VERSION=0.3.9
+ SOURCE="$SPELL-$VERSION.tar.gz"
+
VX=4d/7a/b41ea2428c3ef8b7bfef437369994f505c82715dfaedb94b34c9e6fc4e66
+ SOURCE_URL[0]=https://pypi.python.org/packages/$VX/$SOURCE
+
SOURCE_HASH=sha512:ac17b7ad5b97c210c4ba67948b771e399dcbb9b1fafcc979cac75662359fe7962d99320598f44da4c87c183062cb0f1f166b4df61bcf0e2f7282be59f765958a
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE="https://github.com/elapouya/python-docx-template";
+ LICENSE[0]="LGPL"
+ ENTERED=20170828
+ KEYWORDS=""
+ SHORT="Python docx template engine"
+cat << EOF
+Use a docx as a jinja2 template.
+
+This package uses 2 major packages:
+* python-docx for reading, writing and creating sub documents
+* jinja2 for managing tags inserted into the template docx
+
+python-docx-template has been created because python-docx is powerful for
+creating documents but not for modifying them.
+
+The idea is to begin to create an exemple of the document you want to
generate
+with microsoft word, it can be as complex as you want: pictures, index
tables,
+footer, header, variables, anything you can do with word. Then, as you are
+still editing the document with microsoft word, you insert jinja2-like tags
+directly in the document. You save the document as a .docx file (xml format):
+it will be your .docx template file.
+
+Now you can use python-docx-template to generate as many word documents you
+want from this .docx template and context variables you will associate.
+EOF
diff --git a/python-pypi/docxtpl/HISTORY b/python-pypi/docxtpl/HISTORY
new file mode 100644
index 0000000..58ff79c
--- /dev/null
+++ b/python-pypi/docxtpl/HISTORY
@@ -0,0 +1,2 @@
+2017-08-28 Ismael Luceno <ismael AT sourcemage.org>
+ * DEPENDS, DETAILS: spell created



  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (51eb4770dc69a9ba8bfe584cbda1b1d4e0b30bb4), Ismael Luceno, 08/28/2017

Archive powered by MHonArc 2.6.24.

Top of Page