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

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.