OARepoFilePipeline
Flask extension for OARepoFilePipeline.
Setup
In app configuration define:
- This repository RSA key pair (public_key, private_key)
- PIPELINE_FILE_SERVER RSA public key
- PIPELINE_FILE_SERVER URL
Optionally you can change:
- Signing algorithm for the JWT
- Encryption algorithm and method for the JWE
"""Private and public RSA keys for singing JWT token"""
PIPELINE_REPOSITORY_JWK = {
"private_key": "",
"public_key": ""
}
"""Public RSA key of FILE_PIPELINE_SERVER to encrypt JWE token with payload"""
PIPELINE_JWK = {
"public_key": "",
}
"""FILE_PIPELINE_SERVER redirect url"""
PIPELINE_REDIRECT_URL = ''
"""Default algorithms"""
PIPELINE_SIGNING_ALGORITHM = "RS256"
PIPELINE_ENCRYPTION_ALGORITHM = "RSA-OAEP"
PIPELINE_ENCRYPTION_METHOD = "A256GCM"
Usage
Endpoint initiating pipeline is .../<id_>/<file_key>/pipeline. It accepts optional query parameters, such as pipeline,
for suggested processing steps (preview_zip, preview_picture etc.). Then it redirect the client to a dedicated server
Metadata
Release files for oarepo-file-pipeline 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| oarepo_file_pipeline-0.1.1.tar.gz | 362.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| oarepo_file_pipeline-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 383.5 kB
Release files / oarepo_file_pipeline-0.1.1.tar.gz
| Download URL | oarepo_file_pipeline-0.1.1.tar.gz |
|---|---|
| Size | 362.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8286bd3466cc10bcb8f9a9ad448909386bb2989c21667ded2c22eff0133402e0
|
|
BLAKE2b-256 checksum How to use checksums |
b927c9857bc40e7db7522ea57f3cbdc66b9e7ce860e675d5f18ce72f97f28e41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / oarepo_file_pipeline-0.1.1-py3-none-any.whl
| Download URL | oarepo_file_pipeline-0.1.1-py3-none-any.whl |
|---|---|
| Size | 20.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
37771d32ec838e95cbbdeb68e15f5405ad32f5a4a27eee2868837566b3db4e67
|
|
BLAKE2b-256 checksum How to use checksums |
2eb19840c52b814a77c7c365171e40a04047574c91d0d1cdf24711b322354b3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|