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

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file ormgen-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ormgen-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.13.0 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.6

File hashes

Hashes for ormgen-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f0c5eafe99bb91a8b53151ae72d95e845b78ac234131be28f07830a4bc591ad
MD5 6f859ed899ba79669e9c1e2e68702367
BLAKE2b-256 5ca0e6c905f7663d9a50b0d8667eef54c94daf1c25b9685a99299348f86f8b47

See more details on using hashes here.

Supported by

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