Taras Mankovski
Taras Mankovski

Reputation: 1659

Is there a Django's inspectdb equivalent for SQLAlchemy?

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

Answers (3)

dthor
dthor

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

Ken Kinder
Ken Kinder

Reputation: 13140

You might be looking for sqlautocode.

Upvotes: 2

Denis Otkidach
Denis Otkidach

Reputation: 33200

Take a look at AutoCode project.

Upvotes: 5

Related Questions