Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Create apps 10x quicker, without Javascript/HTML/CSS.

License

NotificationsYou must be signed in to change notification settings

h2oai/nitro

Repository files navigation

Create apps 10x quicker, without Javascript, HTML, or CSS.

Nitro

Currently a Work in Progress.Followthe development blog or@CrunchingData for updates, or useDiscord orDiscussions for help / ideas / suggestions.

Get started

Philosophy

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!')

Hello World app

And here's a more elaborate example with seven pages inseven Python statements:

Recruitment app


[8]ページ先頭

©2009-2025 Movatter.jp