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

Uploaded CPython 3.10+Windows x86-64

chili_sauce-0.9.7-cp310-abi3-musllinux_1_2_x86_64.whl (44.7 MB view details)

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

chili_sauce-0.9.7-cp310-abi3-manylinux_2_28_x86_64.whl (37.1 MB view details)

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

chili_sauce-0.9.7-cp310-abi3-macosx_11_0_arm64.whl (36.7 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

chili_sauce-0.9.7-cp310-abi3-macosx_10_12_x86_64.whl (38.3 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: chili_sauce-0.9.7-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 32.8 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","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.9.7-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6dc4cc2ea6c3e03c94d19939e6915384f2c1758d6111ab6ac32702399f6f967d
MD5 d5899c31ebf319240256f236f8e24dbf
BLAKE2b-256 39f378ae51a2c6756bcb168af2d3904debcc88c41c9725d2a284fccc514a4272

See more details on using hashes here.

File details

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

File metadata

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

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.9.7-cp310-abi3-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 37.1 MB
  • Tags: CPython 3.10+, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","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.9.7-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9535fdde1104613a99b6c56c8cb1dbe81859c61ab6ff395a5b36310e27b737da
MD5 02c2f819e74010c745f4991b9273b46e
BLAKE2b-256 3e2759fade5f3670220ee687653d5a650e9200b0c151d68f0dd1efe5dfc6698a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.9.7-cp310-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 36.7 MB
  • Tags: CPython 3.10+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","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.9.7-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e6af0384055c69f4624158f3cf735929634af1f043dff47ec0ec20b5ac10ba18
MD5 e4d2a6b66c3c2d471b7f2e86f108da11
BLAKE2b-256 5fedba785a0c733bad517b3c219f09b172f1abb8b36c3feccaacc609b9d44f0a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.9.7-cp310-abi3-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 38.3 MB
  • Tags: CPython 3.10+, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","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.9.7-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6dcf71bf10b0090e8cbe15f9bea09e8df8c2c5722349cdefc7d024fac89be84f
MD5 c524da2a461b61085041e8b4a31639fa
BLAKE2b-256 97c9a0a4d05c2fc9c4f0c9f4e8c0c1a7e806474492efe8519874af928ebbaf8d

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

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

This release

0.9.7 This release

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