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.9 (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.9.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.9.0
File Size Uploaded Provenance Actions
flask_artisan-0.9.0.tar.gz 114.0 kB With provenance Details for flask_artisan-0.9.0.tar.gz

Built distribution (wheel)

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

Total release size: 237.6 kB

Release files / flask_artisan-0.9.0.tar.gz

Download URL flask_artisan-0.9.0.tar.gz
Size 114.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ad83b0e3aa571eadd9b9b1c92d8ff797433314f9cc987b01a542ee56758b2f6f
BLAKE2b-256 checksum
How to use checksums
e78312a7e90f96984a161cb48b1c6bc80033ca27f35c8c2339c20a34cce4e44c
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.9.0-py3-none-any.whl

Download URL flask_artisan-0.9.0-py3-none-any.whl
Size 123.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1f88ff07a28543f00527d469484aff97db995b54f4ada29e4ebd706cf528856b
BLAKE2b-256 checksum
How to use checksums
c5d5e058c0c4ae205197223a404a2be5216037767c0145aa83ef3e06e548451f
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.9.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.9.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