lucos_schedule_tracker_pythonclient
Python library for sending updates to lucos_schedule_tracker.
This library posts to the v2 /report-status endpoint. See ADR-0004 for the architectural background on system vs job_name.
Configuration
The following environment variables must be set for the library to function:
SYSTEM: A unique identifier for the system being tracked. This is used as theUser-Agentheader and as the defaultsystemname in reports.SCHEDULE_TRACKER_ENDPOINT: The v2 report endpoint URL of thelucos_schedule_trackerinstance (e.g.,https://schedule-tracker.example.com/v2/report-status). The URL must contain/v2/— the library validates this at startup and exits with an error if it does not.
Usage
from schedule_tracker import updateScheduleTracker
# Report a successful run
updateScheduleTracker(True, "ingestor_dbpedia")
# Report a failure with a message
updateScheduleTracker(False, "ingestor_loc", message="Database connection failed")
API Reference
updateScheduleTracker(success: bool, job_name: str, system: str = SYSTEM, message: str | None = None, frequency: int = 86400)
Sends a status update to the v2 schedule tracker endpoint.
success(bool, required): Whether the job completed successfully.job_name(str, required): A sub-job identifier within the system (e.g."ingestor_dbpedia_meanOfTransportation"). Naming the job explicitly makes it easier to add further jobs to the same system later without schema changes.system(str, optional): The identifier for the owning system (e.g."lucos_arachne"). Defaults to the value of theSYSTEMenvironment variable.message(str | None, optional): A human-readable message, typically used to provide details on failure.frequency(int, optional): How often the job is expected to run, in seconds. Defaults to86400(24 hours).
Metadata
Release files for lucos-schedule-tracker-pythonclient 2.0.16
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 |
|---|---|---|---|---|
| lucos_schedule_tracker_pythonclient-2.0.16.tar.gz | 3.1 kB | Without provenance | Details for lucos_schedule_tracker_pythonclient-2.0.16.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lucos_schedule_tracker_pythonclient-2.0.16-py3-none-any.whl | Python 3 | none | any | Details for lucos_schedule_tracker_pythonclient-2.0.16-py3-none-any.whl |
Total release size: 6.7 kB
Release files / lucos_schedule_tracker_pythonclient-2.0.16.tar.gz
| Download URL | lucos_schedule_tracker_pythonclient-2.0.16.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee0ac1d0d91b6b9cdf7416de696d24b6a4ae23d24107a7b6ffa9c280d61eb0b8
|
|
BLAKE2b-256 checksum How to use checksums |
f35f078998693c257947c7cb3b5e2608db46ea14fdfbe9021b3873bc50a6fe4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|
Release files / lucos_schedule_tracker_pythonclient-2.0.16-py3-none-any.whl
| Download URL | lucos_schedule_tracker_pythonclient-2.0.16-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a641b60eb53e13974b64529bddc6129bc13a3727e0a9132828b588b5e041542f
|
|
BLAKE2b-256 checksum How to use checksums |
7701cf1f615c30e32617e6b8bff646770935a9277f6da6e5396fbec360808e5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|
Security for lucos-schedule-tracker-pythonclient 2.0.16
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.