Skip to main content

Flask-Artisan

Les conventions de Laravel, mais c'est du Flask.

Flask-Artisan donne une structure prête à l'emploi aux applications Flask : conteneur de services, service providers, configuration par fichiers, façades et helpers. L'application reste un vrai objet Flask : flask run, les extensions Flask et leur documentation fonctionnent tels quels.

Version 0.10 (alpha) : l'API peut encore changer avant la 1.0. Voir le changelog.

Documentation : https://ahoblepierre.github.io/flask-artisan/

Démarrer un projet

Prérequis : Python 3.10 ou plus.

python3 -m venv .venv && source .venv/bin/activate
pip install flask-artisan
flask-artisan new blog
cd blog
pip install -r requirements.txt
flask run

Un aperçu

# routes/api.py
from flask_artisan import Route
from app.http.controllers.user_controller import UserController

Route.get("/users", UserController.index).name("users.index")

with Route.prefix("/admin").name("admin.").middleware("auth"):
    Route.post("/users", UserController.store)

Ce que couvre la documentation

Contribuer

Voir CONTRIBUTING.md.

Licence

MIT

Metadata

Release files for flask-artisan 0.10.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flask-artisan 0.10.2
File Size Uploaded Provenance Actions
flask_artisan-0.10.2.tar.gz 128.3 kB With provenance Details for flask_artisan-0.10.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flask-artisan 0.10.2
File Interpreter ABI Platform Actions
flask_artisan-0.10.2-py3-none-any.whl Python 3 none any Details for flask_artisan-0.10.2-py3-none-any.whl

Total release size: 271.8 kB

Release files / flask_artisan-0.10.2.tar.gz

Download URL flask_artisan-0.10.2.tar.gz
Size 128.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5fe015419a2bec65bff3a9255c257dab86a547b6fcb1218832f3ab74b83268c2
BLAKE2b-256 checksum
How to use checksums
b49eb10e3bacee754a82b94828b8bde4a4b874bd7daa0b826d4637246c9a4e87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Release files / flask_artisan-0.10.2-py3-none-any.whl

Download URL flask_artisan-0.10.2-py3-none-any.whl
Size 143.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec70fa2916181fdc57b5b0d3b3dfc944782bc9f62d968061b8a8d9e63359f3ee
BLAKE2b-256 checksum
How to use checksums
5811362eb5eb065c2a5253fa336e633773d815865142db7631e8660d6b5a8acd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Security for flask-artisan 0.10.2

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for flask_artisan-0.10.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page