xgrammar

Efficient, Flexible and Portable Structured Generation

Installation

In a virtualenv (see these instructions if you need to create one):

pip3 install xgrammar

Dependencies

Releases

Version Released Bullseye
Python 3.9
Bookworm
Python 3.11
Trixie
Python 3.13
Files
0.1.33 2026-03-27      
0.1.32 2026-03-04      
0.1.31 2026-01-19      
0.1.30 2026-01-17      
0.1.29 2025-12-19      
0.1.28 2025-12-09      
0.1.27 2025-11-04      
0.1.26 2025-10-20      
0.1.25 2025-09-21      
0.1.24 2025-09-04      
0.1.23 2025-08-15      
0.1.22 2025-07-27      
0.1.21 2025-07-10      
0.1.20 2025-06-30      
0.1.19 2025-05-08      
0.1.18 2025-04-08      
0.1.17 2025-03-25      
0.1.16 2025-03-15      
0.1.15 2025-03-05      
0.1.14 2025-02-26      
0.1.13 2025-02-14
0.1.12 2025-02-13
0.1.11 2025-01-24
0.1.10 2025-01-16
0.1.9 2025-01-08
0.1.8 2024-12-25
0.1.7 2024-12-12
0.1.6 2024-12-07
0.1.5 2024-11-29
0.1.5rc1 pre-release 2024-11-27
0.1.4 2024-11-25
0.1.4rc2 pre-release 2024-11-25
0.1.3 2024-11-25
0.1.2 2024-11-25
0.1.1 2024-11-24
0.1.0 2024-11-22

Issues with this package?

Page last updated 2026-03-29 22:38:18 UTC