A Python framework for building full-stack web applications with minimal code
Project description
FeatherOS
A Python framework for building full-stack web applications with minimal code.
Features
- Minimal Code: Build full-stack apps with just Python
- No JavaScript Required: Frontend and backend in one language
- Plugin System: Extend functionality with plugins managed through owner admin panel
- Database Abstraction: Simple ft.db.* API for all database operations
- CLI Tools: Easy project scaffolding and development
Quick Start
For Developers Using FeatherOS
# Install the framework
pip install featheros
# Create a new app
feather init my-app
cd my-app
# Run the development server
feather serve
Example App
import feather as ft
app = ft.App(title="My App")
@app.page("/")
def home():
ft.title("Welcome to FeatherOS")
with ft.form() as form:
name = ft.input("Name", required=True)
email = ft.input("Email", type="email")
submit = ft.button("Submit")
if form.submitted:
ft.db.save("users", {"name": name.value, "email": email.value})
ft.success(f"Welcome {name.value}!")
For Framework Owners
Running the Admin Panel & Server
# Install dependencies
pip install -r requirements.txt
# Run both plugin server and admin panel
python main.py
- Admin Panel: http://localhost:5000/admin
- Plugin Server API: http://localhost:5000/api
Architecture
- feather/: Core framework package
- server/: Plugin distribution server
- admin/: Owner admin panel for managing plugins
- plugins/: Example starter plugins
- docs/: Documentation
- examples/: Example applications
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
featheros-0.1.21.tar.gz
(34.7 kB
view details)
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 featheros-0.1.21.tar.gz.
File metadata
- Download URL: featheros-0.1.21.tar.gz
- Upload date:
- Size: 34.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97f3dc689ad77b36a67adc14c54365ea3d50985b66f648d22126c3b6deadca49
|
|
| MD5 |
f21f4d601080e0508a355351089e5c23
|
|
| BLAKE2b-256 |
019a53ea7981f41a277d0875b878afe96178622dbf9c15fe7f3ebe8b7fd1abc7
|
File details
Details for the file featheros-0.1.21-py3-none-any.whl.
File metadata
- Download URL: featheros-0.1.21-py3-none-any.whl
- Upload date:
- Size: 43.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd711069b7e3faedf1645072792fa291a5e1c4b9b1f4ce707e382b25d39d2c14
|
|
| MD5 |
0354e0ade09b3013f614e17174a124ba
|
|
| BLAKE2b-256 |
9305a1e4794205601de0882bfe4c42745de0e5e72899ead7fb59564718890710
|