Skip to main content

Chili Sauce 🌶️

Python bindings for Chili's EngineState, powered by PyO3.

Installation

pip install chili-sauce

Requires Python ≥ 3.10.

Quick Start

from chili import ChiliEngine

engine = ChiliEngine()

# Evaluate expressions
engine.eval("1 + 2")  # => 3

# Variable management
engine.set_var("x", 42)
engine.get_var("x")  # => 42

# Work with Polars DataFrames
import polars as pl

df = pl.DataFrame({"a": [1, 2, 3], "b": [4, 5, 6]})
engine.set_var("df", df)
engine.get_var("df")

IPC / Remote Queries

# Open a handle to a remote Chili process
h = engine.open_handle("chili://:1800")

# Send synchronous queries
engine.sync(h, b"1+1")                # bytes  — sent as a raw string query
engine.sync(h, ["set", "a", 2])       # list   — sent as a function call (func, args…)

Features

  • Evaluate Chili or Pepper expressions from Python
  • Variable management — get, set, delete, and list variables
  • Polars integration — pass DataFrames bidirectionally between Python and Chili
  • Partitioned storage — write and load date-partitioned Parquet tables
  • IPC / TCP — start a TCP listener for remote connections
  • Tick plant — built-in pub/sub infrastructure for real-time data

Type Mapping

Python type Chili type
int Int
float Float
bool Bool
str Symbol
bytes String
None Null
list MixedList
dict Dict
datetime.date Date
datetime.time Time
datetime.datetime Datetime
polars.DataFrame DataFrame

Development

# Build and install in development mode
maturin develop --release --manifest-path crates/chili-py/Cargo.toml

# Run tests
pytest crates/chili-py/tests/

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.

chili_sauce-0.10.2-cp310-abi3-win_amd64.whl (34.0 MB view details)

Uploaded CPython 3.10+Windows x86-64

chili_sauce-0.10.2-cp310-abi3-musllinux_1_2_x86_64.whl (46.4 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ x86-64

chili_sauce-0.10.2-cp310-abi3-musllinux_1_2_aarch64.whl (45.3 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

chili_sauce-0.10.2-cp310-abi3-manylinux_2_28_x86_64.whl (38.4 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ x86-64

chili_sauce-0.10.2-cp310-abi3-manylinux_2_28_aarch64.whl (45.1 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

chili_sauce-0.10.2-cp310-abi3-macosx_11_0_arm64.whl (38.0 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

chili_sauce-0.10.2-cp310-abi3-macosx_10_12_x86_64.whl (39.5 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file chili_sauce-0.10.2-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: chili_sauce-0.10.2-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 34.0 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","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 chili_sauce-0.10.2-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2ca426089b72a2e7cf08e3ef3490e4f907bfcf6199a9842aa635f209f5045e58
MD5 3677b083f802d276fa3bb8a49e352d99
BLAKE2b-256 7beb02318f84b99a13f30f7d035052ac63004aa268a0fb607e98f2965a21c306

See more details on using hashes here.

File details

Details for the file chili_sauce-0.10.2-cp310-abi3-musllinux_1_2_x86_64.whl.

File metadata

  • Download URL: chili_sauce-0.10.2-cp310-abi3-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 46.4 MB
  • Tags: CPython 3.10+, musllinux: musl 1.2+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","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 chili_sauce-0.10.2-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 79cfce724ad35a74bffef4d8846ee87c66ed8778b4d00a0d7aead448b97212c0
MD5 db217d9c96b38bcd56f724e11d4971df
BLAKE2b-256 5e2f7c2bc8d2279f0270e5109f1a3308904a5ca42a092d836582c1c4c0a2df8b

See more details on using hashes here.

File details

Details for the file chili_sauce-0.10.2-cp310-abi3-musllinux_1_2_aarch64.whl.

File metadata

  • Download URL: chili_sauce-0.10.2-cp310-abi3-musllinux_1_2_aarch64.whl
  • Upload date:
  • Size: 45.3 MB
  • Tags: CPython 3.10+, musllinux: musl 1.2+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","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 chili_sauce-0.10.2-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 436e7c6d599ac275369a4586c359861c5093869cc206a8b649f486053fdf443d
MD5 91e0396511269044a1dcc8dccea6afd7
BLAKE2b-256 fb4a77996d5a5c3278089fecd62a6ac9e5025af74f8d90e014d6be272eaa97e8

See more details on using hashes here.

File details

Details for the file chili_sauce-0.10.2-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: chili_sauce-0.10.2-cp310-abi3-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 38.4 MB
  • Tags: CPython 3.10+, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","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 chili_sauce-0.10.2-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8c3c98887d9fe1f25986b131ec33ada9d5c36508422794527c48c10498e615de
MD5 829faaea98b21fb8dcce3eb29f170b31
BLAKE2b-256 5857c2ba6094053a14027249f44abedee536602a2adb6ab404b73cc84d5412f2

See more details on using hashes here.

File details

Details for the file chili_sauce-0.10.2-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

  • Download URL: chili_sauce-0.10.2-cp310-abi3-manylinux_2_28_aarch64.whl
  • Upload date:
  • Size: 45.1 MB
  • Tags: CPython 3.10+, manylinux: glibc 2.28+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","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 chili_sauce-0.10.2-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 783b7a560ab37f484ac438ff56dfe11580feb900688bf9e04bbec2ec83a268a9
MD5 7762c04c7b9004787448e45f771edfe8
BLAKE2b-256 0a1423779ae89dcd66bccebf538708cd7eafcef5f0e676a02a05c2244c478bf5

See more details on using hashes here.

File details

Details for the file chili_sauce-0.10.2-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: chili_sauce-0.10.2-cp310-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 38.0 MB
  • Tags: CPython 3.10+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","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 chili_sauce-0.10.2-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 801c31e7ae1880e932e49bad93ab29b34237d5d768b8bacd1da31bc0c187ce63
MD5 a3c5600a2a0f897755fe9bcf548bfffa
BLAKE2b-256 7edf2830a69ab5a89bda01e0afe2918657d6ab05f480067ea7d727c877ab2d6d

See more details on using hashes here.

File details

Details for the file chili_sauce-0.10.2-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

  • Download URL: chili_sauce-0.10.2-cp310-abi3-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 39.5 MB
  • Tags: CPython 3.10+, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","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 chili_sauce-0.10.2-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ee26ee38f4229dbe6240e76baadef6da7e465031b25bb718b97920e689da987b
MD5 90da7056816642b2d62bda775c71d2b0
BLAKE2b-256 da8fdd8040d4f439a78734a264ab255b0f0baf2c576f264a3314ac6c70877eb2

See more details on using hashes here.

Release history Release notifications | RSS feed

0.10.7

7 files

0.10.6

7 files

0.10.5

7 files

0.10.4

7 files

0.10.3

7 files

This release

0.10.2 This release

7 files

0.10.1

7 files

0.10.0

7 files

0.9.9

7 files

0.9.8

5 files

0.9.7

5 files

0.9.6

5 files

0.9.5

5 files

0.9.3

5 files

0.9.2

5 files

0.9.1

5 files

0.9.0

5 files

0.8.2

5 files

0.8.1

5 files

0.8.0

5 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page