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.tar.gz
(475.6 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-py3-none-any.whl
(16.6 kB
view details)
File details
Details for the file goshawk-0.1.4.tar.gz.
File metadata
- Download URL: goshawk-0.1.4.tar.gz
- Upload date:
- Size: 475.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.29
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d9bbd59f21a2119eb64d4c9ad1a313bbbca5979f4014353e9a238481dbd4043
|
|
| MD5 |
c81cbdd8b81dedb181cc8ae3058b6720
|
|
| BLAKE2b-256 |
44566cd270cb2734dcb8c4b89908fcb42336c1fb30aaaa13ea5cfed2b11fbe13
|
File details
Details for the file goshawk-0.1.4-py3-none-any.whl.
File metadata
- Download URL: goshawk-0.1.4-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 |
938da7f783418d9bd9d0ed161e37cad0c76d250ecc9fc9c36bbbf3f96a614448
|
|
| MD5 |
df3e484ccb4304e7266317c9c49ec64b
|
|
| BLAKE2b-256 |
cd2690b833af7e2acf67bd32912b702450bf9a55512881880da1567df1937fe1
|