rberga06.utils.about.about#
- class rberga06.utils.about.about(name: str, pkg: str)#
Bases:
objectUtilities for distribution data access.
Methods
__init__(name, pkg)dep(name, /)Get infos about this dependency.
deps()Get infos about all dependencies.
deps_enum(enum)Decorate a
DepsEnum.path(child)Get the
pathlib.Pathofchildin this distribution.Attributes
The distribution's name.
The distribution's root package.
Get the
importlib.metadata.Distributionobject.Get the version.
- dep(name: str, /) dependency#
Get infos about this dependency.
- deps() dict[str, dependency]#
Get infos about all dependencies.
- deps_enum(enum: _E) _E#
Decorate a
DepsEnum.
- property dist: Distribution#
Get the
importlib.metadata.Distributionobject.
- path(child: str) ContextManager[Path]#
Get the
pathlib.Pathofchildin this distribution.