Skip to main content

Chili Pepper Language Linter, Formatter, and Language Server, written in Rust.

Project description

Chiz

Chili & Pepper Language Analyzer, provides Linter, Formatter, and Language Server for chili, a spicy language and runtime for data analysis and engineering

Language Server

  • hover
  • rename symbol
  • go to definition
  • go to reference
  • workspace symbol
  • document highlight
  • document symbol
  • completion
  • signature help
  • semantic highlights
  • call hierarchy

Installation

pip install chiz

Commands

  • chiz vim - install vim syntax files
  • chiz fmt [glob] - format source code (defaults to **/*.chi and **/*.pep)
  • chiz parse <file> - parse and print AST of a source file
  • chiz server - start the language server

Package Manager (chiz pkg)

  • chiz pkg init - initialize a new package (chiz.json)
  • chiz pkg config <field=value>... [--scope <scope>] - configure chizrc settings
  • chiz pkg login [--scope <scope>] [--registry <url>] - login to a registry
  • chiz pkg adduser - create a registry account
  • chiz pkg search <query> [--scope <scope>] - search for packages
  • chiz pkg install <packages>... [-g] [--force] - install packages
  • chiz pkg uninstall <packages>... - uninstall packages
  • chiz pkg download <package[@version]> - download a package tarball
  • chiz pkg publish [--skip-ssl] - publish the current package
  • chiz pkg unpublish <package[@version]> - unpublish a package
  • chiz pkg pack - pack the current package into a tarball
  • chiz pkg version <patch|minor|major> - bump the package version
  • chiz pkg path - print the source folder path

Process Controller (chiz ctrl)

  • chiz ctrl config --profile <name> [-g] - configure a profile
  • chiz ctrl config --process <name> [-g] - configure a process
  • chiz ctrl list <profile|process> [-g] - list profiles or processes
  • chiz ctrl start --profile <name> --process <name> [-g] [--label <label>] [--debug] [--kargs <args>] - start a process

Configuration Files

chiz.json — Package Config

Created by chiz pkg init in the project root. Defines package metadata and dependencies.

{
  "name": "@scope/my-package",
  "version": "0.0.1",
  "description": "Package description",
  "author": "author-name",
  "repository": { "type": "git", "url": "https://github.com/user/repo.git" },
  "type": "chili",
  "dependencies": {
    "@scope/dep-name": "1.0.0"
  },
  "publishConfig": {
    "registry": "https://custom-registry.com/"
  }
}

chizrc.json — Global Registry Config

Located at <CHIZPATH>/_config/chizrc.json (CHIZPATH defaults to ~/chiz). Stores registry credentials per scope.

{
  "@default/": {
    "registry": "https://registry.example.com/",
    "token": "auth-token",
    "user": "username"
  }
}

chiz_index.json — Local Dependency Index

Tracks installed dependency metadata in the project root.

{
  "@scope/dep-name": {
    "name": "@scope/dep-name",
    "version": "1.0.0",
    "dependencies": {}
  }
}

.chizinclude — Pack Include Patterns

Optional file in the project root. Lists additional glob patterns to include when packing. Default includes: src/*, cfg/*, chiz.json, chiz_index.json, README.md.

Profile Config (*.profile.json)

Stored in ctrl/profile/ (local) or <CHIZPATH>/_profile/ (global). Defines the runtime environment for starting processes.

{
  "binary": "chili",
  "envPath": "/opt/chili/env.sh",
  "hostAlias": ""
}

Process Config (*.process.json)

Stored in ctrl/process/ (local) or <CHIZPATH>/_process/ (global). Global mode includes package and version fields; local mode omits them.

{
  "file": "src/main.chi",
  "dbPath": "/data/hdb",
  "args": [],
  "port": 0,
  "remote": false,
  "users": [],
  "log_level": "info",
  "log_dir": "",
  "interval": 0,
  "kwargs": "",
  "memory": 0,
  "lazy": false,
  "pepper": false,
  "headless": false
}

Helix Configuration

Add the following to ~/.config/helix/languages.toml (global) or .helix/languages.toml (per-project):

[language-server.chiz]
command = "chiz"
args = ["server"]

[[language]]
name = "chili"
scope = "source.chili"
file-types = ["chi"]
comment-tokens = "//"
block-comment-tokens = { start = "/*", end = "*/" }
roots = ["chiz.json", "src"]
language-servers = ["chiz"]
indent = { tab-width = 2, unit = "  " }
auto-format = true

