====== Veiwer API ====== API de gestion d'image : analyse des méta-données, stockage, consultation et création d'image pyramidale à partir d'image HD. ===== Ressources ===== * Implémentation en Javascript avec le framework Express : https://git.clapas.org/clapas/viewer-api/ ===== Technos ===== * [[https://github.com/tiangolo/fastapi|FastAPI]] : micro-framework API REST * [[https://pypi.org/project/pyvips/|Pyvips]] : bibliothèque de manipulation d'image (pyramide) basé sur [[https://github.com/libvips/libvips|libvips]]. Équivalant Python de [[https://sharp.pixelplumbing.com/|Sharp]] en JS. * [[https://github.com/sylikc/pyexiftool| PyExifTool]] : bibliothèque permettant d'accéder à l'outil ExifTool pour extraire et manipuler les métadonnées d'une image. * Authentification : * [[https://goauthentik.io/|Authentik]] : solution Identity Provider (SSO et OAuth). * [[http://fastapi.tiangolo.com/tutorial/security/oauth2-jwt/?h=oauth#about-jwt| pyjwt]]: FastAPI et Pyjwt. * Stockage d'image dans Serveur S3 : * [[https://min.io/docs/minio/container/index.html|MinIO]] : solution stockage API S3 utilisant Docker * [[https://github.com/s3fs-fuse/s3fs-fuse| S3FS-Fuse]] : outil permettant de monter une dépôt S3 comme un dossier du système de fichiers local.