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
~~~~~~~~

Pygments is a syntax highlighting package written in Python.

It is a generic syntax highlighter for general use in all kinds of software
such as forum systems, wikis or other applications that need to prettify
source code. Highlights are:

* a wide range of common languages and markup 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
* ... and it highlights even Brainfuck!

The `Pygments tip`_ is installable with ``easy_install Pygments==dev``.

.. _Pygments tip:
http://dev.pocoo.org/hg/pygments-main/archive/tip.tar.gz#egg=Pygments-dev

:copyright: Copyright 2006-2010 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 1.3
Filename, size File type Python version Upload date Hashes
Filename, size Pygments-1.3-py2.4.egg (922.3 kB) File type Egg Python version 2.4 Upload date Hashes View hashes
Filename, size Pygments-1.3-py2.5.egg (926.5 kB) File type Egg Python version 2.5 Upload date Hashes View hashes
Filename, size Pygments-1.3-py2.6.egg (926.0 kB) File type Egg Python version 2.6 Upload date Hashes View hashes
Filename, size Pygments-1.3.tar.gz (1.0 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