Biliothèque personnalisée pour accéler le devéloppement d'API basé sur FastAPI
Project description
I - Présentation
1. Description
Passioné par la programmation et le développement avec python je me lance dans la création progressive d'une bibliothèque personnalisée basé sur pour FASTAPI m'ameliorer , devenir plus productif et partager mon expertise .
2. Objectifs
ElrahAPI permet notament dans le cadre d'un développement avec FASTAPI de :
-
Démarrer rapidement un projet en fournissant une architecture de dossier ;
-
Minimiser les configurations de base de données et de gestion des sessions pour un projet ;
-
Fournir et gérer un système d'authentification simple et configurable ;
-
Générer les principaux cruds d'un model ;
-
Fournir Configurer facilement les routes avec des configurations personnalisées ;
-
Pemettre d'utiliser les sessions asynchrones ;
-
Fourni des classes pour gérer les seeders ;
-
Permet d'effectuer un enregistrement des logs dans la base de donnée grâce à un middleware de log ;
-
Fournir un middleware de gestion d'erreur ;
-
Une gestion simple et efficace de l'autorisation par l'utilisation de rôles et privileges ;
-
Fournir une pile d'utilitaires ;
-
L'utilisation de gestionnaire de websocket .
II - Installation
Il serait judicieux de créer un environnement virtuel dans un repertoire avant de poursuivre l'installation
- Créer un environnement virtuel :
python -m venv env
ou si virtualenv est dejà installé au préalable
virtualenv env
-
Avec Github :git clone https://github.com/Harlequelrah/Library-ElrahAPI cd Library-ElrahAPI pip install -e ./elrahapi
-
Avec pip :pip install elrahapi
III - Contact ou Support
Pour des questions ou du support, contactez-moi à maximeatsoudegbovi@gmail.com ou au (+228) 91 36 10 29.
La version actuelle est le 1.2.1.6
Vérifier la version en executant pip show elrahapi
Pour un exemple concret , vous pouvez consulter la branche du repository de test pour cette version ou la plus récente si les améliorations son minimes: https://github.com/Harlequelrah/elrahapi-testproject
La documentation et le guide d'utilisation se trouvent dans le repertoire docs :
docs/
├── documentation.md
├── guide.md
Les liens ci-dessous permettent d'accéder à une documentation web :
-
https://harlequelrah.github.io/Library-ElrahAPI/docs/documentation -
https://harlequelrah.github.io/Library-ElrahAPI/docs/guide
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file elrahapi-1.2.1.7.tar.gz.
File metadata
- Download URL: elrahapi-1.2.1.7.tar.gz
- Upload date:
- Size: 125.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b4a2125c4bf662e90e37cbfcfdeb8f6f6c4ac663dc6a33bc6ae04462bdaaf2a
|
|
| MD5 |
9700d2cee5a9ba3a06ddbb14c872a18f
|
|
| BLAKE2b-256 |
7b5736fb6b397e98ce00b60d700098c970d2c61e684a0be71ceef8c52534deb1
|
Provenance
The following attestation bundles were made for elrahapi-1.2.1.7.tar.gz:
Publisher:
python-publish.yml on Harlequelrah/Library-ElrahAPI
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
elrahapi-1.2.1.7.tar.gz -
Subject digest:
5b4a2125c4bf662e90e37cbfcfdeb8f6f6c4ac663dc6a33bc6ae04462bdaaf2a - Sigstore transparency entry: 928481702
- Sigstore integration time:
-
Permalink:
Harlequelrah/Library-ElrahAPI@6a641b532bb52e4fab6215ec9e148d2645a485fd -
Branch / Tag:
refs/tags/v1.2.1.7 - Owner: https://github.com/Harlequelrah
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@6a641b532bb52e4fab6215ec9e148d2645a485fd -
Trigger Event:
release
-
Statement type:
File details
Details for the file elrahapi-1.2.1.7-py3-none-any.whl.
File metadata
- Download URL: elrahapi-1.2.1.7-py3-none-any.whl
- Upload date:
- Size: 84.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14bf8096ab02b01e620edf1deb7a60d177b16d1f301de504ad37f7c696934dcb
|
|
| MD5 |
369d45851ffc91e275249a189674d76f
|
|
| BLAKE2b-256 |
256951ab11daa5b4be59d2a5dde6ae88409e78e567112982ff2ad794d13926d7
|
Provenance
The following attestation bundles were made for elrahapi-1.2.1.7-py3-none-any.whl:
Publisher:
python-publish.yml on Harlequelrah/Library-ElrahAPI
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
elrahapi-1.2.1.7-py3-none-any.whl -
Subject digest:
14bf8096ab02b01e620edf1deb7a60d177b16d1f301de504ad37f7c696934dcb - Sigstore transparency entry: 928481708
- Sigstore integration time:
-
Permalink:
Harlequelrah/Library-ElrahAPI@6a641b532bb52e4fab6215ec9e148d2645a485fd -
Branch / Tag:
refs/tags/v1.2.1.7 - Owner: https://github.com/Harlequelrah
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@6a641b532bb52e4fab6215ec9e148d2645a485fd -
Trigger Event:
release
-
Statement type: