Skip to main content

Albero v0.2.0

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

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.

Release files for albero 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for albero 0.2.0
File Size Uploaded
albero-0.2.0.tar.gz 12.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for albero 0.2.0
File Interpreter ABI Platform
albero-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 29.2 kB

Release files / albero-0.2.0.tar.gz

Download URL albero-0.2.0.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
820677538389d7f70632defafd0eccc35a05fa5c2393b1dc1ec3a6c3522aeaf5
BLAKE2b-256 checksum
How to use checksums
af75af67dad94d8293965f92e21cd3dd88303d099ecfde12c5142d289183b8a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.1

Release files / albero-0.2.0-py3-none-any.whl

Download URL albero-0.2.0-py3-none-any.whl
Size 17.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f41fc81c71f5beb9be278638a28a03f651c935ef64238be0624706c7759b704
BLAKE2b-256 checksum
How to use checksums
86df08ee058ac0e003a15aff9758bc513dc0651f94ef51b9c9e6b91364de3ea9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.1

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page