metaman package
metaman package
metadata manager (METAMAN)… Makes use of Python’s dynamic nature to inspect a program’s internals.
- class Inspector(*, up=0)[source]
Bases:
objectHelper class for python introspection (e.g. What line number is this?)
- Parameters
up (
int) –
- exception MetamanDeprecationWarning[source]
Bases:
WarningDepreciationWarning that doesn’t get ignored by default.
- cname(obj)[source]
Helper function for getting an object’s class name as a string.
- Parameters
obj (
object) –- Return type
str
- deprecated(func, wmsg)[source]
Used to deprecate @func after renaming it or moving it to a different module/package.
- Parameters
func (
Callable) –wmsg (
str) –
- Return type
Callable