# ipython-pygments-lexers

> Defines a variety of Pygments lexers for highlighting IPython code.

- **URL**: https://www.freshcrate.ai/projects/ipython-pygments-lexers
- **Author**: pypi
- **Category**: Frameworks
- **Latest version**: `1.1.1` (2026-04-21)
- **License**: Unknown
- **Source**: https://github.com/ipython/ipython-pygments-lexers
- **Homepage**: https://pypi.org/project/ipython-pygments-lexers/
- **Language**: Python
- **Registry**: pypi (`ipython-pygments-lexers`)
- **Tags**: `pypi`

## Description

A [Pygments](https://pygments.org/) plugin for IPython code & console sessions

[IPython](https://ipython.org/) is an interactive Python shell. Among other features,
it adds some special convenience syntax, including `%magics`, `!shell commands`
and `help?`. This package contains lexers for these, to use with the Pygments syntax
highlighting package.

- The `ipython` lexer should be used where only input code is highlighted
- The `ipythonconsole` lexer works for an IPython session, including code,
  prompts, output and tracebacks.

These lexers were previously part of IPython itself (in `IPython.lib.lexers`),
but have now been moved to a separate package.

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `1.1.1` | 2026-04-21 | Low | Imported from PyPI (1.1.1) |
| `main@2025-12-15` | 2025-12-15 | Low | Latest activity on main branch |
| `main@2025-12-15` | 2025-12-15 | Low | Latest activity on main branch |
| `main@2025-12-15` | 2025-12-15 | Low | Latest activity on main branch |
| `main@2025-12-15` | 2025-12-15 | Low | Latest activity on main branch |
| `main@2025-12-15` | 2025-12-15 | Low | Latest activity on main branch |
| `main@2025-12-15` | 2025-12-15 | Low | Latest activity on main branch |
| `main@2025-12-15` | 2025-12-15 | Low | Latest activity on main branch |
| `main@2025-12-15` | 2025-12-15 | Low | Latest activity on main branch |
| `main@2025-12-15` | 2025-12-15 | Low | Latest activity on main branch |

## Citation

- HTML: https://www.freshcrate.ai/projects/ipython-pygments-lexers
- Markdown: https://www.freshcrate.ai/projects/ipython-pygments-lexers.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/ipython-pygments-lexers/deps

_Generated by freshcrate.ai. Indexes pypi releases for AI-agent ecosystem packages._
