Skip to content

tree-sitter-grammars/tree-sitter-requirements

Repository files navigation

tree-sitter-requirements

CI discord matrix pypi

A tree-sitter parser for pip requirements files.

Python package

Installation

pip install tree-sitter-requirements

References

Editors

  ☑ Neovim
  ☐ Helix
  ☐ Emacs
  ☐ Zed

Changelog

v0.4.0

  • Update bindings
  • Remove custom functions
  • Drop Python 3.8 support

v0.3.3

  • Fix library compilation

v0.3.2

  • Fix platform detection code

v0.3.1

  • Replace deprecated resource API

v0.3.0

  • Change bindings layout

v0.2.0

  • Move to tree-sitter-grammars org

v0.1.5

  • Resolve _version_list conflict
  • Fix inline comments

v0.1.4

  • Make URL scheme case-insensitive

v0.1.3

  • Support per-requirement options
  • Parse paths and URLs in options

v0.1.2

  • Support environment variables in URLs

v0.1.1

  • Fix environment markers