Skip to main content

A python client for the postgression API.

Project description

# python-postgression

A python client for the postgression API.

## What is This?

This is a simple CLI app that talks to the [postgression](http://www.postgression.com/) public API, and generates a temporary PostgreSQL database for usage in your test code (or just general messing around).

postgression databases are automatically deleted after 30 minutes. No information is logged by the service.

## Installation

You can install postgression using [pip](http://pip.readthedocs.org/en/latest/):

` bash $ pip install postgression `

## Usage

Once you’ve got postgression installed, you can generate a new PostgreSQL database by running postgression… like so:

` bash $ postgression postgres://user:password@host:port/db `

Each time you run postgression, you’ll get a new PostgreSQL database provisioned for usage.

If for some reason a database can’t be provisioned, an error will be returned.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

postgression-0.1.tar.gz (2.6 kB view hashes)

Uploaded Source

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