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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for Moustache-fusion.beta-0.0.1.post17054.tar.gz
Algorithm Hash digest
SHA256 6c982abcab37d68ec55203ec4c48b02e7dfaa6641831b86fa3bef0a8e309a7f5
MD5 3597b3b3a77bd4688a4d12b612c8a890
BLAKE2b-256 4eb3d9ca728ecec04980af51602940daee03b23f0177d284f14ed25db8c89cac

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