Skip to content

Declarative python web framework based on flask. Inspired by SwiftUI.

License

Notifications You must be signed in to change notification settings

subatiq/stripes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stripes

Declarative web framework for fast application development. I'm just starting out with this one, so expect lots of features soon!

Declarative UI builder mixed with flask web framework for fast application development. I'm just starting out with this one, so expect lots of features soon!

preview

How to use

The syntax is inspired by SwiftUI and for now is fully presented in the app.py.

Install dependencies

pip install flask

Run the example

python app.py

Configure main page

If you want another file to be the entry point to your prototype, then specify it in settings.py:

main_page = 'your_app_name'

Don't forget, that your stripes declarations should be wrapped in the App view and assigned to body variable. Otherwise flask will not recognize your code.

body = App(your_main_view)

Have fun

That's it! If you have any questions or ideas, feel free to contact me: subatiq@gmail.com

About

Declarative python web framework based on flask. Inspired by SwiftUI.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published