[[language]]
name = "pepper"
scope = "source.pepper"
file-types = ["pep"]
comment-tokens = "//"
block-comment-tokens = { start = "/*", end = "*/" }
roots = ["chiz.json", "src"]
language-servers = ["chiz"]
indent = { tab-width = 2, unit = "  " }
auto-format = true

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.

chiz-0.8.2-py3-none-win_amd64.whl (2.2 MB view details)

Uploaded Python 3Windows x86-64

chiz-0.8.2-py3-none-win32.whl (2.0 MB view details)

Uploaded Python 3Windows x86

chiz-0.8.2-py3-none-musllinux_1_2_x86_64.whl (2.6 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

chiz-0.8.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

chiz-0.8.2-py3-none-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

chiz-0.8.2-py3-none-macosx_10_12_x86_64.whl (2.3 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file chiz-0.8.2-py3-none-win_amd64.whl.

File metadata

  • Download URL: chiz-0.8.2-py3-none-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for chiz-0.8.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5af84ea17b4bacc41c39546c7c2617d9b15c7bec60d4d5f77b4e1d767782d012
MD5 5f28c7d98d74a3011a6e42a364502232
BLAKE2b-256 e81faf8b3537cfa9bc838d1e86bb782d6e908e78871754519de0c64e10fc94d0

See more details on using hashes here.

File details

Details for the file chiz-0.8.2-py3-none-win32.whl.

File metadata

  • Download URL: chiz-0.8.2-py3-none-win32.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for chiz-0.8.2-py3-none-win32.whl
Algorithm Hash digest
SHA256 ea0a598e1d025ba4f4b29094ab41c05a6db2a8d7f3fdd4f8c87d2157fc780528
MD5 387ae4e9c531d267b52fe407f5664798
BLAKE2b-256 e34436b0d794167ea02790c58522e1739e3c16581e06d1722243fdbb367f21c5

See more details on using hashes here.

File details

Details for the file chiz-0.8.2-py3-none-musllinux_1_2_x86_64.whl.

File metadata

  • Download URL: chiz-0.8.2-py3-none-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: Python 3, musllinux: musl 1.2+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for chiz-0.8.2-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 84116abce3d14c413e34e19c18b40cee78c2abd9e7d2dce932fbe607c5ec388e
MD5 9a8bc51236e8dc4d492df62c36b94f8d
BLAKE2b-256 6c8a4adbcae0dbfbf2d661a05a2f6a7960d4daba4a0e44092dbbb9a558c7ffc1

See more details on using hashes here.

File details

Details for the file chiz-0.8.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: chiz-0.8.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: Python 3, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for chiz-0.8.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4d792d176de2fa3d3dcb09beca92a7cd180059b882a93632fdc1ae9b5a3e9b4d
MD5 82088a839a95ba47d002a042fc823859
BLAKE2b-256 df183e6466cb54c5626973300d90a660284dbae5d36e9127433d424015847c04

See more details on using hashes here.

File details

Details for the file chiz-0.8.2-py3-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: chiz-0.8.2-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for chiz-0.8.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8fb05dde7549b59967eed4246738ab83a5df831026c03f405d89cf476a855b64
MD5 d89284662bc785c8d37c925e0d5dc73b
BLAKE2b-256 808cec7d042d7d7637791befcba573fe9a6be12cbbc25e314aee7c1cf490fde5

See more details on using hashes here.

File details

Details for the file chiz-0.8.2-py3-none-macosx_10_12_x86_64.whl.

File metadata

  • Download URL: chiz-0.8.2-py3-none-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: Python 3, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for chiz-0.8.2-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 2d4e866861294b58fb6f733da0db7fd0deeac6d72437e67494f90371eebe5116
MD5 63b58302aefb4c7fedb4b8fd826fc6d1
BLAKE2b-256 fcf088d9c993530f376f7033ce4cb349a821692d6b6766f96889dd7ff3bce708

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