flask-peewee
provides a layer of integration between the flask web framework and the peewee orm.
batteries included:
admin interface
authentication
rest api
requirements:
python 3.8 or greater
check out the documentation.
admin interface
influenced heavily by the django admin, provides easy create/edit/delete functionality for your project’s models.
or you can use one of the themes. Here is the crux theme:
rest api
provides a RESTful interface for your project’s models.
curl localhost:5000/api/user/
{
"meta": {
"model": "user",
"next": "",
"page": 1,
"previous": ""
},
"objects": [
{
"username": "admin",
"admin": true,
"email": "",
"join_date": "2025-09-16 18:34:49",
"active": true,
"id": 1
},
{
"username": "coleifer",
"admin": false,
"email": "coleifer@gmail.com",
"join_date": "2025-09-16 18:35:56",
"active": true,
"id": 2
}
]
}
installing
pip install flask-peewee
example app
the project ships with an example app, which is a silly twitter clone. to start the example app, cd into the “example” directory and execute the run_example.py script:
cd example/ python run_example.py
if you would like to test out the admin area, log in as “admin/admin” and navigate to:
you can check out the REST api at the following url:
Metadata
Release files for flask-peewee 4.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flask_peewee-4.0.1.tar.gz | 2.7 MB | Without provenance | Details for flask_peewee-4.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flask_peewee-4.0.1-py3-none-any.whl | Python 3 | none | any | Details for flask_peewee-4.0.1-py3-none-any.whl |
Total release size: 4.7 MB
Release files / flask_peewee-4.0.1.tar.gz
| Download URL | flask_peewee-4.0.1.tar.gz |
|---|---|
| Size | 2.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
59bd6983153e53b28dfb776e5a5c63b401c422f854bfcede186df25020feaa9d
|
|
BLAKE2b-256 checksum How to use checksums |
75f6d5824959f972d28f8457062b8693b3bb24d475ee6cfd1a4261f451eed20b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / flask_peewee-4.0.1-py3-none-any.whl
| Download URL | flask_peewee-4.0.1-py3-none-any.whl |
|---|---|
| Size | 2.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
28cbf32624030cbb46c4e0a8b263ea9e26dc0c7cf2e935085bab5a287b636540
|
|
BLAKE2b-256 checksum How to use checksums |
053b8758d28cf0c40b549e966d5ea75a28b5fb539f7ce06360d58d91640d56e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for flask-peewee 4.0.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.