pyjupyter__source
Lightweight environment for typesetting Python code
- Version:
- 1.2.1
- Copyright:
- Bara Ouyèté Bright
- License:
- lppl1.3c
- Packaged on:
- 04/12/2026 10:03:17
- Number of files:
- 3
- Size on disk:
- 14.63 kB
The pyjupyter package provides a lightweight and elegant environment for typesetting Python code in LaTeX documents with a visual style inspired by Jupyter notebooks. It leverages the listings package for syntax highlighting and tcolorbox for structured, breakable frames. Key features include: Full support for French accents and UTF-8 encoding. Intelligent syntax highlighting for Python operators and keywords. A dedicated numbered option for line numbering. Seamless integration with TeXstudio via an included .cwl file for auto-completion. Robust handling of Python comments (#) using an optional argument syntax. Font selection. Code size modification.