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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file postgression-0.1.tar.gz
.
File metadata
- Download URL: postgression-0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 666dc72d0c95b11d72611acb4586d315654c17e10a4cb505a1388471e9506171 |
|
MD5 | 4693a4933a694f22bc8ba54020f1a394 |
|
BLAKE2b-256 | 369800ae23cc183d110c96fad0206384c1e7c6855313194f925f27563f97e9aa |