#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

#875 in Parser implementations

Download history 801/week @ 2024-12-25 1106/week @ 2025-01-01 1810/week @ 2025-01-08 1602/week @ 2025-01-15 1549/week @ 2025-01-22 912/week @ 2025-01-29 1578/week @ 2025-02-05 956/week @ 2025-02-12 996/week @ 2025-02-19 804/week @ 2025-02-26 2809/week @ 2025-03-05 2097/week @ 2025-03-12 1899/week @ 2025-03-19 1920/week @ 2025-03-26 2375/week @ 2025-04-02 1889/week @ 2025-04-09

8,334 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