CTAN Comprehensive TeX Archive Network

New on CTAN: pythonimmediate

Date: December 24, 2022 11:24:03 AM CET
user202729 submitted the pythonimmediate package. Version number: 0.0.0 2022-12-23 License type: lppl1.3c Summary description: Library to run Python code Announcement text:
A library to run Python code. Refer to the package description for the unique features of the package.
This package is located at https://mirrors.ctan.org/macros/latex/contrib/pythonimmediate More information is at https://www.ctan.org/pkg/pythonimmediate
Thanks for the upload. For the CTAN Team Manfred Lotz CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs .

pythonimmediate – Library to run Python code

Just like Perl or PyLua (and unlike Python or lt3luabridge), this only requires a single run, and variables are persistent throughout the run.

Unlike Perl or PyLua, there is no restriction on compiler or script required to run the code.

There are also debugging functionalities: errors result in Python traceback, and Python errors result in traceback. Errors in code executed with the pycode environment give the correct traceback point to the Python line of code in the file.

For advanced users, this package allows the user to manipulate the state directly from within Python, so you don’t need to write a single line of code.

CAUTION: In addition to this package you need the Python pythonimmediate-tex package, which can be obtained from https://pypi.org/project/pythonimmediate-tex/.

Packagepythonimmediate
Version0.5.0 2024-01-18
Copyright2022–2024 user202729
Maintaineruser202729

Announcements

more

Guest Book Sitemap Contact Contact Author