Skip to main content

No project description provided

Project description

python-tree-sitter-builder

Install

poetry install
ln -s $(poetry run which tree-sitter-builder) ~/.local/bin/

Usage

build

Clone specified repository and build tree-sitter language parser.

If it contains ://, it assumes that the entire git URL has been specified. Otherwise, assume it is GitHub and clone the repository.

tree-sitter-builder build conao3/tree-sitter-sql

Clone into $XDG_DATA_HOME/tree-sitter-builder/repos/*.

If you omit the repository name, tree-sitter-builder will build all repositories.

dist

Returns the path to builded parser shared object.

$ python-tree-sitter-builder % tree-sitter-builder dist conao3/tree-sitter-sql
/Users/conao/Library/Application Support/tree-sitter-builder/build/conao3__tree-sitter-sql.so

update

Update all repositories.

tree-sitter-builder update

list

List all repositories.

tree-sitter-builder list

remove

Remove specified repository.

tree-sitter-builder remove conao3/tree-sitter-sql

clean

Remove all build files.

tree-sitter-builder clean

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tree_sitter_builder-0.1.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

tree_sitter_builder-0.1.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file tree_sitter_builder-0.1.1.tar.gz.

File metadata

  • Download URL: tree_sitter_builder-0.1.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.2 Linux/5.10.189-1-MANJARO

File hashes

Hashes for tree_sitter_builder-0.1.1.tar.gz
Algorithm Hash digest
SHA256 557d53fe809a173d46f7b9da25246fa3f19a73ed0ae06c69d7e15c8d731478b6
MD5 2167dc5525ec6d8a7b6e8e721b6eda0b
BLAKE2b-256 3b2eea3e7b34d4ed54ff25faecfac060ae64aa8051e8901c3b4e371019f8ddea

See more details on using hashes here.

File details

Details for the file tree_sitter_builder-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for tree_sitter_builder-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 039adcca041d082bf8ddec05d751445b60b84cae51bc34b1c74ffd76d53a5595
MD5 7a4b423a9602cf26c4ef8edcbc6965aa
BLAKE2b-256 71502f01e5493c8526202b2e3473e809c1cce98b3ecaa7237650451c71143f21

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page