semvec/pypi-packages huggingface dataset:
tc-http-loader-prefix 0.1.4
A small package to provide a predefined base host for HTTP loader
License: MIT
Requires Python: >=3.8

# Thumbor HTTP Loader Prefix

Add a prefix to the HTTP Loader so that you don't have to pass the entire URL

## Installation

```bash
# master branch
pip install -e git+https://github.com/jcord04/thumbor-http-load-prefix.git@master#egg=tc_http_loader_prefix

# latest stable
pip install tc_http_loader_prefix
```

## Running Test
in the project root, run 

```pytest```

## Configuration

```python
# thumbor.conf
LOADER = 'tc_http_loader_prefix.loader'

TC_HTTP_LOADER_PREFIX = 'https://your-domain/'

# When making a request like this
https://domain.example/unsafe/400x400/image.jpg

#The image is fetched from 
https://your-domain/image.jpg

```
dlt-source-slack 0.0.2
DLT (dlthub.com) source for Slack (slack.com)
License: MIT
Requires Python: >=3.12
Keywords: dlt, dlthub, slack

# dlt-source-slack

[![PyPI version](https://img.shields.io/pypi/v/dlt-source-slack)](https://pypi.org/project/dlt-source-slack/)

[DLT](https://dlthub.com/) source for [slack](https://www.slack.com/).

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](https://github.com/dlt-hub/verified-sources/tree/master/sources/slack)
has a few drawbacks:

- on usage of the verified source, a copy of the current state of
  the `dlt-hub/verified-sources` repository 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):

```toml
slack_bot_token = "xoxb-..."
```

and then run the default source with optional list references:

```py
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](https://devenv.sh/).

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

```sh
SLACK_BOT_TOKEN=[xoxb-...] \
  sample-pipeline-run
```

alternatively you can also create a `.dlt/secrets.toml`
(excluded from git) with the following content:

```toml
slack_bot_token = "xoxb-..."
```