pibooth-pcloud
Plugin pibooth-pcloud pour pibooth qui envoie automatiquement les photos finales vers un compte pCloud et affiche un QR code vers la galerie publique sur l’écran d’attente.
Fonctionnalités :
Authentification par email + mot de passe (digest par appel, aucun OAuth à créer côté pCloud).
Upload d’un album par événement (folder_path/album_name) et lien public généré sur ce sous-dossier.
Synchronisation de rattrapage : au démarrage et après chaque photo, les fichiers présents en local mais absents de pCloud sont envoyés, ce qui absorbe les coupures Internet pendant un événement.
Installation
pip install pibooth-pcloud
Configuration
Vérifier les identifiants pCloud
Le script fourni valide les identifiants et imprime le bloc à coller dans ~/.config/pibooth/pibooth.cfg :
pibooth-pcloud-token
L’email doit être vérifié côté pCloud — sans vérification, l’API refuse la création de liens publics.
Exemple de configuration
Voir pibooth.cfg.example à la racine du dépôt. Bloc à ajouter dans ~/.config/pibooth/pibooth.cfg :
[PCLOUD]
# Activer le plugin
activate = True
# Identifiants pCloud (stockés en clair — restreindre les droits du fichier)
email = your.email@example.com
password = your-password
# Région du compte (EU ou US)
region = EU
# Dossier parent sur pCloud (créé s'il n'existe pas)
folder_path = /Pibooth
# Sous-dossier événement sur pCloud ; le lien public cible ce sous-dossier
album_name = MonEvenement
# Afficher le QR code du lien public sur l'écran d'accueil (les envois
# vers pCloud continuent si False)
show_qr = True
# Position du QR code (top-left, top-right, bottom-left, bottom-right, center)
qr_position = top-right
# Taille du QR code (3-10)
qr_size = 5
# Marge du QR code par rapport au bord (pixels)
qr_margin = 10
Après édition, restreindre les droits du fichier :
chmod 600 ~/.config/pibooth/pibooth.cfg
Fonctionnement
Au démarrage de pibooth :
Authentification par digest, création du dossier parent et de l’album.
Récupération du lien public de l’album, génération du QR code.
Première passe de synchronisation : les photos locales absentes de pCloud sont envoyées.
Après chaque photo (state_processing_exit) :
Synchronisation en arrière-plan : la nouvelle photo et toute photo restée en retard sont envoyées. L’opération ne bloque pas l’interface.
Metadata
Release files for pibooth-pcloud 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pibooth_pcloud-1.0.4.tar.gz | 9.6 kB | Without provenance | Details for pibooth_pcloud-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pibooth_pcloud-1.0.4-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for pibooth_pcloud-1.0.4-py2.py3-none-any.whl |
Total release size: 18.9 kB
Release files / pibooth_pcloud-1.0.4.tar.gz
| Download URL | pibooth_pcloud-1.0.4.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7661196fa1e87c610de2407985d3a4982750222f6152d75d3bb5e0a7b671fae5
|
|
BLAKE2b-256 checksum How to use checksums |
84a6b743cca97a312e97967f13edf97032b7001d77ec78d1c1771440273af935
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / pibooth_pcloud-1.0.4-py2.py3-none-any.whl
| Download URL | pibooth_pcloud-1.0.4-py2.py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
162591bb2601726210989ae232a713d42f18300b993ad66fc9353669cf41938f
|
|
BLAKE2b-256 checksum How to use checksums |
ea6dfb9c1e4439ca17b5a193402bc9c24679975beaacc9497ed883f40acfbba4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for pibooth-pcloud 1.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.