Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tree-sitter-grammars/tree-sitter-requirements
pip requirements grammar for tree-sitter
https://github.com/tree-sitter-grammars/tree-sitter-requirements
parser requirements tree-sitter
Last synced: 16 days ago
JSON representation
pip requirements grammar for tree-sitter
- Host: GitHub
- URL: https://github.com/tree-sitter-grammars/tree-sitter-requirements
- Owner: tree-sitter-grammars
- License: mit
- Created: 2023-07-24T09:33:53.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-06-05T08:04:15.000Z (5 months ago)
- Last Synced: 2024-10-16T08:46:02.225Z (28 days ago)
- Topics: parser, requirements, tree-sitter
- Language: JavaScript
- Homepage:
- Size: 139 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
========================
tree-sitter-requirements
========================|CI| |discord| |matrix| |pypi|
A tree-sitter parser for pip requirements files.
Python package
--------------Installation
^^^^^^^^^^^^.. code-block:: bash
pip install tree-sitter-requirements
References
----------* `Requirements File Format `_
* `Dependency Specifiers `_
* `Version Specifiers `_
* `VCS Support `_Editors
-------| |c| Neovim
| |u| Helix
| |u| Emacs
| |u| Zed.. |u| unicode:: U+00A0 U+00A0 U+2610
.. |c| unicode:: U+00A0 U+00A0 U+2611Changelog
---------v0.4.0
^^^^^^* Update bindings
* Remove custom functions
* Drop Python 3.8 supportv0.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 commentsv0.1.4
^^^^^^* Make URL scheme case-insensitive
v0.1.3
^^^^^^* Support per-requirement options
* Parse paths and URLs in optionsv0.1.2
^^^^^^* Support environment variables in URLs
v0.1.1
^^^^^^* Fix environment markers
.. |CI| image:: https://img.shields.io/github/actions/workflow/status/tree-sitter-grammars/tree-sitter-requirements/test.yml?logo=github&label=CI
:target: https://github.com/tree-sitter-grammars/tree-sitter-requirements/actions/workflows/test.yml
:alt: CI.. |discord| image:: https://img.shields.io/discord/1063097320771698699?logo=discord&label=discord
:target: https://discord.gg/w7nTvsVJhm
:alt: discord.. |matrix| image:: https://img.shields.io/matrix/tree-sitter-chat%3Amatrix.org?logo=matrix&label=matrix
:target: https://matrix.to/#/#tree-sitter-chat:matrix.org
:alt: matrix.. |pypi| image:: https://img.shields.io/pypi/v/tree-sitter-requirements?logo=pypi&logoColor=ffd242
:target: https://pypi.org/project/tree-sitter-requirements/
:alt: pypi