Laravel-inspired framework core for Flask — elegant, expressive, modern.
Project description
Laraflask Core v1.4.0
A Laravel-inspired framework for Python — built on top of Flask + SQLAlchemy. Elegant. Expressive. Modern.
Laraflask brings Laravel's developer experience philosophy to the Python ecosystem: an Eloquent-style ORM, an Artisan CLI, a Service Container with dependency injection, Blade-like templating, a Job Queue, a Task Scheduler, and more than 20 other ready-to-use modules — all with an API that feels familiar to anyone who has ever written Laravel code.
Installation
pip install laraflask-core
# or with all optional dependencies:
pip install laraflask-core[all]
Changelog
v1.4.0 (2026-06-28)
- Implemented 9 previously-missing Artisan generator commands:
make:request,make:policy,make:resource,make:rule,make:provider,make:seeder,make:factory,make:observer,make:command make:resourcesupports--jsonapito scaffold aJsonApiResourceinstead of the defaultApiResourcemake:policyandmake:observersupport--modelto generate type-hinted methods against a specific model- Added 3 new base classes required by the generators above, since they didn't exist yet:
laraflask.orm.seeder.Seeder,laraflask.orm.factory.Factory(Faker-backed),laraflask.orm.observer.Observer - Added
Model.observe(ObserverClass)— wires anObserverto the existingModelCreating/ModelCreated/etc. lifecycle events without duplicating dispatch logic. Note: these lifecycle events still aren't dispatched automatically fromsave()/delete()— see the generated Observer's docstring for the manual-dispatch workaround - Added 26 new unit tests covering every new command and base class
- Version bump:
1.3.0→1.4.0
v1.3.0 (2026-06-28)
- Eliminated all top-level
from flask import …in user-space files (routes, Controller, Handler, tests) Controller.respond()andController.error()now delegate toApiResponsefrom coreHandlerusesApiResponse.not_found()/ApiResponse.validation_error()instead of rawjsonify()- README examples corrected: middleware uses inline
abort(), template controller usesself.view(), Handler example usesApiResponse - All Provider imports updated for consistency with top-level
laraflasknamespace - Version bump:
1.2.0→1.3.0
v1.2.0 (2026-06-28)
- Updated all dependency versions to latest stable releases
flask→>=3.1.0,sqlalchemy→>=2.0.36,werkzeug→>=3.1.0bcrypt→>=4.2.1,pyjwt→>=2.10.1,cryptography→>=44.0.0celery→>=5.4.0,redis→>=5.2.1,gunicorn→>=23.0.0pytest→>=8.3.0,pytest-cov→>=6.0.0,faker→>=33.0.0flask-cors→>=5.0.0,flask-session→>=0.8.0- Bumped
setuptoolsbuild requirement to>=75.0 - Version bump:
1.1.0→1.2.0
v1.1.0
- Initial public release
Project details
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 laraflask_core-1.4.0.tar.gz.
File metadata
- Download URL: laraflask_core-1.4.0.tar.gz
- Upload date:
- Size: 109.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b938bdfaffb3db76253584ebe19c31b9a92c9e78120f08023ff9d7796b8aa884
|
|
| MD5 |
732aad7bc13028f0cae7459c5cdbae71
|
|
| BLAKE2b-256 |
82396383cd83ff2696e252a3240e687f03d480ac8216ab17cca760f6d62b8c9f
|
File details
Details for the file laraflask_core-1.4.0-py3-none-any.whl.
File metadata
- Download URL: laraflask_core-1.4.0-py3-none-any.whl
- Upload date:
- Size: 121.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17282eb954ba9b8e61fe8e1e2cbc1c5871fd6687d376188172b67a682bdd0944
|
|
| MD5 |
56a904f3d3c0978f4dae7ceee8520f95
|
|
| BLAKE2b-256 |
34fb73858c197e8a6dd1cc3874fbfb356a66912ce6cd8285a7bc577845304708
|