Skip to main content

A toolkit for developing Postgres schemas & extensions.

Project description

pstk -- Postgres Toolkit

A toolkit for developing Postgres schemas & extensions, with single-command deployment and testing.

Install

pip install --user pstk

Usage

Create a .env file in the your postgres project directory with POSTGRES_PASSWORD if you are not using the default postgres:postgres

To install:

  • a schema:

pstk . install

  • an extension:

pstk --extension --schema-path=path-to-schema-data--1.0.sql . install

To test

pstk . test --replace

Project details


Download files

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

Source Distribution

pstk-0.0.2.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pstk-0.0.2-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file pstk-0.0.2.tar.gz.

File metadata

  • Download URL: pstk-0.0.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for pstk-0.0.2.tar.gz
Algorithm Hash digest
SHA256 eb27ee00f470b7c1c570f765ecb52658f4505e8524345f78c3f1eb28c927732e
MD5 f8d29306084dc72a1563e59fdeeeca2d
BLAKE2b-256 8b6a27029eb1b82dc5634c23e459c80f1b45eb84dac4ab9a15459452b5de4dc2

See more details on using hashes here.

File details

Details for the file pstk-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pstk-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for pstk-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 990e64c589ba9b0319e25630a9732d1aaeffc8e11bdb38ea1e2aa8757fa693b0
MD5 b46ea05694ce93d986c21a43cf4a4da9
BLAKE2b-256 40e81a7a24fa195543b59bba123018bf8ea990b2641c0f6dd98bea80306bf04c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page