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


Release history Release notifications

This version

1.0.0

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 hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page