griffe-public-redundant-aliases
Mark objects imported with redundant aliases as public.
Installation
pip install griffe-public-redundant-aliases
Usage
Enable the griffe_public_redundant_aliases extension. Now all objects imported with redundant aliases will be marked as public, as per the convention.
# Following objects will be marked as public.
from somewhere import Thing as Thing
from somewhere import Other as Other
# Following object won't be marked as public.
from somewhere import Stuff
With MkDocs:
plugins:
- mkdocstrings:
handlers:
python:
options:
extensions:
- griffe_public_redundant_aliases
Sponsors
And 4 more private sponsor(s).
Metadata
Release files for griffe-public-redundant-aliases 0.3.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 | |
|---|---|---|---|
| griffe_public_redundant_aliases-0.3.2.tar.gz | 30.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| griffe_public_redundant_aliases-0.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.2 kB
Release files / griffe_public_redundant_aliases-0.3.2.tar.gz
| Download URL | griffe_public_redundant_aliases-0.3.2.tar.gz |
|---|---|
| Size | 30.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
718214549788b7a958e47a147c4aec90907651836abaab2f079802290e1b422c
|
|
BLAKE2b-256 checksum How to use checksums |
ec484753cc471252ea776f8981b2eff8d5835c966d574bd0fbcd0ffd8433ae19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / griffe_public_redundant_aliases-0.3.2-py3-none-any.whl
| Download URL | griffe_public_redundant_aliases-0.3.2-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d8d2d8a2b899f83b16da48350affcf331c202f2fa656904218cb47d951866feb
|
|
BLAKE2b-256 checksum How to use checksums |
f36c314113b858242cf49a9fd93dc8da5ef6dbb3aab23fa2bcaef8d20a268f3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|