Pyrseas

This Release
Pyrseas 0.10.0
Date
Status
Stable
Other Releases
Abstract
Utilities to assist in database schema versioning
Description
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. Supports PostgreSQL version 10 through 15.
Released By
jma
License
BSD
Resources
Special Files
Tags

Extensions

augmentdb 0.10.0
Generates an augmented YAML description of a Postgres database from its catalogs and an augmentation specification
dbtoyaml 0.10.0
Outputs a YAML description of a Postgres database's tables and other objects (metadata), suitable for storing in a version control repository
yamltodb 0.10.0
Generates SQL statements to modify a database so that it will match an input YAML/JSON specification

Documentation

cfgobjects
Augmenter Configuration Objects
function
Functions
testing
Testing
cast
Casts
extension
Extensions
constraint
Constraints
overview
Overview
cmdargs
Common Command Line Options
devel
Development
operator
Operators
issues
Known Issues
configitems
Configuration Items
foreign
Foreign Data Objects
indexes
Indexes
conversion
Conversions
augobjects
Augmentation Objects
dbaugment
dbaugment - Augment a database
schema
Schemas
type
Types and Domains
rule
Rules
collation
Collations
database
Databases
dbobject
Database Objects
operclass
Operator Classes
config
Configuration
index
index.rst
language
Procedural Languages
textsearch
Text Search Objects
trigger
Triggers
eventtrig
Event Triggers
predefaug
Predefined Database Augmentations
Changelog
Changelog.rst
table
Tables, Views and Sequences
column
Columns
operfamily
Operator Families
AUTHORS
AUTHORS.rst
install
Installation

README

Pyrseas

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 10 or higher
  • Python 3.7 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.