Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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 300 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:Copyright 2006-2017 by the Pygments team, see AUTHORS.
license: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.

Files for Pygments, version 2.3.1
Filename, size File type Python version Upload date Hashes
Filename, size Pygments-2.3.1-py2.py3-none-any.whl (849.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size Pygments-2.3.1.tar.gz (3.1 MB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page