Generate Python Apps with GenAI

We created a container that allows you to create an API-driven python application by describing the application requirements in a prompt.

In less than a minute this will generate a data model and a python Flask API for which we made a generic react-…


This content originally appeared on DEV Community and was authored by Thomas Pollet

We created a container that allows you to create an API-driven python application by describing the application requirements in a prompt.

Image description

In less than a minute this will generate a data model and a python Flask API for which we made a generic react-admin frontend.

Image description

The project can be downloaded and edited in your IDE. Or, you can edit (and run) it in github codespaces using the github repository where the project is pushed (and a login token is set in the environment)
Image description

The generator creates python SQLAlchemy ORM classes which you can edit

Image description

For simple tasks, you can also refine the project using natural language by specifying your requirements in the "Iterate" popup in the project window

Image description

This will extend the application according to your input
Image description

The application comes with an OpenAPI so you can develop your own frontend integrations, or extend the default react-admin code.
Image description

In case you don't want to deploy and configure the container or you don't want to use your OpenAI key, we deployed a demo version on our site were you can generate these applications for free.


This content originally appeared on DEV Community and was authored by Thomas Pollet


Print Share Comment Cite Upload Translate Updates
APA

Thomas Pollet | Sciencx (2024-10-15T17:24:33+00:00) Generate Python Apps with GenAI. Retrieved from https://www.scien.cx/2024/10/15/generate-python-apps-with-genai/

MLA
" » Generate Python Apps with GenAI." Thomas Pollet | Sciencx - Tuesday October 15, 2024, https://www.scien.cx/2024/10/15/generate-python-apps-with-genai/
HARVARD
Thomas Pollet | Sciencx Tuesday October 15, 2024 » Generate Python Apps with GenAI., viewed ,<https://www.scien.cx/2024/10/15/generate-python-apps-with-genai/>
VANCOUVER
Thomas Pollet | Sciencx - » Generate Python Apps with GenAI. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/10/15/generate-python-apps-with-genai/
CHICAGO
" » Generate Python Apps with GenAI." Thomas Pollet | Sciencx - Accessed . https://www.scien.cx/2024/10/15/generate-python-apps-with-genai/
IEEE
" » Generate Python Apps with GenAI." Thomas Pollet | Sciencx [Online]. Available: https://www.scien.cx/2024/10/15/generate-python-apps-with-genai/. [Accessed: ]
rf:citation
» Generate Python Apps with GenAI | Thomas Pollet | Sciencx | https://www.scien.cx/2024/10/15/generate-python-apps-with-genai/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.