DRS ID Mongo Publisher
This module read DRS Object information from the DRS DB and populates a Mongo collection with those object details. The designed purpose of the module is in support of the broader DRS2 OCFL Validation process.
Usage
usage: main.py [-h] -e ENVIRONMENT [-f IDS_FILE] [--dryrun] [--limit LIMIT] [--after AFTER] [--batch_size BATCH_SIZE]
Collect DRS Object details from the DRS DB and store them in a Mongo DB.
options:
-h, --help show this help message and exit
-e ENVIRONMENT, --environment ENVIRONMENT
Must be one of: dev, qa, prod
-f IDS_FILE, --ids_file IDS_FILE
A list of DRS object ids to process. If not provided, all objects will be processed.
--dryrun Run the script in dry run mode without making any changes.
--limit LIMIT Limit the number of objects to process. If not provided, all objects will be processed.
--after AFTER Process objects after a specific Object ID. If not provided, all objects will be processed.
--batch_size BATCH_SIZE
Number of records to process in a batch. If not provided, the default is 1000.
Notes
Applications that import this component must have a '.env' file in the form of 'env-example'
Metadata
Release files for drs-id-mongo-publisher 0.1.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 | Provenance | Actions |
|---|---|---|---|---|
| drs_id_mongo_publisher-0.1.0.tar.gz | 29.3 kB | Without provenance | Details for drs_id_mongo_publisher-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| drs_id_mongo_publisher-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for drs_id_mongo_publisher-0.1.0-py3-none-any.whl |
Total release size: 38.7 kB
Release files / drs_id_mongo_publisher-0.1.0.tar.gz
| Download URL | drs_id_mongo_publisher-0.1.0.tar.gz |
|---|---|
| Size | 29.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a13f7b97e28dd54ee7fb424ac833b46f0093b689a0c9d12259715569248ef2c0
|
|
BLAKE2b-256 checksum How to use checksums |
1d539cdb67d38639ab6cf3bd3c073a0ec3c7a18d7f79927b1613983939a96924
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.5
|
Release files / drs_id_mongo_publisher-0.1.0-py3-none-any.whl
| Download URL | drs_id_mongo_publisher-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b71890f7e0bdd1888480c05b15c0108961a27f9f71b0b7155a34f9865cd3fa91
|
|
BLAKE2b-256 checksum How to use checksums |
23abf48456545c7a36b56541b3fa3c9d57cc31cecb1d5174845ecfdbf96c51df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.5
|
Security for drs-id-mongo-publisher 0.1.0
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.