Skip to main content

Module post-Moustache pour fusion d'annexes PDF dans PDF principal

Project description

# Moustache-fusion (skittlespy)

"Moustache-fusion" (ex- skittlespy) est un module de fusion PDF.

## Installation

### Docker
TODO

### Ubuntu

Sur une distribution Ubuntu 16.04 LTS, voici la procédure à suivre :

```bash
apt update -y
apt install -y curl pdftk poppler-utils pdfgrep

curl https://bootstrap.pypa.io/get-pip.py | python3

pip3 install moustache-fusion
```

## Utilisation de l'API

### Fichier de configuration JSON

Ce fichier contient la liste des balises à rechercher et les fichiers annexes à insérer.
Un certain nombre d'options sont également disponibles.

annexes : (array) tableau contenant chaque annexe.
Une annexe est définie par la liste suivante :
+ name : (string) nom du fichier contenant l'annexe
+ pattern : (string) nom de la balise à trouver pour insérer le fichier contenant l'annexe

options : contient la liste des options disponibles. Cette liste est optionnelle.
+ nopagenumbering : (bool, false par défaut) dévalide la numérotation des pages des annexes

exemple de fichier :
```json
{
"annexes":[
{
"name": "annexe1.pdf",
"pattern": "BALISE1"
},
{
"name": "annexe2.pdf",
"pattern": "BALISE2"
}
],
"options":
{
"nopagenumbering": false
}
}

```



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

Moustache-fusion.beta-0.0.1.post17050.tar.gz (6.1 kB view details)

Uploaded Source

File details

Details for the file Moustache-fusion.beta-0.0.1.post17050.tar.gz.

File metadata

File hashes

Hashes for Moustache-fusion.beta-0.0.1.post17050.tar.gz
Algorithm Hash digest
SHA256 a86049b4d68a901bb77c9f7cada8cf252ec30059c29098e0f2e1f4828c4085b7
MD5 926502808b46c7d2f8d63bba180d3d63
BLAKE2b-256 7888aa78437eda15f37d685ffcaf44013e105210cbf1947597d4e5069299bcd8

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