Skip to main content

OpenAPI frontend render offline template.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

offapi-0.1.2.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

offapi-0.1.2-py3-none-any.whl (1.7 MB view details)

Uploaded Python 3

File details

Details for the file offapi-0.1.2.tar.gz.

File metadata

  • Download URL: offapi-0.1.2.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.26.2 CPython/3.14.2 Linux/6.11.0-1018-azure

File hashes

Hashes for offapi-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8399d10ba5648d61a8e8cc790b5894b37562ebb512c26e59364e59b096a1ce2b
MD5 08463a796e2a155fbda3a33cb69b4338
BLAKE2b-256 bae414d7adf44ebd41eb8e880ceddd2c756fa28a019ca4d5c213f879a8d3aad0

See more details on using hashes here.

File details

Details for the file offapi-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: offapi-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.26.2 CPython/3.14.2 Linux/6.11.0-1018-azure

File hashes

Hashes for offapi-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5d97c83ed8dd6436b55dd4e4f5097c7f7a9b61dbeda0578db10cacbb769addb3
MD5 666fdd6e4055a9d14651ef82c580df51
BLAKE2b-256 4003b49aab6cfd290c5f49f8b8d209808a72fde5e728a82882e782406819172f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page