Skip to main content

Generate HTML documentation from a mysql database

Project description

mysql-autodoc is a program to generate html documentation for a mysql dtabase.

The idea ant the template is base on the postgresql_autodo from Rod Taylor <autodoc@rbt.ca>.

Version 0.2

It doesnt’t depend any more on a C API and on external dll for MySQL Connector (which was the case with MySQL-python). It now depends on a MySQL driver written in Python et available on Python Package Index: mysql-connector-python (>=1.0). Dependance on Jinja2 (>2.4) still.

Auto-install dependances.

Tested on Python 2.6, 2.7 and 3.3.

Installing

Use setup.py:

python setup.py build
sudo python setup.py install

or use pip:

pip install mysql-autodoc

Command line

$ ./mysql-autodoc --help
Usage: mysql-autodoc [options] database

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -f FILE, --file=FILE  write documentation to FILE, default database.html
  -H HOST, --host=HOST  Database server hostname
  -u USER, --user=USER  database username
  -p                    ask for a database password
  --password=PASSWORD   database password
  -P PORT, --port=PORT  database connection port
  -v                    verbose mode

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

mysql-autodoc-0.2.tar.gz (5.4 kB view details)

Uploaded Source

File details

Details for the file mysql-autodoc-0.2.tar.gz.

File metadata

  • Download URL: mysql-autodoc-0.2.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mysql-autodoc-0.2.tar.gz
Algorithm Hash digest
SHA256 6c696872622509e4aeafa8939322dc061f389fee72e0c9923a6327aefbd35b93
MD5 edab0d4684450d62db79c93731316d00
BLAKE2b-256 ac02befb35ca05474b17dfe31996283cbcf13fde227babaac29da6d7f687b293

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