# @lezer/python

> Lezer-based Python grammar

Latest version **1.1.19** (published 2026-05-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install @lezer/python
pnpm add @lezer/python
yarn add @lezer/python
bun add @lezer/python
```

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.1.19 |
| Published | 2026-05-28 |
| First published | 2021-08-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 130.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Marijn Haverbeke |
| Maintainers | marijn |

## Links

- npm: https://www.npmjs.com/package/@lezer/python
- Repository: https://code.haverbeke.berlin/lezer/python
- npm.io page: https://npm.io/package/@lezer/python

## Dependencies (3)

- [@lezer/lr](https://npm.io/package/@lezer/lr.md) ^1.0.0
- [@lezer/common](https://npm.io/package/@lezer/common.md) ^1.2.0
- [@lezer/highlight](https://npm.io/package/@lezer/highlight.md) ^1.0.0

## Recent versions

- 1.1.19 (latest) — 2026-05-28
- 1.1.18 — 2025-04-17
- 1.1.17 — 2025-03-29
- 1.1.16 — 2025-03-05
- 1.1.15 — 2024-12-06
- 1.1.14 — 2024-05-25
- 1.1.13 — 2024-03-18
- 1.1.12 — 2024-03-12
- 1.1.11 — 2024-01-16
- 1.1.10 — 2023-12-28
- 1.1.9 — 2023-10-20
- 1.1.8 — 2023-07-03
- 1.1.7 — 2023-05-27
- 1.1.6 — 2023-05-18
- 1.1.5 — 2023-04-28
- … 10 more at https://npm.io/package/@lezer/python/versions

## README

# @lezer/python

This is a Python grammar for the
[Lezer](https://lezer.codemirror.net/) parser system.

The code is licensed under an MIT license.

---
_Source: https://npm.io/package/@lezer/python · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
