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.

Source Distributions

No source distribution files available for this release. See tutorial on generating distribution archives.

Built Distribution

ormgen-1.0.0-py3-none-any.whl (7.4 kB view hashes)

Uploaded py3

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