NiceGUI: Let any browser be the frontend of your Python code.

preview_player
Показать описание
Interact with Python through buttons, dialogs, 3D scenes, plots and much more.

NiceGUI handles all the web development details for you. So you can focus on writing Python code. Anything from short scripts and dashboards to full robotics projects, IoT solutions, smart home automations and machine learning projects can benefit from having all code in one place.

Of course there are valid use cases for splitting frontend and backend technologies. NiceGUI is for those who don’t want to leave the Python ecosystem and like to reap the benefits of having all code in one place. There are other options like Streamlit, Dash, Anvil, JustPy, and Pycone. But we initially created NiceGUI to easily handle the state of external hardware like LEDs, motors, and cameras. Additionally, we wanted to offer a gentle learning curve while still providing the ability to go all the way down to HTML, CSS, and JavaScript if needed.

NiceGUI runs on top of FastAPI which allows you to add authentication, routing, OpenAPI specs, and other backend functionality to your projects. The frontend is implemented using Vue, Quasar, and Tailwind, but you don’t need to be familiar with these technologies to create beautiful user interfaces. NiceGUI prioritizes simplicity and user-friendliness, while still offering the option for advanced customization through its extensibility.

We welcome contributions and are excited to see what you build with NiceGUI. If you have any questions or want to share your projects, please don't hesitate to reach out. We look forward to growing the NiceGUI community with your help!

See also

Рекомендации по теме
Комментарии
Автор

I had previously used customtkinter, this library makes it’s stupidly easier to write functional, sleek and modern GUIs with little to no effort. The developer experience is just as great as the user one, the fact that my pages update after every save is amazing and really helps me work in a development scope. It’s fun to work with and provides great results fast! However since you are attempting to create a community I would suggest making a discord server. In doing so you can curate a group of users and have a place where people can ask for support, make suggestions or share their NiceGUI projects. This will really help the community grow and I personally would join in a heartbeat as I see this library being a core part of my future and even current projects once I’ve fully ported them.😊

mewhenthewhenigottauploada
Автор

there is so much good here: the concept, the execution, this video, and the music!! none of which had to go so hard but do

RyanMorey
Автор

Couldn't you have released this before I had to learn all of js to do this in a flask app. So convenient. Thank you for putting this together.

skateking
Автор

This is so cool, such a gigantic time saver and it even looks pretty

skyrx
Автор

This is so simple and amazing, I'll be using this in my projects to come!

ZettaBlitz
Автор

I started studying programming a few months ago, and one of my first projects was to control my wifi led through the browser. I left that project for the future, because working with Flask and Request was too advanced for someone who barely knew how to use a console.log in JS. But now I can finish this project, while learning python. Thank you so much for this.

manteiga_de_pimenta
Автор

This is gonna blow up if it looks what it is and is fast enough

gauravghodinde
Автор

Thanks to YouTube for show this in my stream. Thank you for making the awesome video and framework

DongningWang
Автор

This is looking amazing!
Finally a quick way to make a GUI for my python apps, I need to get to experimenting with this right now
Thank you!

PageAccess
Автор

Dude, thank you soo much! You are the best! Keep updating the library, if need some donate tell us. You saved my HTML/CSS block.

trustnone
Автор

This looks really neat - nice work Zauberzeug!

AliciaSykes
Автор

Looks great, I'll take a look at your project

valovanonym
Автор

This might be exactly what I was looking for. Must investigate.

jshet
Автор

I tried niceGUI for a project but I kind of found it incredibly frustrating when trying to do any kind of customization that moves away from the default. You want a button to spawn in the center instead of the top left corner? Well good luck with that. You want to group elements together in one card? Well good luck with that as well. You want the background of your app to be black instead of white? Very cute.
I spent a lot of time pouring over the documentation but found nothing that i thought helped. In the end it just seemed easier to go with the granular control that html, css and javascript offers. But I'm fully open that this most likely is just inexperience on my part and not properly understanding how the library wants me to think.

lophyre
Автор

Wow dude, thank you so much. I thought to create UI need to learn java script

ArchLinuxUserNickname
Автор

Thanks for providing this Wonderful and useful library. More comprehensive examples, please.

zkn
Автор

This is lowkey better than the most frontend frameworks

fantastikam
Автор

I rarely write in Python nowadays, except for building quick scripts when I don't want to scaffold an entire Go project. But I can see this being super useful for providing a simple interface to accept input, and trigger said script from the browser rather than CLI. I'm definitely going to check it out tonight!!

AliciaSykes
Автор

This is exactly what I was looking for!! I am an automation programmer and the good libraries are in python but kinda didn't want to learn Django ! I'll give it a try !n

flyte
Автор

Great package, we just need more video sessions :)

stefanAH
visit shbcf.ru