Skip to main content

OffAPI

PyPI

OpenAPI template files for offline usage.

This package will download the related files during the build time, and package them into the final distribution.

Supports

  • Swagger
  • Redoc
  • Scalar

Installation

pip install offapi

Usage

from offapi import OpenAPITemplate

swagger_template = OpenAPITemplate.SWAGGER.value
swagger_template.format(spec_url="your_path_to_the_spec.json")

Used by

  • spectree: API spec validator and OpenAPI document generator for Python web frameworks.
  • defspec: Create the OpenAPI spec and document from dataclass, attrs, etc.

Metadata

Release files for offapi 0.1.4

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

Source distribution (sdist)

Source distribution for offapi 0.1.4
File Size Uploaded
offapi-0.1.4.tar.gz 2.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for offapi 0.1.4
File Interpreter ABI Platform
offapi-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 5.1 MB

Release files / offapi-0.1.4.tar.gz

Download URL offapi-0.1.4.tar.gz
Size 2.5 MB
Tags Source
SHA-256 checksum
How to use checksums
6b3c2e7b7c0d18d99b57f22b9d5a21837f9253a0d6f9d6eca09a80be40e5b376
BLAKE2b-256 checksum
How to use checksums
75fafabd29ff1c95b6cee1c1b4e735a3c5503a310c51b4879d12fc59426a594f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.29.2 CPython/3.14.8 Linux/6.17.0-1022-azure

Release files / offapi-0.1.4-py3-none-any.whl

Download URL offapi-0.1.4-py3-none-any.whl
Size 2.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
2883dc555173c3842595738d01145d0453526ea88d254b65191fbb9a0ffb8284
BLAKE2b-256 checksum
How to use checksums
287b65f29182bac8210a5825ebbc65087e0baceacab630c88d948cfed8dd2345
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.29.2 CPython/3.14.8 Linux/6.17.0-1022-azure

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

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