- Notifications
You must be signed in to change notification settings - Fork11
Create apps 10x quicker, without Javascript/HTML/CSS.
License
NotificationsYou must be signed in to change notification settings
h2oai/nitro
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Create apps 10x quicker, without Javascript, HTML, or CSS.
Currently a Work in Progress.Followthe development blog or@CrunchingData for updates, or useDiscord orDiscussions for help / ideas / suggestions.
- Install
- Learn:Introduction|Guide|Gallery|Plugins|Cheatsheet
- More:Roadmap|Milestones|Backlog|Change Log
Recall how simple it is to author interactive command line applications using Python's built-ininput()
andprint()
:
defmain():name=input('What is your name?')feel=input(f'How do you feel today,{name}?')print(f'What a coincidence,{name}, I feel{feel}, too!')
> What is your name?> Boaty McBoatface> How do you feel today, Boaty McBoatface?> intrigued> What a coincidence, Boaty McBoatface, I feel intrigued, too!
Nitro brings that same level of simplicity to authoring web applications:
fromh2o_nitroimportView,boxdefmain(view:View):name=view(box('What is your name?',value='Boaty McBoatface'))feel=view(box(f'How do you feel today,{name}?',value='intrigued'))view(f'What a coincidence,{name}, I feel{feel}, too!')
And here's a more elaborate example with seven pages inseven Python statements:
About
Create apps 10x quicker, without Javascript/HTML/CSS.
Topics
Resources
License
Code of conduct
Stars
Watchers
Forks
Packages0
No packages published