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.1.tar.gz (2.9 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.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pstk-0.0.1.tar.gz
  • Upload date:
  • Size: 2.9 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.1.tar.gz
Algorithm Hash digest
SHA256 845b3428da719de46c2e16dcdced2a5c0cc0b62b4a4cc11b770a6685608fbc13
MD5 8ed7ddd5dfa9d158ff691ba945ec61e2
BLAKE2b-256 3f249bae17037ceaaa3787809cdb4632ad90ecc535a00f62777e0d6b8643ffd1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pstk-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9a87819ee9173ba2d4791311efa1819ee7f7f829290073ae149a2dc83c8a67bd
MD5 52b361c5074b5e29d5ef2b6e541b2d97
BLAKE2b-256 df52f5904e573525e16beb09d30b208c3607e467ccf9ecc2138f14d59716a460

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