A small package to provide a predefined base host for HTTP loader
Project description
Thumbor HTTP Loader Prefix
Add a prefix to the HTTP Loader so that you don't have to pass the entire URL
Installation
# 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
# 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
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 tc_http_loader_prefix-0.1.4.tar.gz.
File metadata
- Download URL: tc_http_loader_prefix-0.1.4.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3a5eb9f22b8c6544f806d878819af3cb4173e4b174630344534ff6f6cd57bbd
|
|
| MD5 |
c69690480851c68b40e39237b524e56d
|
|
| BLAKE2b-256 |
adf545ab54e3a3ab57f99ea4efd4bc82578b2db57581267df6607e20a5733163
|
Provenance
The following attestation bundles were made for tc_http_loader_prefix-0.1.4.tar.gz:
Publisher:
python-publish.yml on jcord04/thumbor-http-load-prefix
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tc_http_loader_prefix-0.1.4.tar.gz -
Subject digest:
a3a5eb9f22b8c6544f806d878819af3cb4173e4b174630344534ff6f6cd57bbd - Sigstore transparency entry: 193794398
- Sigstore integration time:
-
Permalink:
jcord04/thumbor-http-load-prefix@db40d27687f3f1f81a390ef12000051fbb2b9c2b -
Branch / Tag:
refs/tags/0.1.4 - Owner: https://github.com/jcord04
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@db40d27687f3f1f81a390ef12000051fbb2b9c2b -
Trigger Event:
release
-
Statement type:
File details
Details for the file tc_http_loader_prefix-0.1.4-py3-none-any.whl.
File metadata
- Download URL: tc_http_loader_prefix-0.1.4-py3-none-any.whl
- Upload date:
- Size: 4.4 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 |
2f57958220300bea584ce366cc9dcb1c010fbf6ea8f824afdf4c41319b3ebf79
|
|
| MD5 |
38d515be04738bbe4456921e405cf40d
|
|
| BLAKE2b-256 |
60189a7e6d919d99fcdbad51d2a99057bbd29dec1d09eb164eb83b3d09d9ea5b
|
Provenance
The following attestation bundles were made for tc_http_loader_prefix-0.1.4-py3-none-any.whl:
Publisher:
python-publish.yml on jcord04/thumbor-http-load-prefix
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tc_http_loader_prefix-0.1.4-py3-none-any.whl -
Subject digest:
2f57958220300bea584ce366cc9dcb1c010fbf6ea8f824afdf4c41319b3ebf79 - Sigstore transparency entry: 193794402
- Sigstore integration time:
-
Permalink:
jcord04/thumbor-http-load-prefix@db40d27687f3f1f81a390ef12000051fbb2b9c2b -
Branch / Tag:
refs/tags/0.1.4 - Owner: https://github.com/jcord04
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@db40d27687f3f1f81a390ef12000051fbb2b9c2b -
Trigger Event:
release
-
Statement type: