Fri, 04 Dec 2026 23:25:19 UTC Log in
Run Python from within a document, typesetting the results 1.55 MB built 2026-07-10 14:54:26 GMT

Description

The package allows you to enter Python code within a LaTeX document, execute the code, and access its output in the original document. There is also support for Bash, JavaScript, Julia, Octave, Perl, R, Raku (Perl 6), Ruby, Rust, and SageMath. Code is only executed when it has been modified, or when it meets user-specified criteria. Code may be divided into user-defined sessions, which automatically run in parallel. Errors and warnings are synchronized with the LaTeX document, so that they refer to the document's line numbers. External dependencies can be tracked, so that code is re-executed when the data it depends on is modified. PythonTeX also provides syntax highlighting for code in LaTeX documents via the Pygments syntax highlighter. The package provides a depythontex utility. This creates a copy of the document in which all Python code has been replaced by its output. This is useful for journal submissions, sharing documents, and conversion to other formats.

Dependencies

27 total
Requires17
  • /usr/bin/python3
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(FileDigests) <= 4.6.0-1
  • rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  • rpmlib(PayloadIsZstd) <= 5.4.18-1
  • tex(currfile.sty)
  • tex(etex.sty)
  • tex(etoolbox.sty)
  • tex(fancyvrb.sty)
  • tex(fvextra.sty)
  • tex(newfloat.sty)
  • tex(pgfopts.sty)
  • tex(upquote.sty)
  • tex(xcolor.sty)
  • tex(xstring.sty)
  • texlive-base
  • texlive-kpathsea
Provides8
  • tex(pythontex.sty) = 12:20260301-112.fc45
  • tex-pythontex = 12:20260301-112.fc45
  • tex-pythontex-bin = 12:20260301-112.fc45
  • tex-pythontex-doc = 12:20260301-112.fc45
  • texlive-pythontex = 12:20260301-112.fc45
  • texlive-pythontex = 12:svn77873-112.fc45
  • texlive-pythontex-bin = 12:20260301-112.fc45
  • texlive-pythontex-doc = 12:20260301-112.fc45
Obsoletes2
  • texlive-pythontex-bin < 7:20170520
  • texlive-pythontex-doc < 7:20170520
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

24
Name ascending sort Size
/usr/bin/depythontex 62.00 B
/usr/bin/pythontex 60.00 B
/usr/share/licenses/texlive-pythontex 0.00 B
/usr/share/licenses/texlive-pythontex/bsd.txt 35.00 B
/usr/share/licenses/texlive-pythontex/lppl1.3c.txt 40.00 B
/usr/share/texlive/texmf-dist/doc/latex/pythontex 0.00 B
/usr/share/texlive/texmf-dist/doc/latex/pythontex/NEWS.rst 33.51 KB
/usr/share/texlive/texmf-dist/doc/latex/pythontex/README 2.55 KB
/usr/share/texlive/texmf-dist/doc/latex/pythontex/pythontex.pdf 956.12 KB
/usr/share/texlive/texmf-dist/doc/latex/pythontex/pythontex_gallery.pdf 364.46 KB
/usr/share/texlive/texmf-dist/doc/latex/pythontex/pythontex_gallery.tex 9.37 KB
/usr/share/texlive/texmf-dist/doc/latex/pythontex/pythontex_quickstart.pdf 177.36 KB
/usr/share/texlive/texmf-dist/doc/latex/pythontex/pythontex_quickstart.tex 10.32 KB
/usr/share/texlive/texmf-dist/doc/latex/pythontex/syncpdb.py 55.33 KB
/usr/share/texlive/texmf-dist/scripts/pythontex 0.00 B
/usr/share/texlive/texmf-dist/scripts/pythontex/depythontex.py 798.00 B
/usr/share/texlive/texmf-dist/scripts/pythontex/depythontex3.py 69.14 KB
/usr/share/texlive/texmf-dist/scripts/pythontex/pythontex.py 2.95 KB
/usr/share/texlive/texmf-dist/scripts/pythontex/pythontex3.py 139.32 KB
/usr/share/texlive/texmf-dist/scripts/pythontex/pythontex_engines.py 62.63 KB
/usr/share/texlive/texmf-dist/scripts/pythontex/pythontex_install.py 20.70 KB
/usr/share/texlive/texmf-dist/scripts/pythontex/pythontex_utils.py 19.92 KB
/usr/share/texlive/texmf-dist/tex/latex/pythontex 0.00 B
/usr/share/texlive/texmf-dist/tex/latex/pythontex/pythontex.sty 67.34 KB
Files 1–24 of 24

Component of

buildroots that installed this RPM
Buildroot descending sort Created State
f45-build-60640-1043 2026-11-25 05:38:50 expired
f45-build-60618-1041 2026-11-25 05:31:58 expired
f45-build-9345-401 2026-10-13 20:28:00 expired
Buildroots 1–3 of 3