Skip to main content
Pre-release

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

Jentic API Tools - Storage

Pluggable storage backends for persisting OpenAPI pipeline artifacts to filesystem, S3, GitHub repositories, or SQL databases.

Key Features

The storage package provides a StorageBackend abstract base class implemented by four backends: FilesystemStorage (default), S3Storage, GitHubStorage, and DatabaseStorage. A StorageContext context manager handles the lifecycle of temporary working directories during pipeline processing and persists results to the configured backend on exit. Helper functions create storage contexts from request metadata or environment variables, with fallback support. S3, GitHub, and database backends are imported on demand to avoid requiring their dependencies when unused.

Dependencies

Internal: jentic.apitools.common. External: sqlalchemy, PyGithub. Optional: boto3 (for S3).

Installation

pip install jentic-apitools-storage

Quick Start

from jentic.apitools.storage import StorageConfig, StorageType, StorageContext

config = StorageConfig(storage_type=StorageType.FILESYSTEM, base_path="./artifacts")
with StorageContext(config) as ctx:
    # Pipeline writes to ctx.working_dir
    pass

Testing

pytest tests -v

Metadata

Release files for jentic-apitools-storage 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-storage 1.0.0a25
File Size Uploaded
jentic_apitools_storage-1.0.0a25.tar.gz 17.3 kB Details

Built distribution (wheel)

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

Total release size: 42.3 kB

Release files / jentic_apitools_storage-1.0.0a25.tar.gz

Download URL jentic_apitools_storage-1.0.0a25.tar.gz
Size 17.3 kB
Tags Source
SHA-256 checksum
How to use checksums
57f6c60103016acc04adf3d67e6a741df95c9b944d151d3ddcc87604ccbafdfd
BLAKE2b-256 checksum
How to use checksums
71d0eaf17c8768ce338c1b903b73baa67d024f51f168951b6a8018314ae91ef5
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_storage-1.0.0a25-py3-none-any.whl

Download URL jentic_apitools_storage-1.0.0a25-py3-none-any.whl
Size 25.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a3f459729dce15cc566de37b0c6962ac920cfefc51e1e15c7ee750006398ad40
BLAKE2b-256 checksum
How to use checksums
28fc05fe6cade0bf56141a47248a77b0b7215cf7482304450e06ffec15eb3007
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12
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