pythonpy-clone

rewrite of pythonpy using AST manipulations instead of regex


License
BlueOak-1.0.0
Install
pip install pythonpy-clone==0.0.4

Documentation

pythonpy clone

This is a rewrite of pythonpy with (planned) feature parity and which is more robust. Instead of using regex to attempt to automatically import all identifiers, it uses a library which I already wrote called Import Expression Parser to add easy inline imports e.g. urllib.parse!.quote("a b c").

For more information, see the pythonpy README and py --help.

Installation

pip install pythonpy-clone (or via pipx: pipx install pythonpy-clone)

From source:

pip install .

License

BlueOak Model License v1.0.0, see LICENSE.md. For rationale, see kemitchell's blog post on the matter.