https://github.com/py-package/lite
Lite is a lightweight Python web framework designed for simplicity and ease of use.
https://github.com/py-package/lite
python pythonframework pythonlite
Last synced: about 1 month ago
JSON representation
Lite is a lightweight Python web framework designed for simplicity and ease of use.
- Host: GitHub
- URL: https://github.com/py-package/lite
- Owner: py-package
- License: mit
- Created: 2023-03-21T16:06:21.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-02T19:31:03.000Z (over 1 year ago)
- Last Synced: 2025-04-21T05:42:38.011Z (2 months ago)
- Topics: python, pythonframework, pythonlite
- Language: Python
- Homepage: https://py-package.com
- Size: 54.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
## Lite Framework (WIP)
Lite is a lightweight Python web framework designed for simplicity and ease of use. It provides a minimalistic approach to web development with basic routing and request/response handling.
### Getting Started
#### Installation
```bash
pip install lite
```#### Basic Usage
```python
lite craft app_name
```This will create a new app in the current directory with the following structure:
-- app_name
-- app
-- controllers
-- middlewares
-- models
-- views
-- config
-- config.py
-- database.py
-- storage.py
-- storage
-- routes
-- routes.py
-- .env#### Running the App
```bash
lite serve
```This will start the app on port 8080 by default. You can change the port by setting the `PORT` environment variable.