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.
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.
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)
The generator creates python SQLAlchemy ORM classes which you can edit
For simple tasks, you can also refine the project using natural language by specifying your requirements in the "Iterate" popup in the project window
This will extend the application according to your input
The application comes with an OpenAPI so you can develop your own frontend integrations, or extend the default react-admin code.
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
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/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.