Skip to content

sinisaos/simple-piccolo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple-piccolo is a single-file application for quickly prototyping, exploring and testing ideas without any configuration, using Sqlite. The application use FastAPI or Litestar or Lihil, Piccolo ORM and Piccolo Admin for easy database interaction.

How to use:

Clone the repository in a fresh virtualenv.

Install dependencies

pip install -r requirements.txt

You can choose between three router frameworks, FastAPI or Litestar or Lihil.

For starting FastAPI you can use:

$ python fastapi_app.py

For starting Litestar you can use:

$ python litestar_app.py

For starting Lihil you can use:

$ python lihil_app.py

After site is running log in as admin user on http://localhost:8000/admin/ or go to http://localhost:8000/docs and use the FastAPI or Lihil interactive API documentation. For Litestar go to http://localhost:8000/schema/swagger and use the Litestar interactive API documentation or log in as admin user on http://localhost:8000/admin/.

About

Single-file Piccolo ORM application for quickly prototyping, exploring and testing ideas without any configuration.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages