tokenize-rt

JSON →
library 6.2.0 ·python
verified May 20, 2026

tokenize-rt is a Python library that provides a wrapper around the standard library's `tokenize` module, ensuring proper round-tripping of Python source code. It extends the standard token set with `ESCAPED_NL` and `UNIMPORTANT_WS` tokens, making it especially useful for refactoring tools that need to preserve whitespace and exact source representation. The library is actively maintained, with version 6.2.0 released on May 23, 2025, and generally follows a regular release cadence.

total hits 14
actors 6 distinct systems
last hit 1d ago Googlebot
GPTBot
6
Script
3
ChatGPT-User
1
Search engines
2

top countries 🇺🇸 United States · 🇩🇪 Germany · 🇮🇳 India · 🇨🇦 Canada · 🇫🇷 France