Intelligent syntax highlighting and validation for Python template strings (PEP 750)
Project description
t-linter 🐍✨
Intelligent syntax highlighting and validation for Python template strings (PEP 750).
Features
- 🎨 Smart Syntax Highlighting - Detects embedded languages in
t"..."strings - 🔍 Type-based Detection - Understands
Annotated[Template, "html"]annotations - 🚀 Fast - Built with Rust and Tree-sitter for optimal performance
- 🔧 Extensible - Support for HTML, SQL, JavaScript, CSS, and more
Installation
Install using pip:
pip install t-linter
Usage
Run the language server:
t-linter lsp
Check files:
t-linter check file.py
Development
For development, you can also build from source:
git clone https://github.com/koxudaxi/t-linter
cd t-linter
cargo install --path crates/t-linter
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file t_linter-0.1.0-py3-none-win_amd64.whl.
File metadata
- Download URL: t_linter-0.1.0-py3-none-win_amd64.whl
- Upload date:
- Size: 2.8 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f564b16d7402fa09beb45f27ba316780ce8d6e6f14f8eb933d6c87a3eb92227
|
|
| MD5 |
a829cae68ce4b8b92bfdd53d09ff8e1b
|
|
| BLAKE2b-256 |
62e908e82348ae4fd6c8ead12f33c8d3906760a4d1e09ad62ad305cb656ed608
|
Provenance
The following attestation bundles were made for t_linter-0.1.0-py3-none-win_amd64.whl:
Publisher:
publish.yml on koxudaxi/t-linter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
t_linter-0.1.0-py3-none-win_amd64.whl -
Subject digest:
3f564b16d7402fa09beb45f27ba316780ce8d6e6f14f8eb933d6c87a3eb92227 - Sigstore transparency entry: 220570914
- Sigstore integration time:
-
Permalink:
koxudaxi/t-linter@4b245d4ff9bb319d09875b00118bfaeebc032ea2 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/koxudaxi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4b245d4ff9bb319d09875b00118bfaeebc032ea2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file t_linter-0.1.0-py3-none-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: t_linter-0.1.0-py3-none-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 3.5 MB
- Tags: Python 3, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3adf2b2fca2711c72e21f423d281e52aef52776119bc736e4863c677e4b773d3
|
|
| MD5 |
b917623be91bb7cb46cec42758ac52c0
|
|
| BLAKE2b-256 |
25efceca6206c4c5a16d68ffd5b1cda7d1ec8a9118196930d0bae60d7c0780b7
|
Provenance
The following attestation bundles were made for t_linter-0.1.0-py3-none-manylinux_2_28_x86_64.whl:
Publisher:
publish.yml on koxudaxi/t-linter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
t_linter-0.1.0-py3-none-manylinux_2_28_x86_64.whl -
Subject digest:
3adf2b2fca2711c72e21f423d281e52aef52776119bc736e4863c677e4b773d3 - Sigstore transparency entry: 220570916
- Sigstore integration time:
-
Permalink:
koxudaxi/t-linter@4b245d4ff9bb319d09875b00118bfaeebc032ea2 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/koxudaxi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4b245d4ff9bb319d09875b00118bfaeebc032ea2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file t_linter-0.1.0-py3-none-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: t_linter-0.1.0-py3-none-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 3.4 MB
- Tags: Python 3, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a09528ca3099d0ad28f0ea9414654e01cacecf2b30fd215eebfee44d78e3d81
|
|
| MD5 |
a33be06b84b941cdb8fc8486f01db06f
|
|
| BLAKE2b-256 |
4e296daaf65731307d86b7df1e5454524bfc34c6bebc0afb54744970f5756490
|
Provenance
The following attestation bundles were made for t_linter-0.1.0-py3-none-manylinux_2_28_aarch64.whl:
Publisher:
publish.yml on koxudaxi/t-linter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
t_linter-0.1.0-py3-none-manylinux_2_28_aarch64.whl -
Subject digest:
4a09528ca3099d0ad28f0ea9414654e01cacecf2b30fd215eebfee44d78e3d81 - Sigstore transparency entry: 220570919
- Sigstore integration time:
-
Permalink:
koxudaxi/t-linter@4b245d4ff9bb319d09875b00118bfaeebc032ea2 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/koxudaxi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4b245d4ff9bb319d09875b00118bfaeebc032ea2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file t_linter-0.1.0-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: t_linter-0.1.0-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.2 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3527f5cf87a6435f7f1fca8493ea0fb6352dead5835678f1149494fd86352873
|
|
| MD5 |
db0debdcc12cccb703508c24271a6497
|
|
| BLAKE2b-256 |
a17ee4bc243e553232745b90f41caf3d05fc68f27ad4c6438b3b937bd5887480
|
Provenance
The following attestation bundles were made for t_linter-0.1.0-py3-none-macosx_11_0_arm64.whl:
Publisher:
publish.yml on koxudaxi/t-linter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
t_linter-0.1.0-py3-none-macosx_11_0_arm64.whl -
Subject digest:
3527f5cf87a6435f7f1fca8493ea0fb6352dead5835678f1149494fd86352873 - Sigstore transparency entry: 220570912
- Sigstore integration time:
-
Permalink:
koxudaxi/t-linter@4b245d4ff9bb319d09875b00118bfaeebc032ea2 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/koxudaxi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4b245d4ff9bb319d09875b00118bfaeebc032ea2 -
Trigger Event:
push
-
Statement type: