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-2023 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.17.2.tar.gz (4.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pygments-2.17.2.tar.gz
  • Upload date:
  • Size: 4.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for pygments-2.17.2.tar.gz
Algorithm Hash digest
SHA256 da46cec9fd2de5be3a8a784f434e4c4ab670b4ff54d605c4c2717e9d49c4c367
MD5 7c059773b0f4808f9402eb0650de6bd4
BLAKE2b-256 55598bccf4157baf25e4aa5a0bb7fa3ba8600907de105ebc22b0c78cfbf6f565

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pygments-2.17.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b27c2826c47d0f3219f29554824c30c5e8945175d888647acd804ddd04af846c
MD5 05bab8cd38860c62d6e146ec2949fefe
BLAKE2b-256 979c372fef8377a6e340b1704768d20daaded98bf13282b5327beb2e2fe2c7ef

See more details on using hashes here.

Supported by

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