Skip to main content
Help us improve Python packaging – donate today!

QuickPiggy - launch a PostgreSQL server, without the hassle.

Project Description

by Wicher Minnaard <wicher@gavagai.eu> <http://smorgasbord.gavagai.nl>

Rationale: http://smorgasbord.gavagai.nl/2011/02/postgresql-quickie-server/

This is public domain software.

Prerequisites:

  • postgresql-server (tested with v9.0), providing ‘postgres’, ‘initdb’, ‘createdb’
  • postgresql libraries and clients (tested with v9.0), providing ‘psql’

Test your prerequisites by running ‘quickpiggy.py’ as a program.

A makeshift PostgresSQL instance can be obtained quite easily:

pig = quickpiggy.Piggy(volatile=True, create_db=’somedb’)

conn = psycopg2.connect(pig.dsnstring())

Most other use cases can be accommodated for by passing more parameters.

This version works with Python 2.7 and 3.1+.

Release history Release notifications

This version
History Node

0.2

History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
quickpiggy-0.2.tar.gz (3.9 kB) Copy SHA256 hash SHA256 Source None Sep 25, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page