OffAPI
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
Metadata
Release files for offapi 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| offapi-0.1.2.tar.gz | 1.7 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| offapi-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.3 MB
Release files / offapi-0.1.2.tar.gz
| Download URL | offapi-0.1.2.tar.gz |
|---|---|
| Size | 1.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8399d10ba5648d61a8e8cc790b5894b37562ebb512c26e59364e59b096a1ce2b
|
|
BLAKE2b-256 checksum How to use checksums |
bae414d7adf44ebd41eb8e880ceddd2c756fa28a019ca4d5c213f879a8d3aad0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.26.2 CPython/3.14.2 Linux/6.11.0-1018-azure
|
Release files / offapi-0.1.2-py3-none-any.whl
| Download URL | offapi-0.1.2-py3-none-any.whl |
|---|---|
| Size | 1.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5d97c83ed8dd6436b55dd4e4f5097c7f7a9b61dbeda0578db10cacbb769addb3
|
|
BLAKE2b-256 checksum How to use checksums |
4003b49aab6cfd290c5f49f8b8d209808a72fde5e728a82882e782406819172f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.26.2 CPython/3.14.2 Linux/6.11.0-1018-azure
|