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.5-cp310-abi3-win_amd64.whl (34.0 MB view details)

Uploaded CPython 3.10+Windows x86-64

chili_sauce-0.10.5-cp310-abi3-musllinux_1_2_x86_64.whl (46.3 MB view details)

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

chili_sauce-0.10.5-cp310-abi3-musllinux_1_2_aarch64.whl (45.4 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

chili_sauce-0.10.5-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.5-cp310-abi3-manylinux_2_28_aarch64.whl (45.2 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.10+macOS 11.0+ ARM64

chili_sauce-0.10.5-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.5-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: chili_sauce-0.10.5-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.5 {"installer":{"name":"uv","version":"0.12.5","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.5-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 752ffbbb9b29aa7ee5ed9c22ed67f3adb643c6becb94e1776f7728d978c6023c
MD5 e9f9778596041513bff8e1f16da6e013
BLAKE2b-256 fc7f3deb03eca582b7ce85a6dea1efe1d5f2db45df4d888b548e7a5ab5d416d8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.10.5-cp310-abi3-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 46.3 MB
  • Tags: CPython 3.10+, musllinux: musl 1.2+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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.5-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fae045e5dd13ccfd583841ddcaca5f83b2325cb1b69958e1185c278b9c79eec9
MD5 1a697108d77e7b6efc79d71182479285
BLAKE2b-256 7e36de53d4505c29d4258e50085f4ab9677bcdda05c8bb2739fa3bed795d0230

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.10.5-cp310-abi3-musllinux_1_2_aarch64.whl
  • Upload date:
  • Size: 45.4 MB
  • Tags: CPython 3.10+, musllinux: musl 1.2+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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.5-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 46e40aa5942b0f76b4abb5cf228d105763924d5743ed824b54a236b460ad9374
MD5 1a3c01089efc3bb607b047aac3060823
BLAKE2b-256 bb29472d5266c39a8caf608fec1f9c8eaee40c91962c4970a3d56bd2ac07bf21

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.10.5-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.5 {"installer":{"name":"uv","version":"0.12.5","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.5-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a738336e09147fd44a8a6d0618d7fb6692f9af291b15b48170abaa0e1e0dbb69
MD5 ba90b6b7c1f5496d50ab87b9778dbd64
BLAKE2b-256 e1e7a223bc1df12513b13566c10990db69b96eb5bae0f55450b55e376e7794e6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.10.5-cp310-abi3-manylinux_2_28_aarch64.whl
  • Upload date:
  • Size: 45.2 MB
  • Tags: CPython 3.10+, manylinux: glibc 2.28+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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.5-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0cbcd8cc629f32f9910d051466a0f240499b4a4020203c6752608f69b9fd3e9a
MD5 ccc4b0b8fb60b3249d1c1fe79c9c1745
BLAKE2b-256 da6aa4bf25ce1b942049d8602e0dab1b4a21dac6e4e4c3d9bf2449aad78e3e6b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.10.5-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.5 {"installer":{"name":"uv","version":"0.12.5","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.5-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 15bd9d4700f8cf140e085defaecc85141f1ad00dc2ae8060bbe8adc3130b0347
MD5 f310e743795e5742e74bd36a26149a69
BLAKE2b-256 f2da561404a5d0c5f954666cd6d5f0376fde3139f4b20d437c58f63a6c24474c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.10.5-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.5 {"installer":{"name":"uv","version":"0.12.5","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.5-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6ad1ff878da8b2400e734d04a4266e24cea5d79327f237855e92e6ca54e13301
MD5 472fdbcfb4fdca70c26aa4bd28afc5e8
BLAKE2b-256 fdb4c643dc865b5f689f7c3f8e08d40f771222052daf6b47015e140e99c69d55

See more details on using hashes here.

Release history Release notifications | RSS feed

0.10.7

7 files

0.10.6

7 files

This release

0.10.5 This release

7 files

0.10.4

7 files

0.10.3

7 files

0.10.2

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