SQL Models for humans
Project description
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]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
goshawk-0.1.4.2.tar.gz
(485.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
goshawk-0.1.4.2-py3-none-any.whl
(16.6 kB
view details)
File details
Details for the file goshawk-0.1.4.2.tar.gz.
File metadata
- Download URL: goshawk-0.1.4.2.tar.gz
- Upload date:
- Size: 485.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.29
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ecd7b4f6a93c3e676d5c65ef99bfdb4a31b69a6104e5e937aea2a6250a2d95be
|
|
| MD5 |
1b1fe4d0252c2ee70740f98fd58dc0d7
|
|
| BLAKE2b-256 |
027e0bcd9bb69ad7595ec37eebb6ca2b9b4c94aae8aeb45ae7597010ac74f32a
|
File details
Details for the file goshawk-0.1.4.2-py3-none-any.whl.
File metadata
- Download URL: goshawk-0.1.4.2-py3-none-any.whl
- Upload date:
- Size: 16.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.29
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db07df62986f6d82f69fc7ef9e5872dd8e6f2d572a0bec14400463aa586de3d6
|
|
| MD5 |
0a3363046eefc230c51cc1e04b14a967
|
|
| BLAKE2b-256 |
b4960c0be9fbfb051abffb004e183bb63348eac140769baf2d8a9c77f15b0623
|