DEV Community

Cover image for Generate Python Apps with GenAI
Thomas Pollet
Thomas Pollet

Posted on

1

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.

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.

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (1)

Collapse
 
reactadmin profile image
react-admin

Thanks for using react-admin 🫶

marmelab.com/react-admin/

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay