goshawk
SQL Model Management for Humans
- Github repository: https://github.com/ebrassell/goshawk/
- Documentation https://ebrassell.github.io/goshawk/
Getting started with Goshawk
Installation
We recommend installing with pipx
pipx install gohawk
Or install with pip (you should always use a virtual environment)
pip install gohawk
Verify your installation
goshawk view-model-tree --schemas-only
This will display the DAG of the included sample schema
Set MODELS_PATH env var to the folder containing your models.
`-- models <-set MODELS_PATH to the path to this folder
-- mydatabase
-- schema_1
-- model_1a.sql
-- model_1b.sql
-- schema_2
-- model_2a.sql
-- model_2b.sql
export MODELS_PATH=models
Create a dev environemnt
goshawk init-env [envname]
Test your changes (using your dev environment)
goshawk deploy-models --test --db-env [envname]
Deploy your changes to your dev environment
goshawk deploy-models --test --db-env [envname]
Destroy your dev environemnt
goshawk destroy-env [envname]
Metadata
Release files for goshawk 0.1.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| goshawk-0.1.4.2.tar.gz | 485.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| goshawk-0.1.4.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 502.2 kB
Release files / goshawk-0.1.4.2.tar.gz
| Download URL | goshawk-0.1.4.2.tar.gz |
|---|---|
| Size | 485.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ecd7b4f6a93c3e676d5c65ef99bfdb4a31b69a6104e5e937aea2a6250a2d95be
|
|
BLAKE2b-256 checksum How to use checksums |
027e0bcd9bb69ad7595ec37eebb6ca2b9b4c94aae8aeb45ae7597010ac74f32a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.29
|
Release files / goshawk-0.1.4.2-py3-none-any.whl
| Download URL | goshawk-0.1.4.2-py3-none-any.whl |
|---|---|
| Size | 16.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db07df62986f6d82f69fc7ef9e5872dd8e6f2d572a0bec14400463aa586de3d6
|
|
BLAKE2b-256 checksum How to use checksums |
b4960c0be9fbfb051abffb004e183bb63348eac140769baf2d8a9c77f15b0623
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.29
|