#python #literals #rustpython-literal

rustpython-literal

Common literal handling utilities mostly useful for unparse and repr

3 unstable releases

0.4.0 Aug 6, 2024
0.3.1 Apr 6, 2024
0.3.0 Aug 29, 2023

#799 in Parser implementations

Download history 558/week @ 2024-12-21 990/week @ 2024-12-28 1608/week @ 2025-01-04 1606/week @ 2025-01-11 1689/week @ 2025-01-18 1227/week @ 2025-01-25 1119/week @ 2025-02-01 1384/week @ 2025-02-08 1001/week @ 2025-02-15 853/week @ 2025-02-22 1499/week @ 2025-03-01 2661/week @ 2025-03-08 2024/week @ 2025-03-15 1904/week @ 2025-03-22 2093/week @ 2025-03-29 2614/week @ 2025-04-05

8,908 downloads per month
Used in 18 crates (4 directly)

MIT license

27KB
704 lines

RustPython parser as a library

This project is forked from RustPython project. The parser is one of the core part of RustPython and Ruff project.

We try to keep these crates as a well-packaged library for more potential users.

Projects

  • RustPython is a Python interpreter
  • Ruff is an extremely fast Python linter
  • Pylyzer is a static code analyzer / language server for Python
  • Baembal is a Python package to accelerate ast.parse

Dependencies

~2MB
~40K SLoC