Skip to main content
Pre-release

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

Jentic API Tools - Common

Shared types, Pydantic models, centralized configuration, and utility functions for the Jentic API Tools monorepo. Every other package depends on this one.

Key Features

The common package defines the core type aliases (SpecType, SpecFormat, SpecVersion) used throughout the project, along with all Pydantic request/response models for the processing pipeline. It provides a centralized Settings class built on pydantic-settings that reads configuration from environment variables and .env files, with nested sections for LLM, API, jobs, pipeline, CLI, and public APIs configuration. The PublicApisSettings section configures GitHub integration for the public APIs catalog (token, repository, base branch, and catalog URL). Utility modules provide consistent logging via get_module_logger with configurable rotating file output, spec reordering, file I/O helpers, and CPU detection for parallelism. File logging is disabled by default and can be enabled via LOG_FILE_ENABLED=true for long-running servers; when enabled it uses a RotatingFileHandler (default 10 MB, 3 backups).

Dependencies

No internal dependencies. External: pydantic, pydantic-settings, python-dotenv, jentic-openapi-validator.

Installation

pip install jentic-apitools-common

Quick Start

from jentic.apitools.common.types import SpecType, SpecFormat
from jentic.apitools.common.settings import settings

print(settings.llm.provider)        # "BEDROCK"
print(settings.api.port)            # 8000
print(settings.jobs.storage_backend) # "memory"

Testing

pytest tests -v

Metadata

Release files for jentic-apitools-common 1.0.0a25

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-common 1.0.0a25
File Size Uploaded
jentic_apitools_common-1.0.0a25.tar.gz 27.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jentic-apitools-common 1.0.0a25
File Interpreter ABI Platform
jentic_apitools_common-1.0.0a25-py3-none-any.whl Python 3 none any Details

Total release size: 59.1 kB

Release files / jentic_apitools_common-1.0.0a25.tar.gz

Download URL jentic_apitools_common-1.0.0a25.tar.gz
Size 27.3 kB
Tags Source
SHA-256 checksum
How to use checksums
803e23775af28b0147c0aa99a083ca3a7514b93c9211f97be17167dfb6bc6271
BLAKE2b-256 checksum
How to use checksums
59f905b3ed80f9cb762705265ed33bd6416d3c5a1a02128e09ed2f1c33008bf7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / jentic_apitools_common-1.0.0a25-py3-none-any.whl

Download URL jentic_apitools_common-1.0.0a25-py3-none-any.whl
Size 31.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
377fbe34013746932cd41a1fb56d6cd914bdc4d66c352da2c43ef90d37528b18
BLAKE2b-256 checksum
How to use checksums
f624d912bf24dbb3a27af6b0ebbeea03149e7bf789a15747dd634012684eeadc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

1.0.0a25 This release

2 release files

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