Skip to main content

schema2rst generates reST doc from database schema

Project description

schema2rst generates reST doc from database schema

Features

Generates table definitions document from database schema. schema2rst recognizes your database comments on tables and columns, and reflect it to docs.

Setup

Use easy_install (or pip):

$ sudo easy_install schema2rst

Configuration

Make config.yaml to connect your database server. This is example for MySQL Server:

type: mysql
db: sample
host: localhost
user: username
passwd: passw0rd

type parameter is accept these values: mysql, mysql+pymysql, postgresql

Usage

Execute schema2rst command:

$ schema2rst -c config.yaml -o database.rst

Examples

You can see example at http://tk0miya.bitbucket.org/schema2rst/build/html/ .

Requirements

  • Python 2.6, 2.7, 3.2, 3.3

  • SQLAlchemy

  • PyYAML

  • Six

  • pymysql or MySQL-python (optional)

  • psycopg2 (optional)

License

Apache License 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

schema2rst-0.9.0.tar.gz (6.4 kB view details)

Uploaded Source

File details

Details for the file schema2rst-0.9.0.tar.gz.

File metadata

  • Download URL: schema2rst-0.9.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for schema2rst-0.9.0.tar.gz
Algorithm Hash digest
SHA256 43de499549a12e7bf376269755bc8818559972a6bcfaa4d1a2264ff72001705f
MD5 de025ccf2a5a16ecd7baeba2991b599b
BLAKE2b-256 1f9c50ac7ba7fddb2bed5178172ba1429a9f369d9eeb26de869829eee86d6396

See more details on using hashes here.

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