Skip to main content

QuickPiggy

Launch an impromptu PostgreSQL server, hassle free.

Prerequisites:

  • postgresql-server (tested with v9.0 - v13.2), providing postgres, initdb and createdb on your $PATH
  • postgresql libraries and clients (tested with v9.0 - v13.2), providing psql on your $PATH

This is mainly a library module, but you can take it for a for a demo spin by running quickpiggy.py as a program (python quickpiggy.py).

When used as a library, an ephemeral PostgresSQL instance can be obtained quite easily:

pig = quickpiggy.Piggy(volatile=True, create_db='somedb')
conn = psycopg2.connect(pig.dsnstring())

Many use cases can be accommodated for by supplying appropriate parameters to the constructor of Piggy.

This version works with Python 2.7 and 3.1+.

Metadata

Release files for quickpiggy 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quickpiggy 0.3.0
File Size Uploaded
quickpiggy-0.3.0.tar.gz 6.6 kB Details

Release files / quickpiggy-0.3.0.tar.gz

Download URL quickpiggy-0.3.0.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
abd6ae3c1dae5c8d5aee3bd51f53be4948e2eb62e6778c9ecc745ac2b3d2c825
BLAKE2b-256 checksum
How to use checksums
b25fdca01b893ad4c1bcf4cbffa64d3b7847efea142a61665f2006a2ca8a0901
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

Release history Release notifications | RSS feed

This release

0.3.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page