Skip to main content

OARepoFilePipeline

Flask extension for OARepoFilePipeline.

Setup

In app configuration define:

  1. This repository RSA key pair (public_key, private_key)
  2. PIPELINE_FILE_SERVER RSA public key
  3. PIPELINE_FILE_SERVER URL

Optionally you can change:

  1. Signing algorithm for the JWT
  2. 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)

Source distribution for oarepo-file-pipeline 0.1.1
File Size Uploaded Provenance Actions
oarepo_file_pipeline-0.1.1.tar.gz 362.8 kB Without provenance Details for oarepo_file_pipeline-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for oarepo-file-pipeline 0.1.1
File Interpreter ABI Platform Actions
oarepo_file_pipeline-0.1.1-py3-none-any.whl Python 3 none any Details for oarepo_file_pipeline-0.1.1-py3-none-any.whl

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

Security for oarepo-file-pipeline 0.1.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page