/meval

https://pypi.org/project/meval

Primary LanguagePythonMIT LicenseMIT

meval

Evaluates python strings as async code

Usage

# inside an `async def`
from meval import meval
await meval("await thing", globals(), thing=my_function(arg=1))

License

MIT