Skip to main content

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-present by the Pygments team, see AUTHORS. Licensed under the BSD, see LICENSE for details.

Metadata

Release files for Pygments 2.21.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Pygments 2.21.0
File Size Uploaded Provenance
pygments-2.21.0.tar.gz 5.0 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for Pygments 2.21.0
File Interpreter ABI Platform
pygments-2.21.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.3 MB

Release files / pygments-2.21.0.tar.gz

Download URL pygments-2.21.0.tar.gz
Size 5.0 MB
Tags Source
SHA-256 checksum
How to use checksums
610ca751c9bc2492b38eb9a38a7fbc93edbbb2d7182edaf34e66ae493dee5c8c
BLAKE2b-256 checksum
How to use checksums
492eced460408999b33da6b31b0021b0f37d329e202d4169aeb164493778f25b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.0

Release files / pygments-2.21.0-py3-none-any.whl

Download URL pygments-2.21.0-py3-none-any.whl
Size 1.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
2363c69b61c4a97c838da3b130dcd6468f4848992b21a82f2a63ec34377137d9
BLAKE2b-256 checksum
How to use checksums
714617f022dd3e953bf20a04a028a21ec746d942f8d2af30fa0f124fa0e6a684
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.0

Security for Pygments 2.21.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

2.21.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page