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.post17064.tar.gz (6.2 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for Moustache-fusion.beta-0.0.1.post17064.tar.gz
Algorithm Hash digest
SHA256 07c6a9ec3c9cfdbb352a9459b1475e8025360b107c63922ca8e0c140a64d356c
MD5 42bcb28ad76bbf3014eed4f8d6ad0f8c
BLAKE2b-256 e95f6e7f34d75df7bcb3806ef8a1382156a006b483402b310223b605772a0c32

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