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-..."
Metadata
Release files for dlt-source-slack 0.0.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 | |
|---|---|---|---|
| dlt_source_slack-0.0.2.tar.gz | 60.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dlt_source_slack-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 65.8 kB
Release files / dlt_source_slack-0.0.2.tar.gz
| Download URL | dlt_source_slack-0.0.2.tar.gz |
|---|---|
| Size | 60.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf112019d19139d0ba85203f46d604301b8e5c91982a65cc856fc2e449f11d1f
|
|
BLAKE2b-256 checksum How to use checksums |
555f21826e8d7e1969ad20683222508c1d1369e567a636d4c264580b44b3458f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 8, 2025.
Transparency logRelease files / dlt_source_slack-0.0.2-py3-none-any.whl
| Download URL | dlt_source_slack-0.0.2-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f50860374d9ef07c68a95c9692cb2d9144947333a54f836eb18850d4795474ad
|
|
BLAKE2b-256 checksum How to use checksums |
471d936b2a76abd41f8cd4cb9241184b3d650211030f9166fa02566fbe9b70cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 8, 2025.
Transparency log