Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Jentic API Tools - Jobs

Async job execution with pluggable backends for running pipeline operations in the background. Supports in-memory thread pool (default) and optional Redis/Celery distributed execution.

Key Features

The jobs package provides a TaskRunner abstraction with two implementations: ThreadPoolRunner for in-memory execution using a thread pool, and CeleryRunner for distributed execution via Redis and Celery. A create_task_runner factory selects the appropriate runner based on configuration. Job state is tracked through JobStorage (with MemoryJobStorage and Redis-backed implementations). Progress is reported through ProgressReporter objects that support SSE streaming to API clients. Periodic cleanup removes expired jobs and optionally their output directories. Supported JobOperation values are IMPORT, SCORE, IMPROVE, and QA; the corresponding processors (process_import, process_score, process_improve) live in jobs.processors and are dispatched by both the in-memory and Celery runners.

Dependencies

Internal: jentic.apitools.common, jentic.apitools.pipelines. Optional: redis, celery[redis].

Installation

pip install jentic-apitools-jobs

Quick Start

from jentic.apitools.jobs import create_task_runner
from jentic.apitools.common.models import JobOperation

runner = create_task_runner()
runner.storage.create_job("job-1", JobOperation.SCORE)
runner.submit_job("job-1", JobOperation.SCORE, {"spec_url": "https://example.com/api.json"})

Testing

pytest tests -v

Metadata

Release files for jentic-apitools-jobs 1.0.0a27

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

Source distribution (sdist)

Source distribution for jentic-apitools-jobs 1.0.0a27
File Size Uploaded Provenance Actions
jentic_apitools_jobs-1.0.0a27.tar.gz 17.0 kB Without provenance Details for jentic_apitools_jobs-1.0.0a27.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jentic-apitools-jobs 1.0.0a27
File Interpreter ABI Platform Actions
jentic_apitools_jobs-1.0.0a27-py3-none-any.whl Python 3 none any Details for jentic_apitools_jobs-1.0.0a27-py3-none-any.whl

Total release size: 39.2 kB

Release files / jentic_apitools_jobs-1.0.0a27.tar.gz

Download URL jentic_apitools_jobs-1.0.0a27.tar.gz
Size 17.0 kB
Tags Source
SHA-256 checksum
How to use checksums
eca7939494d151b229de7bd50717c2c0e51edfb0582207dd678dd0175d1401ac
BLAKE2b-256 checksum
How to use checksums
67b2ac59f599617b7cea869192af426fdb9260feda17f0af016efab1658f65e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / jentic_apitools_jobs-1.0.0a27-py3-none-any.whl

Download URL jentic_apitools_jobs-1.0.0a27-py3-none-any.whl
Size 22.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
63781de003ebd414eba75488698785015650f1b8ee41af57bb5f75ee4c985217
BLAKE2b-256 checksum
How to use checksums
b9873fe8f0786c79b615a484a1d8f3858601c8dfcc6cb72efca531917ba2cd52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Security for jentic-apitools-jobs 1.0.0a27

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
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