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.8 (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.8.0

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.8.0
File Size Uploaded Provenance Actions
flask_artisan-0.8.0.tar.gz 89.7 kB With provenance Details for flask_artisan-0.8.0.tar.gz

Built distribution (wheel)

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

Total release size: 186.6 kB

Release files / flask_artisan-0.8.0.tar.gz

Download URL flask_artisan-0.8.0.tar.gz
Size 89.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c54dd48eb5ef0bb6177b6c01082e6c794a297c5041b45283a0bbae8ef9d20689
BLAKE2b-256 checksum
How to use checksums
9eaa8c98eef3f19490be109b18c51241c1306b33e603d9ab3b3c6fa099c51425
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 27, 2026.

Transparency log

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

Download URL flask_artisan-0.8.0-py3-none-any.whl
Size 96.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f7e78bb1061a3cd93ead1db751777ed6087d9d2376c5ce49edca63c78f1022f5
BLAKE2b-256 checksum
How to use checksums
82db28dc9090dd88f829fc04123eb4c27c26d8ededd9c4d6b8edff713df2734c
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 27, 2026.

Transparency log

Security for flask-artisan 0.8.0

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.8.0.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 27, 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