Skip to content

Commit

Permalink
Merge pull request #5
Browse files Browse the repository at this point in the history
Prepare for initial release
Bilbottom authored Jan 6, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 65d03ff + 2e29243 commit cde0318
Showing 3 changed files with 15 additions and 7 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ Python wrapper for [dbt-core](https://github.com/dbt-labs/dbt-core) to extend db

## Shimmy shimmy shim 🕺🕺🕺

This package is a [shim](<https://en.wikipedia.org/wiki/Shim_(computing)>) for [dbt-core](https://github.com/dbt-labs/dbt-core), inspired by (_cough_ stolen from _cough_) my old boss, @darkdreamingdan:
This package is a [shim](<https://en.wikipedia.org/wiki/Shim_(computing)>) for [dbt-core](https://github.com/dbt-labs/dbt-core), inspired by (_cough_ stolen from _cough_) my old boss, [@darkdreamingdan](https://github.com/darkdreamingdan):

- https://gist.github.com/darkdreamingdan/c5ded709a90fc3c5b420cee5f644f499

@@ -37,7 +37,7 @@ The existing Python modules are available in the dbt Jinja context under the `mo
While in preview, this package is only available from GitHub:

```
pip install git+https://github.com/Bilbottom/dbt-py@main
pip install git+https://github.com/Bilbottom/dbt-py@v0.0.1
```

This will be made available on PyPI once it's ready for general use.
@@ -120,3 +120,11 @@ This is likely to change in a future release, but for now you may choose to expl
```jinja
{{ modules.math.pi }}
```

## Future Work 🚧

This is still in preview, and there are a few things to be added before it's ready for general use:

- Support for importing any number of packages (currently only one package is supported)
- Configuration via config files and CLI arguments (currently only environment variables are supported)
- More robust testing
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "dbt-py"
version = "0.0.0"
version = "0.0.1"
description = "Python wrapper for dbt-core to extend dbt with custom Python."
readme = "README.md"
authors = ["Bilbottom"]
@@ -18,9 +18,9 @@ dbt-py = "dbt_py:main"
python = "^3.11"

[tool.poetry.group]
dev.optional = false
test.optional = false
ide.optional = false
dev.optional = true
test.optional = true
ide.optional = true

[tool.poetry.group.dev.dependencies]
pre-commit = "^3.3.3"

0 comments on commit cde0318

Please sign in to comment.