Invenio-Files-Processor
Invenio module for files’ processing and or transforming.
It gives a bucket’s files a place to be run through something that reads or rewrites them - extracting text and metadata, converting a format, generating a preview - without each module having to arrange that for itself.
A FilesProcessor interface: a processor says whether it can_process an ObjectVersion and what to do with it, and the module checks the file is readable before handing it over.
A registry of processors, reachable through the current_processors proxy. Processors register themselves through the invenio_files_processor entry point, or at runtime with register_processor.
A file_processed signal, sent with the processor’s id, the file and its result, so other modules can pick the output up - indexing the extracted text, say - without being called by the processor directly.
One processor included, tika_unpack, which sends a file to an Apache Tika server and returns its text and metadata. Point FILES_PROCESSOR_TIKA_SERVER_ENDPOINT at that server.
Further documentation is available on https://invenio-files-processor.readthedocs.io/
Metadata
Release files for invenio-files-processor 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| invenio_files_processor-1.0.0.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| invenio_files_processor-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.5 kB
Release files / invenio_files_processor-1.0.0.tar.gz
| Download URL | invenio_files_processor-1.0.0.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d47faa1f0bee4c323b1819dd19f586c48fb1b63d5505b6b4a77445860b1b7054
|
|
BLAKE2b-256 checksum How to use checksums |
159e1f55b02f3667c8eeca0684f549d9e756bea5b9e04a377eb88bf7caaea696
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / invenio_files_processor-1.0.0-py3-none-any.whl
| Download URL | invenio_files_processor-1.0.0-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e450b44979c73f6c9c6ae22ded59223aa204a2619fe400b2a910af1d5668139d
|
|
BLAKE2b-256 checksum How to use checksums |
af90dc0c608bd313e782ffe64aa72b494f766e2c11a2e92aa8d72a1d18e71678
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|