Skip to content
jesniePublic

About

Python Framework for inspecting callers.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

hvorfra

A python library for inspecting the caller.

Minimal example

from hvorfra import assignment_name


def f() -> int:
    target = assignment_name()
    print(f"The result of this function is going to be assigned to: '{target}'.")
    return 42


some_variable_name = f()
some_other_variable_name = f()

prints

The result of this function is going to be assigned to: 'some_variable_name'.
The result of this function is going to be assigned to: 'some_other_variable_name'.

About

Python Framework for inspecting callers.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages