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+.

Download files

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

Source Distribution

quickpiggy-0.3.0.tar.gz (6.6 kB view details)

Uploaded Source

File details

Details for the file quickpiggy-0.3.0.tar.gz.

File metadata

  • Download URL: quickpiggy-0.3.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for quickpiggy-0.3.0.tar.gz
Algorithm Hash digest
SHA256 abd6ae3c1dae5c8d5aee3bd51f53be4948e2eb62e6778c9ecc745ac2b3d2c825
MD5 ab374527708864caac0f9dc857393762
BLAKE2b-256 b25fdca01b893ad4c1bcf4cbffa64d3b7847efea142a61665f2006a2ca8a0901

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.0 This release

1 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