Adding tree_sitter_python library as a dependency

Run this command in a terminal, in your project's directory:

cargo add tree-sitter-python

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

tree-sitter-python = "0.25.0"

The tree_sitter_python library will be automatically available globally. Read the tree_sitter_python library documentation.

Back to the crate overview.