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 7 more private sponsor(s).
Release files for griffe-public-redundant-aliases 0.3.1
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.1.tar.gz | 27.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| griffe_public_redundant_aliases-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.0 kB
Release files / griffe_public_redundant_aliases-0.3.1.tar.gz
| Download URL | griffe_public_redundant_aliases-0.3.1.tar.gz |
|---|---|
| Size | 27.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8feff8b746b142f4020c2031d423faf3a1af8734c34c01b1261ea9846eb0ba42
|
|
BLAKE2b-256 checksum How to use checksums |
fca2fed1980f87d4b26668aa6dd29dcb58e6b86d0e946a224356f28be6f5a9d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / griffe_public_redundant_aliases-0.3.1-py3-none-any.whl
| Download URL | griffe_public_redundant_aliases-0.3.1-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fecf95a1d2870ce67b50460cd88e1b13c2c8dad8a47e43d7407b6b5d5b0a4f13
|
|
BLAKE2b-256 checksum How to use checksums |
081eec805eee2fc6bf834f06f7f22a2b89728e890144c691d52c5af5d30f7616
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|