semvec/pypi-packages huggingface dataset:
framemagic 0.1.1
Python magic based on frame stack call
License: MIT
Requires Python: >=3.5
Keywords: frame,getframe,nameof,stackframe

# PyMagic

[![license](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
![Tests](https://github.com/sammnnz/PyMagic/actions/workflows/tests.yml/badge.svg)
[![codecov](https://codecov.io/gh/sammnnz/PyMagic/branch/master/graph/badge.svg?token=P8ZKEDO1MS)](https://codecov.io/gh/sammnnz/PyMagic)

This is a Python package based on calling the stack of frames at runtime and analyzing the code object of frames.

For example, the `nameof` function is implemented here (as in C#).