This module enables Swagger OpenAPI docs that default to dark mode but can be toggled on or off, specifically for FastAPI. Requires virtually zero work to implement. DarkSwag has an optional argument for adding your project or company logo. Implementation is cake, depending on how you implement it. The easiest implementation method involves importing the FastAPI class override, and that's it. See the Github README for more info.
Metadata
Release files for dark-swag 1.0.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 | |
|---|---|---|---|
| dark_swag-1.0.4.tar.gz | 1.9 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dark_swag-1.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.8 MB
Release files / dark_swag-1.0.4.tar.gz
| Download URL | dark_swag-1.0.4.tar.gz |
|---|---|
| Size | 1.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f1e2a69824bf52e7a5d12875b5cb32e6e08f74c70d98712cfce00720fa2712d
|
|
BLAKE2b-256 checksum How to use checksums |
3368a0af4b2a6815360634d3f4277ada2836307f0f2d794f177968badd81ed2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.2
|
Release files / dark_swag-1.0.4-py3-none-any.whl
| Download URL | dark_swag-1.0.4-py3-none-any.whl |
|---|---|
| Size | 1.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4488355c7a46a8baf4376ec152b9ba1ec2e7584aa6a05e842e410ca36bdef171
|
|
BLAKE2b-256 checksum How to use checksums |
7d3750ff73881dca95d83626488098ac1a6986f22be0a9912bfd3b4d8d51b456
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.2
|