Skip to main content

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 the User-Agent header and as the default system name in reports.
  • SCHEDULE_TRACKER_ENDPOINT: The v2 report endpoint URL of the lucos_schedule_tracker instance (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 the SYSTEM environment 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 to 86400 (24 hours).

Metadata

Release files for lucos-schedule-tracker-pythonclient 2.0.21

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lucos-schedule-tracker-pythonclient 2.0.21
File Size Uploaded Provenance Actions
lucos_schedule_tracker_pythonclient-2.0.21.tar.gz 3.1 kB Without provenance Details for lucos_schedule_tracker_pythonclient-2.0.21.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lucos-schedule-tracker-pythonclient 2.0.21
File Interpreter ABI Platform Actions
lucos_schedule_tracker_pythonclient-2.0.21-py3-none-any.whl Python 3 none any Details for lucos_schedule_tracker_pythonclient-2.0.21-py3-none-any.whl

Total release size: 6.8 kB

Release files / lucos_schedule_tracker_pythonclient-2.0.21.tar.gz

Download URL lucos_schedule_tracker_pythonclient-2.0.21.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d1739e78a9b23eaeb0a3298fc8493216d112cba2eb520c320b9d094ce37cc1a7
BLAKE2b-256 checksum
How to use checksums
b2f971b918fd52aaca966d9758bc7c949f4d22b3c2d2d776f6ab65a7c34beb4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Release files / lucos_schedule_tracker_pythonclient-2.0.21-py3-none-any.whl

Download URL lucos_schedule_tracker_pythonclient-2.0.21-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f2ad8416094b9f48abd82e2a266c5e0e8e383e37670aada391bea41c510f892f
BLAKE2b-256 checksum
How to use checksums
8b705d2332731a150530ffbf093d47b83219c31cb473ac445f448e89bd609baf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Security for lucos-schedule-tracker-pythonclient 2.0.21

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

2.0.21 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