Skip to content

mikeshultz/xsd2pgsql

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

xsd2pgsql

Create a DB structure from an XML Schema.

Usage

Ouput of --help::

usage: xsd2pgsql.py [-h] [-f] [-a] [-d [NAME]] [-u [USERNAME]] [-p [PASSWORD]]
                    [-n [HOSTNAME]] [-P [PORT]]
                    FILE [FILE ...]

Create a database based on an XSD schema. If no database name is specified,
SQL is output to stdout.

positional arguments:
  FILE                  XSD file to base the Postgres Schema on

optional arguments:
  -h, --help            show this help message and exit
  -f, --fail            Fail on finding a bad XS type
  -a, --as-is           Don't normalize element names
  -d [NAME], --database [NAME]
                        DB Name
  -u [USERNAME], --user [USERNAME]
                        DB Username
  -p [PASSWORD], --password [PASSWORD]
                        DB Password
  -n [HOSTNAME], --host [HOSTNAME]
                        DB Host
  -P [PORT], --port [PORT]
                        DB Port (Default: 5432)

About

Create a DB structure from an XML Schema.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages