Skip to main content

Albero is a tool that makes it much easier to use Tree Sitter for your code editors

Project description

Albero v0.0.2

A tool that makes it much easier to use Tree Sitter for your code editors

Installation

In the Command Line, paste the following: pip install albero

Description

Albero is a library that can be used by code editors to easily get syntax highlighting from tree-sitter. It simplifies the process of getting readily usable tokens and only requires a Language or .so language file along with the languages mapping to get started (some are pre-included with the module). Docs are listed on this ReadTheDocs page

Notes:

  • This project is super early on and will probably be moved to salve-org shortly. This originally was created for the main tool Salve but that may or may not be split into multiple tools dor simplicity's sake.

Contributing

To contribute, fork the repository, make your changes, and then make a pull request. If you want to add a feature, please open an issue first so it can be discussed. Note that whenever and wherever possible you should try to use stdlib modules rather than external ones.

Required Python Version: 3.11+

Albero will use the three most recent versions (full releases) going forward and will drop any older versions as new ones come out. This is because I hope to keep this package up to date with modern python versions as they come out instead of being forced to maintain decade old python versions. Currently 3.11 is the minimum (instead of 3.10) as this was developed under 3.12 and there are many features that it relies on from this version I want. However, after 3.14 is released, the minimum version will be 3.12 (as would be expected from the plan) and will change accordingly in the future as is described in the plan above.

License

This project is licensed under the MIT License - see the LICENSE.

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

albero-0.0.2.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

albero-0.0.2-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file albero-0.0.2.tar.gz.

File metadata

  • Download URL: albero-0.0.2.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.1

File hashes

Hashes for albero-0.0.2.tar.gz
Algorithm Hash digest
SHA256 17b87d9ec8c3ed5261e15c860c675b814d688ba6ada3d768e2b901b6055b2162
MD5 bedefeb893091f375dba569cf78b95f5
BLAKE2b-256 f5f3704b2db9e68f0ccc49ad74a04243f0659f0f025fcb57b84336e86f24da1b

See more details on using hashes here.

File details

Details for the file albero-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: albero-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.1

File hashes

Hashes for albero-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2a61eb25e91620d37c9b6d3b28133f66c394fde3a18f6a41219eb6708352411d
MD5 b5054bb630f02011ddb68c73501c3b49
BLAKE2b-256 371b099f00641f37bcdce50fbea46095ff8e9a16fe78d090c57f26762f09b6ed

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