Skip to main content

Utilities to assist in database schema versioning

Project description

https://api.travis-ci.org/perseas/Pyrseas.png?branch=master

Pyrseas provides utilities to describe a PostgreSQL database schema as YAML, to verify the schema against the same or a different database and to generate SQL that will modify the schema to match the YAML description.

Features

  • Outputs a YAML description of a Postgres database’s tables and other objects (metadata), suitable for storing in a version control repository

  • Generates SQL statements to modify a database so that it will match an input YAML/JSON specification

  • Generates an augmented YAML description of a Postgres database from its catalogs and an augmentation specification.

Requirements

  • PostgreSQL 9.4 or higher

  • Python 2.7, 3.4 or higher

License

Pyrseas is free (libre) software and is distributed under the BSD license. Please see the LICENSE file for details.

Documentation

Please visit Read the Docs for the latest documentation.

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

Pyrseas-0.9.1.tar.gz (169.3 kB view hashes)

Uploaded Source

Built Distribution

Pyrseas-0.9.1-py2.py3-none-any.whl (113.4 kB view hashes)

Uploaded Python 2 Python 3

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