DLT (dlthub.com) source for Slack (slack.com)
Project description
dlt-source-slack
Currently loads the following data:
| Table | Contains |
|---|---|
users |
Items of the users model |
Why are you not using the dlt-hub/verified-sources slack source / Differences
The official verified source has a few drawbacks:
- on usage of the verified source, a copy of the current state of
the
dlt-hub/verified-sourcesrepository is copied into your project; Once you make changes to it, it effectively becomes a fork, making it hard to update after the fact. - This makes use of a preexisting client implementation
Usage
Create a .dlt/secrets.toml with your API token
(see dlt_source_slack/manifest.yml for a Slack
app manifest that has the necessary credentials):
slack_bot_token = "xoxb-..."
and then run the default source with optional list references:
from dlt_source_slack import source as slack_source
pipeline = dlt.pipeline(
pipeline_name="slack_pipeline",
destination="duckdb",
dev_mode=True,
)
slack_data = slack_source()
pipeline.run(slack_data)
Development
This project is using devenv.
Commands:
| Command | What does it do? |
|---|---|
format |
Formats & lints all code |
sample-pipeline-run |
Runs the sample pipeline. |
sample-pipeline-show |
Starts the streamlit-based dlt hub |
Run the sample
SLACK_BOT_TOKEN=[xoxb-...] \
sample-pipeline-run
alternatively you can also create a .dlt/secrets.toml
(excluded from git) with the following content:
slack_bot_token = "xoxb-..."
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
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
File details
Details for the file dlt_source_slack-0.0.2.tar.gz.
File metadata
- Download URL: dlt_source_slack-0.0.2.tar.gz
- Upload date:
- Size: 60.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf112019d19139d0ba85203f46d604301b8e5c91982a65cc856fc2e449f11d1f
|
|
| MD5 |
52a17d469f0ad5dd0bbfe60193708e1d
|
|
| BLAKE2b-256 |
555f21826e8d7e1969ad20683222508c1d1369e567a636d4c264580b44b3458f
|
Provenance
The following attestation bundles were made for dlt_source_slack-0.0.2.tar.gz:
Publisher:
test.yml on planet-a-ventures/dlt-source-slack
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dlt_source_slack-0.0.2.tar.gz -
Subject digest:
bf112019d19139d0ba85203f46d604301b8e5c91982a65cc856fc2e449f11d1f - Sigstore transparency entry: 193793949
- Sigstore integration time:
-
Permalink:
planet-a-ventures/dlt-source-slack@1e2a7cd1de81210a2682cc9b2a2c1b64b68fd26d -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/planet-a-ventures
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test.yml@1e2a7cd1de81210a2682cc9b2a2c1b64b68fd26d -
Trigger Event:
push
-
Statement type:
File details
Details for the file dlt_source_slack-0.0.2-py3-none-any.whl.
File metadata
- Download URL: dlt_source_slack-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f50860374d9ef07c68a95c9692cb2d9144947333a54f836eb18850d4795474ad
|
|
| MD5 |
71b63f849a4c0d0fbe246a1704388cf7
|
|
| BLAKE2b-256 |
471d936b2a76abd41f8cd4cb9241184b3d650211030f9166fa02566fbe9b70cb
|
Provenance
The following attestation bundles were made for dlt_source_slack-0.0.2-py3-none-any.whl:
Publisher:
test.yml on planet-a-ventures/dlt-source-slack
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dlt_source_slack-0.0.2-py3-none-any.whl -
Subject digest:
f50860374d9ef07c68a95c9692cb2d9144947333a54f836eb18850d4795474ad - Sigstore transparency entry: 193793952
- Sigstore integration time:
-
Permalink:
planet-a-ventures/dlt-source-slack@1e2a7cd1de81210a2682cc9b2a2c1b64b68fd26d -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/planet-a-ventures
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test.yml@1e2a7cd1de81210a2682cc9b2a2c1b64b68fd26d -
Trigger Event:
push
-
Statement type: