Skip to main content

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).

License: MIT

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


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

t_linter-0.1.0-py3-none-win_amd64.whl (2.8 MB view details)

Uploaded Python 3Windows x86-64

t_linter-0.1.0-py3-none-manylinux_2_28_x86_64.whl (3.5 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

t_linter-0.1.0-py3-none-manylinux_2_28_aarch64.whl (3.4 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

t_linter-0.1.0-py3-none-macosx_11_0_arm64.whl (3.2 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

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

Hashes for t_linter-0.1.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3f564b16d7402fa09beb45f27ba316780ce8d6e6f14f8eb933d6c87a3eb92227
MD5 a829cae68ce4b8b92bfdd53d09ff8e1b
BLAKE2b-256 62e908e82348ae4fd6c8ead12f33c8d3906760a4d1e09ad62ad305cb656ed608

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file t_linter-0.1.0-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for t_linter-0.1.0-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3adf2b2fca2711c72e21f423d281e52aef52776119bc736e4863c677e4b773d3
MD5 b917623be91bb7cb46cec42758ac52c0
BLAKE2b-256 25efceca6206c4c5a16d68ffd5b1cda7d1ec8a9118196930d0bae60d7c0780b7

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file t_linter-0.1.0-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for t_linter-0.1.0-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4a09528ca3099d0ad28f0ea9414654e01cacecf2b30fd215eebfee44d78e3d81
MD5 a33be06b84b941cdb8fc8486f01db06f
BLAKE2b-256 4e296daaf65731307d86b7df1e5454524bfc34c6bebc0afb54744970f5756490

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file t_linter-0.1.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for t_linter-0.1.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3527f5cf87a6435f7f1fca8493ea0fb6352dead5835678f1149494fd86352873
MD5 db0debdcc12cccb703508c24271a6497
BLAKE2b-256 a17ee4bc243e553232745b90f41caf3d05fc68f27ad4c6438b3b937bd5887480

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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