Skip to main content

generate sqlalchemy orm class automatically from existing database

Project description

orm_gen

generate sqlalchemy orm class automatically from existing database tables

  • easy to use and extend

  • support column table

  • support composite index, besides composite primary key

Usage:

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
                      password
  -s SCHEMA, --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 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page