Skip to main content

Pygments is a syntax highlighting package written in Python.

Project description

Pygments is a syntax highlighting package written in Python.

It is a generic syntax highlighter suitable for use in code hosting, forums, wikis or other applications that need to prettify source code. Highlights are:

  • a wide range of over 500 languages and other text formats is supported

  • special attention is paid to details, increasing quality by a fair amount

  • support for new languages and formats are added easily

  • a number of output formats, presently HTML, LaTeX, RTF, SVG, all image formats that PIL supports and ANSI sequences

  • it is usable as a command-line tool and as a library

Copyright 2006-2025 by the Pygments team, see AUTHORS. Licensed under the BSD, see LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pygments-2.19.2.tar.gz (5.0 MB view details)

Uploaded Source

Built Distribution

pygments-2.19.2-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file pygments-2.19.2.tar.gz.

File metadata

  • Download URL: pygments-2.19.2.tar.gz
  • Upload date:
  • Size: 5.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for pygments-2.19.2.tar.gz
Algorithm Hash digest
SHA256 636cb2477cec7f8952536970bc533bc43743542f70392ae026374600add5b887
MD5 79260d1c566a507953a81d24b1c51c72
BLAKE2b-256 b077a5b8c569bf593b0140bde72ea885a803b82086995367bf2037de0159d924

See more details on using hashes here.

File details

Details for the file pygments-2.19.2-py3-none-any.whl.

File metadata

  • Download URL: pygments-2.19.2-py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for pygments-2.19.2-py3-none-any.whl
Algorithm Hash digest
SHA256 86540386c03d588bb81d44bc3928634ff26449851e99741617ecb9037ee5ec0b
MD5 c6f882e4a4ffd8543f245d4f7ce0d7fa
BLAKE2b-256 c721705964c7812476f378728bdf590ca4b771ec72385c533964653c68e86bdc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page