coleifer/flask-peewee
coleifer/flask-peewee has 785 GitHub stars and 174 forks. GitHot measured +1 in 7 days and +1 in 15 days. Last checked 2026-11-10 23:18 UTC. Last push 2026-11-05.
flask integration for peewee, including admin, authentication, rest api and more
Measured star growth
- in 24h
- Update delayed
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalflask-peewee
provides a layer of integration between the flask <https://flask.palletsprojects.com/>_
web framework and the peewee orm <https://docs.peewee-orm.com/>_.
batteries included:
- admin interface
- authentication
- rest api
requirements:
flask <https://github.com/pallets/flask>_peewee <https://github.com/coleifer/peewee>_wtforms <https://github.com/wtforms/wtforms>_wtf-peewee <https://github.com/coleifer/wtf-peewee>_- python 3.8 or greater
check out the documentation <https://flask-peewee.readthedocs.io/>_.
admin interface
influenced heavily by the django <https://djangoproject.com>_ admin, provides easy
create/edit/delete functionality for your project's models.
.. image:: https://media.charlesleifer.com/blog/photos/im-1783454777-579.png
or you can use one of the themes. Here is the crux theme:
.. image:: https://media.charlesleifer.com/blog/photos/fp-crux-full.png
rest api
provides a RESTful interface for your project's models.
::
curl localhost:5000/api/user/
{
"meta": {
"model": "user",
"next": "",
"object_count": 2,
"page": 1,
"page_count": 1,
"previous": ""
},
"objects": [
{
"username": "admin",
"admin": true,
"join_date": "2025-09-16T18:34:49",
"active": true,
"id": 1
},
{
"username": "coleifer",
"admin": false,
"join_date": "2025-09-16T18: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:
Explore related projects
freeCodeCamp/freeCodeCamp
freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.
458,964 starsdonnemartin/system-design-primer
Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
377,607 starsreact/react
The library for web and native user interfaces.
252,512 starsvuejs/vue
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
212,622 stars