Reputation: 1659
I've used Django's inspectdb command in the past, which gives you models from an existing database.
Is there something equivalent for SQLAlchemy?
Upvotes: 9
Views: 3399
Reputation: 1867
For a Python3 compatible tool, check out sqlacodegen or flask-sqlacodegen if you're looking for something that's actually maintained.
Upvotes: 1