Skip to content

SQLAutocode project, to reverse engineer database for SQLAlchemy ORM, fork to GitHub

License

Notifications You must be signed in to change notification settings

fandywang/sqlautocode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoCode is a flexible tool to autogenerate a model from an existing database.

This is a slightly different approach to SqlSoup, 
that lets you use tables without explicitly defining them.

Current Maintainer:
    
    Chris Perkins (percious)
    E-mail: [email protected]

    Simon Pamies (spamsch)
    E-Mail: s.pamies at banality dot de

Authors:

    Paul Johnson (original author)
    
    Christophe de Vienne (cdevienne)
    E-Mail: cdevienne at gmail dot com

    Svilen Dobrev (sdobrev)
    E-Mail: svilen_dobrev at users point sourceforge dot net
    
License:
    
    MIT
    see license.txt

Requirements:

    sqlalchemy 0.6+

Documentation:

    Call sqlautocode.py --help for a list of available self explaining options.

    Example:
    sqlautocode.py -o model.py -u postgres://postgres:user@password/MyDatabase -s myschema -t Person*,Download

ToDo:

    + Generate ActiveMapper / Elixir model

Notes (random):

    ATT: sqlautocode currently does not handle function indexes well. It generates
    code not understood by sqlalchemy.

    (old) metadata stuff from:
    http://sqlzoo.cn/howto/source/z.dir/tip137084/i12meta.xml

About

SQLAutocode project, to reverse engineer database for SQLAlchemy ORM, fork to GitHub

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published