Skip to main content

Jupyterlab extension to support syntax highlighting for terraform files

Project description

jupyterlab_terraform_file_type_extension

GitHub Actions npm version PyPI version Total PyPI downloads JupyterLab 4 Brought To You By KOLOMOLO Donate PayPal

A JupyterLab extension providing comprehensive Terraform/HCL support with syntax highlighting and custom file type recognition.

Terraform Extension Screenshot

Features

Comprehensive Terraform and HCL editing support in JupyterLab with syntax highlighting that distinguishes blocks, variables, functions, and expressions.

File recognition:

  • Terraform: *.tf, *.tfvars, *.tfstate.*
  • HCL: *.hcl, *.tfstack.hcl, *.tfcomponent.hcl, *.tfdeploy.hcl, *.tftest.hcl, *.tfmock.hcl, *.tfquery.hcl
  • Purple HashiCorp Terraform icon in file browser

Highlighting coverage:

  • Block types: resource, module, provider, variable, output, locals, data, terraform
  • 100+ built-in Terraform functions
  • String interpolation with ${} and %{} directives
  • Heredoc strings and escape sequences
  • Type keywords, constants, and operators
  • Comments: #, //, /* */

Yes, this is yet another mass-produced file type extension. We are almost embarrassed by how utterly unremarkable it is - just the same boilerplate code with different keywords swapped in. But someone had to do it, and here we are. Syntax highlighting shamelessly borrowed from hashicorp/vscode-terraform - we stand on the shoulders of giants, or at least peek over their fence.

Requirements

  • JupyterLab >= 4.0.0

Install

To install the extension, execute:

pip install jupyterlab_terraform_file_type_extension

Uninstall

To remove the extension, execute:

pip uninstall jupyterlab_terraform_file_type_extension

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

Built Distribution

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

File details

Details for the file jupyterlab_terraform_file_type_extension-1.0.4.tar.gz.

File metadata

File hashes

Hashes for jupyterlab_terraform_file_type_extension-1.0.4.tar.gz
Algorithm Hash digest
SHA256 583091053dd831d39d2befdd9165c9af363d8a7f10dbe90ed16b6fe2c25186f8
MD5 42bb126b543b97f11b53024457f8cf36
BLAKE2b-256 f25fa3662e0755d58475618514b31b5c95a457de21369b595e1ce396340e9722

See more details on using hashes here.

File details

Details for the file jupyterlab_terraform_file_type_extension-1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterlab_terraform_file_type_extension-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3f4395ef41c024a60af7297a5091a1c21f03c6e18b0181ee1cc6b6ef5716d172
MD5 6a15ee626aacdffca0a7255bfd5ddd46
BLAKE2b-256 c7289e719bb668672843862abfac5bc7b14438684a427c0383f55cbc3d66cf5b

See more details on using hashes here.

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