Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

tools to code generate python from existing database?

Please forgive my ignorance I am new to Python development.

Is there a tool to create Python code from an existing database (e.g. mySQL, Postgresql)

For example, if I have a database designed with sample data inside (I have tables, functions, and data established in a database) is there any code generator tools that will help me to generate some of the python code (e.g. classes/entities, etc.)

like image 633
Skyguard Avatar asked Aug 07 '26 20:08

Skyguard


1 Answers

It sounds like you are describing Object-relational mapping (ORM). One popular ORM for Python is SQLAlchemy.

like image 140
Steven Rumbalski Avatar answered Aug 09 '26 11:08

Steven Rumbalski



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!