Skip to main content

generate sqlalchemy orm class automatically from existing database

Project description


generate sqlalchemy orm class automatically from existing database tables

  • easy to use and extend
  • support column table
  • support composite index, besides composite primary key


ormgen --help:

usage: ormgen [--help] [-v] [-h HOST] [-u USER] [-p PASSWORD] [-s SCHEMA]
            [-o OUTFILE]

Generates SQLAlchemy model code from an existing database.

optional arguments:
  --help                show help
  -v, --version         show version
  -h HOST, --host HOST  mysql host
  -u USER, --user USER  username
  -p PASSWORD, --password PASSWORD
  -s SCHEMA, --schema SCHEMA
  -o OUTFILE, --outfile OUTFILE
                        file to write output to (default: stdout)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ormgen, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size ormgen-1.0.0-py3-none-any.whl (7.4 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page