Skip to content

Chili

chili is a data analytics and engineering engine powered by Polars. It ships as a single distribution with two syntax modes:

  • chili uses a modern syntax with query language similar to javascript.
  • pepper uses a vintage syntax with query language similar to q.

Demo

Installation

Support Linux, macOS, and Windows(x86_64).

Install from chili-pie with uv or pip:

uv pip install -U chili-pie
pip install -U chili-pie

Run with chili syntax:

chili

Run with pepper syntax:

chili --pepper
# or
chili -P

Editor & Tooling

Companion Tool chiz

Install from PyPI, using uv or pip:

uv pip install -U chiz
pip install -U chiz

With chiz, you can:

  • chiz fmt to format code
  • chiz serve to start a language server
  • chiz parse to parse code, and check syntax errors
  • chiz vim to install vim syntaxes

VSCode Extension

Install from VSCode Marketplace, this extension requires chiz to be installed for providing language server features.

Neovim Plugin

Install from chili-neovim, using lazy.nvim:

{
  "jshinonome/chili-neovim",
  dependencies = {
    "hrsh7th/nvim-cmp",
    "hrsh7th/cmp-nvim-lsp",
    "hrsh7th/cmp-buffer",
    "hrsh7th/cmp-vsnip",
    "hrsh7th/vim-vsnip",
  },
  config = function()
    require("chili").setup()
  end,
}

Change Log

refer to Change Log for the latest updates.