Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Constrained Decoding Python Packages

Python packages with the GitHub topic constrained-decoding. Sorted by monthly downloads, with stars and forks.
NeuroBrix
nbxgrammar

NeuroBrix's grammar engine for constrained decoding (Rust, std only, a C ABI loaded from Python)

2K 2 0
dhanavanthesh
oc-sidememory

Exact semantic memory for schema-constrained token generation - enforces uniqueItems, contains and cross-field constraints during LLM decoding.

797 2 0
dhanavanthesh
oc-earley

Exact JSON Schema constrained decoding in Rust and Python

452 1 0
dhanavanthesh
maskforge

Fast, bounded JSON Schema constrained decoding for Rust and Python.

248 2 0
parkervg
grammar-guide

Speculative grammar backtracking algorithm for LLM decoding conforming to some lark context-free grammar (CFG)

235 7 1
EdoardoBotta
rectokens

A tokenizer library for sequential recommendation systems

178 10 2
rpo19
refactx

Refactx package

117 0 1
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology