BSD Ports

textproc/py-docxtpl 0.20.2 FreeBSD

Python docx template engine

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
4b0d34734b
License
LGPL21
Categories
textproc, python
Package size
46.9 KiB, 205.9 KiB installed

Description

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 example 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.

In the other systems

SystemPortVersion
FreeBSDtextproc/py-docxtpl0.20.2
DragonFlytextproc/py-docxtpl0.16.6_2
HardenedBSDtextproc/py-docxtpl0.20.2
GhostBSDtextproc/py-docxtpl0.20.2

Install

Binary package:

pkg install py312-docxtpl

From the ports tree:

cd /usr/ports/textproc/py-docxtpl/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-docxtpl>0:textproc/py-docxtpl

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.20.20.20.2-0.20.0_10.20.2
FreeBSD:14:quarterly0.20.20.20.2n/a0.20.00.20.2
FreeBSD:15:latest0.20.20.20.2n/a0.20.0_10.20.0_1
FreeBSD:15:quarterly0.20.20.20.2n/an/an/a
FreeBSD:16:latest0.20.20.20.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 4

The full lists below include those, and their dependencies in turn.

Build dependencies 11
Run dependencies 18

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
docxtpl-0.20.2.tar.gz17890eddf3350d70b4d123208e801d585bcb313d21044a377a14f75a66d0965841de1
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
4b0d34734b Jose Alonso Cardenas Marquez textproc/py-docxtpl: Update to 0.20.2