Metadata ETL (Extract-Transform-Load)
The ETL is a service for ingesting metadata the into the central metadata data catalogue (aka myMDC).
Basically, the ETL application extracts metadata about scientific data, transforms the input data into a structure and format that is expected by the Metadata service API and loads the final result to myMDC using the provided API/Library.
The ETL design aims to provide a uniform API to integrate with different sources of metadata, such as DAMNIT (https://github.com/European-XFEL/DAMNIT), File system DB, etc.
As a proof-of-concept, the current version implements the extraction component that reads the raw data and extracts metadata from. In addition, the transform and load components design is flexible enough to ingesting metadata from different sources.
Repository:
Dependencies:
- metadata_api (https://git.xfel.eu/ITDM/metadata_api)
Installation
-
Install Python and all required dependencies (eg. Python, poetry, metadata_api, etc.)
TBD
Usage
- Run the main application from the command-line with the help argument:
poetry run metadata_etl --help
- You should get the this output:
usage: MetadataETL [-h] [-b BASE_FOLDER] [-p PROPOSAL] [-r RUN] [-s {proposal,file,run}] [-d DATA]
[-g {config,extract,transform,load}] [-v] [files ...]
Extract metadata from research data and load it into the metadata catalog.
positional arguments:
files List of data file(s)
options:
-h, --help show this help message and exit
-b BASE_FOLDER, --base_folder BASE_FOLDER
Base folder (default: $PWD)
-p PROPOSAL, --proposal PROPOSAL
Full proposal number
-r RUN, --run RUN Run numbers
-s {proposal,file,run}, --scope {proposal,file,run}
-d DATA, --data DATA Input file for data and metadata specifications
-g {config,extract,transform,load}, --stage {config,extract,transform,load}
-v, --verbose Verbose mode
Metadata
Release files for metadata_etl 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| metadata_etl-0.2.2.tar.gz | 27.5 kB | Without provenance | Details for metadata_etl-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| metadata_etl-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for metadata_etl-0.2.2-py3-none-any.whl |
Total release size: 65.7 kB
Release files / metadata_etl-0.2.2.tar.gz
| Download URL | metadata_etl-0.2.2.tar.gz |
|---|---|
| Size | 27.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e956b6e0feb5b4002818467efeed2bfa3be9dddd0bd094d1c9facbe35aaf2c3
|
|
BLAKE2b-256 checksum How to use checksums |
50b4f6c38af4e3ed1fae8aa1beda7c8136bab9723cfb30e2c09ffb0446ca69f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.12.4 Linux/6.8.0-57-generic
|
Release files / metadata_etl-0.2.2-py3-none-any.whl
| Download URL | metadata_etl-0.2.2-py3-none-any.whl |
|---|---|
| Size | 38.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4dce69557153c81985fe8e9ec232eee99a6d224321489b63e275d6f1aefc4fc5
|
|
BLAKE2b-256 checksum How to use checksums |
6d29663e1e447474dd859268d96be642294989523d99f39207268e547d03c248
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.12.4 Linux/6.8.0-57-generic
|
Security for metadata_etl 0.2.2
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.