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.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.10.0
File Size Uploaded Provenance Actions
flask_artisan-0.10.0.tar.gz 126.0 kB With provenance Details for flask_artisan-0.10.0.tar.gz

Built distribution (wheel)

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

Total release size: 267.8 kB

Release files / flask_artisan-0.10.0.tar.gz

Download URL flask_artisan-0.10.0.tar.gz
Size 126.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0e1a2d724e3179427720a841eea9b108adfc5e4eb4ef7e32a78e315b622ab5d2
BLAKE2b-256 checksum
How to use checksums
5c24fd16b3ff344d34dab8a97456e9706f26e604f83ccfc05947e692cff0cb38
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.10.0-py3-none-any.whl

Download URL flask_artisan-0.10.0-py3-none-any.whl
Size 141.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f188c7b96e10961f78b89eefdb0a2abe14b4d4445ce75f863e8fba81cf70ccea
BLAKE2b-256 checksum
How to use checksums
d885d1de714ed3ae0f670191687d348de8f0823aa82a355f8588537e495d7a5f
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.10.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.10.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