python PyPI
Magnify icon
  • All Packages
    • JavaScript
    • Python
    • Go
  • Code Examples
    • JavaScript
    • Python
  • Categories
    • JavaScript - Popular
    • JavaScript - Healthiest
    • Python - Popular
    • Python - Healthiest
  • Developer Tools
    • Vulnerability DB
    • Code Checker
    • Snyk Learn
    • Blog
Sign Up
  1. Advisor
  2. Pygments
  3. functions
View all Pygments analysis

Most popular functions for Pygments

To help you get started, we’ve selected a few Pygments examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

  • 1

    pygments.formatters.HtmlFormatter

    arrow
  • 2

    pygments.highlight

    arrow
  • 3

    pygments.lexer.bygroups

    arrow
  • 4

    pygments.lexer.DelegatingLexer

    arrow
  • 5

    pygments.lexer.include

    arrow
  • 6

    pygments.lexer.RegexLexer

    arrow
  • 7

    pygments.lexer.using

    arrow
  • 8

    pygments.lexer.words

    arrow
  • 9

    pygments.lexers.get_lexer_by_name

    arrow
  • 10

    pygments.token.Comment

    arrow
  • 11

    pygments.token.Keyword

    arrow
  • 12

    pygments.token.Name

    arrow
  • 13

    pygments.token.Name.Builtin

    arrow
  • 14

    pygments.token.Name.Function

    arrow
  • 15

    pygments.token.Name.Variable

    arrow
  • 16

    pygments.token.Number

    arrow
  • 17

    pygments.token.Operator

    arrow
  • 18

    pygments.token.Punctuation

    arrow
  • 19

    pygments.token.String

    arrow
  • 20

    pygments.token.Text

    arrow

Product

  • Partners
  • Developers & DevOps Features
  • Enterprise Features
  • Pricing
  • API Status

Resources

  • Vulnerability DB
  • Blog
  • Learn
  • Documentation
  • Snyk API
  • Research
  • FAQs
  • npm packages list
  • Python Code Examples
  • Browse all Python packages

Company

  • About us
  • Customers
  • Jobs at Snyk
  • Legal Terms
  • Privacy
  • Press Kit
  • Events
  • Secure by Design

Connect

  • Book a demo
  • Contact us
  • Support
  • Report a new vuln

Security

  • JavaScript Security
  • Kubernetes Security
  • Container Security
  • Open Source Security
  • Secure SDLC

Find us online

Track our development

Snyk|Open Source Security Platform © 2025 Snyk Ltd.