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

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.3
File Size Uploaded
offapi-0.1.3.tar.gz 2.1 MB Details

Built distribution (wheel)

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

Total release size: 4.3 MB

Release files / offapi-0.1.3.tar.gz

Download URL offapi-0.1.3.tar.gz
Size 2.1 MB
Tags Source
SHA-256 checksum
How to use checksums
cd1e067cae7aa41b7f64098e9671a970b556a58f605b369ddc1a98864e30641b
BLAKE2b-256 checksum
How to use checksums
a25f836e07f4dced76836eb142251551093d7284774878b5e1e405890823978f
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.3-py3-none-any.whl

Download URL offapi-0.1.3-py3-none-any.whl
Size 2.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
ed5b26a7af2a8892119cd2513c5b3bf90f1667b652a29c2d216797269d4e9275
BLAKE2b-256 checksum
How to use checksums
016461e9532f040f654adefacc94945353ad6ee98e9a22dd42ea9af8c705716b
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

0.1.4

2 release files

This release

0.1.3 This release

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