jorenham/exports

re-exporting with `export_from`

Opened this issue · 0 comments

signature:

def export_from(
    module: ModuleType, 
    name: LiteralString = "__all__", 
    as_: LiteralString | None = None,
    /,
)

example usage:

from exports import export_from
from . import _version

export_from(_version, "version", "__version__")