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.3
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.3.tar.gz | 2.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|