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

Uploaded CPython 3.10+Windows x86-64

chili_sauce-0.10.6-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.6-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.6-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.6-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.6-cp310-abi3-macosx_11_0_arm64.whl (38.0 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

chili_sauce-0.10.6-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.6-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: chili_sauce-0.10.6-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 34.6 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","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.6-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 99f6be3f84b0a637a03eee9e5cd112c56e2c720f456321882fced634568fd7f3
MD5 d1c30849fa75ac319c1392ee07d8f7ee
BLAKE2b-256 22a773f65f79ec51a9f5dd92333e760e4c99906c4dbbd74e444ff6d561804282

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.10.6-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.9 {"installer":{"name":"uv","version":"0.12.9","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.6-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 14b522c0ab1cc8a4e8735532d9b1fcd9fd687bc4ce2bc5bdf319da1f2d8a8279
MD5 830571ca4153ff52972e0a9924049699
BLAKE2b-256 f83411048a25973604c242f75ab4067e35ccc3120593283ca5e2a9770a1f839e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.10.6-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.9 {"installer":{"name":"uv","version":"0.12.9","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.6-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 167ee5fe73c1b8efb9f49e69fdcebd1da5265bc9a638802b1302b28cbc4b2ad6
MD5 0c8d5064ad0241c7d897553862528297
BLAKE2b-256 d8775bca0f63b792d021bf99c021e3bf9e266b31343010772355400e0bfce687

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.10.6-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.9 {"installer":{"name":"uv","version":"0.12.9","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.6-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ac624e3ae6888863619264f875d4aff93a2c9229d2cdc5916a5e56efbf461da8
MD5 c3c7dc9b1c168d6aaa5654d1ed1cb5b2
BLAKE2b-256 7b15ed010e1d93e99f6b0e9ff5a99a4410b1af6302c40d094a6caf8d30c728b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.10.6-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.9 {"installer":{"name":"uv","version":"0.12.9","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.6-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9693c06c057116b4b1d3889b510fd811859b7f6160f3668dd6f77abe7e95f7f8
MD5 099ffba768f079cf80c65be125afd289
BLAKE2b-256 6d3e6db8976dfb348a04d1a0c86d114a69fb8e6a5a5274326f3e8a08830ce336

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.10.6-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.9 {"installer":{"name":"uv","version":"0.12.9","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.6-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 277d7b0a8a5eb4fcb17efc503cbd3ac31b3a8800cbe738b0dec87a6a29b648b2
MD5 9fc4df68cece6be925cfd13d7d7ccf7b
BLAKE2b-256 976566557afe4f738c3eb0a34df9c2650ac87d0c2a0552d841709c888f899270

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.10.6-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.9 {"installer":{"name":"uv","version":"0.12.9","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.6-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d6b378d48081eef37148602615fa4f23b646e5123748062277553e21dd089b59
MD5 77dee3f72facec29eba00f84cba66ae4
BLAKE2b-256 c1be25b1485f1cae24dd0b82ad21a65d65f61497a3053dab2a6aa43b7e79f49d

See more details on using hashes here.

Release history Release notifications | RSS feed

0.10.7

7 files

This release

0.10.6 This release

7 files

0.10.5

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