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-2024 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.18.0.tar.gz (4.9 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pygments-2.18.0.tar.gz
Algorithm Hash digest
SHA256 786ff802f32e91311bff3889f6e9a86e81505fe99f2735bb6d60ae0c5004f199
MD5 fbb7976df756f832f3391008778e8999
BLAKE2b-256 8e628336eff65bcbc8e4cb5d05b55faf041285951b6e80f33e2bff2024788f31

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pygments-2.18.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8e6aca0523f3ab76fee51799c488e38782ac06eafcf95e7ba832985c8e7b13a
MD5 ab3c5cc3c2d21df9d3a8b9c71c01f0f1
BLAKE2b-256 f73f01c8b82017c199075f8f788d0d906b9ffbbc5a47dc9918a945e13d5a2bda

See more details on using hashes here.

Supported by

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