The repository or configuration that created this release differ from a previous release. View details.
takibi-swagger-ui
Swagger UI for a TakibiAPI app (or its pydantic / zopy flavors), as Hono's @hono/swagger-ui.
pip install takibi-swagger-ui
from takibiapi import TakibiAPI
from takibi_swagger_ui import swaggerUI
app = TakibiAPI()
# app.openapi(route, handler) ...
app.doc("/doc", {"openapi": "3.1.0", "info": {"title": "My API", "version": "1.0.0"}})
app.use(swaggerUI({"url": "/doc"}), prefix="/ui") # GET /ui: the Swagger UI page
The page loads swagger-ui-dist from jsDelivr ("version": "5.17.14" pins it) and the document from url.
Options
title: the page's<title>(defaultSwaggerUI).version: theswagger-ui-distversion.manuallySwaggerUIHtml:(asset) -> str, the page body built fromasset["css"]/asset["js"].- Everything else is Swagger UI's configuration (
url,urls,spec,deepLinking,docExpansion,persistAuthorization, ...), written as JSON.presets,plugins,requestInterceptor,responseInterceptor,onComplete,operationsSorter,tagsSorter,modelPropertyMacroandparameterMacroare JavaScript source and written as they are:
swaggerUI({"url": "/doc", "requestInterceptor": "(req) => { req.headers['x-api-key'] = 'dev'; return req }"})
SwaggerUI(options) returns the markup alone, to put in a page of your own.
Development
From the repository root: uv run pytest packages/takibi-swagger-ui. See the root README.
License
Distributed under the MIT License. See LICENSE for more information.
Metadata
Release files for takibi-swagger-ui 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Change of provenance
The repository or configuration that created these release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| takibi_swagger_ui-0.1.1.tar.gz | 5.1 kB | With provenance | Details for takibi_swagger_ui-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| takibi_swagger_ui-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for takibi_swagger_ui-0.1.1-py3-none-any.whl |
Total release size: 11.1 kB
Release files / takibi_swagger_ui-0.1.1.tar.gz
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | takibi_swagger_ui-0.1.1.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b32c6a6c5489fd98ee1050aeb1e36b58725da0379026ed43964c6b5dc4327422
|
|
BLAKE2b-256 checksum How to use checksums |
d6ac46fdabb9181e0f2777b7de25e079d3606606206b37b36314999eadf922a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.
Transparency logRelease files / takibi_swagger_ui-0.1.1-py3-none-any.whl
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | takibi_swagger_ui-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
afbeb87123f5fb6978cb47e6224f51042600db242f4cddb4abb85d8fa62fa9a4
|
|
BLAKE2b-256 checksum How to use checksums |
6706514f8511b9600b4f09d32eccec6fda297b5205a1d198b55abff560c22c2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.
Transparency logSecurity for takibi-swagger-ui 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Change of provenance
The repository and configuration that created this release differ from a previous release.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Repository
- Removed 0.1.0 github.com/nakita628/takibi
- Added 0.1.1 github.com/nakita628/takibiapi
Attestation for takibi_swagger_ui-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.