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