Develop Amazing Web Apps With Python!

Manpreet Singh
3 min readJul 16, 2023

Welcome back! Python is one of the best programming languages out there, so, let’s take a look at an amazing Python package that allows us to develop web applications in Python! This specific package is called Reflex, here is a link to their GitHub page where you can learn more about this package:

Starting off, this package used to be called PyneCone, however it has been renamed to a more modern name, the best thing about this specific package (in my opinion) is that it’s written in pure Python! This is one of the standout features of this package from what I can see! As of right now, there are over 60 built-in UI components, it’s completely customizable, and so many more features as well:

You can learn more about this on their website below:

Now, let’s get into the fun stuff! To get started using this package, you can use the following pip command:

pip install reflex 

Once installed, we can begin creating our first application! You can begin by creating the directory of your project:

mkdir my_app_name
cd my_app_name
reflex init

At this point, you can run your project by using the reflex command:

reflex run

This is an example from their GitHub of what the output looks like:

The code of this sample project is also available on their GitHub page as well! Here is the code for you: