I've used Django's inspectdb command in the past, which gives you models from an existing database.
Is there something equivalent for SQLAlchemy?
Take a look at AutoCode project.
You might be looking for sqlautocode.
For a Python3 compatible tool, check out sqlacodegen or flask-sqlacodegen if you're looking for something that's actually maintained.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With