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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+macOS 11.0+ ARM64

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

File metadata

  • Download URL: chili_sauce-0.10.7-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.7-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 8951721dc0b440564f113cbbb79a633c0c9b6042146dec5b64cb2ce78be070cc
MD5 fbb42e07f9745a4dc36476133ed0311c
BLAKE2b-256 61a94eec9ef11c8f5492b4d399101311053e68845e4ceb7cf03c7b981aa38a71

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.10.7-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.7-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 dfeba411f626ba39f46840515d7e68b296236914c65f52ac2043eeb57fb0b9c4
MD5 c8622abb861940ca3181a332fbe44960
BLAKE2b-256 6717a396a55dc0a3047ea7b65ed98cdabf24193251179f20d051dad62114c116

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.10.7-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.7-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 fd702025e38adbb2c6d88462d9c854760a95eab5dc3d4524e71be75ef08df5cf
MD5 0465750fd2780ee0d6bc5cf4e5e2aa9e
BLAKE2b-256 67e8b6c9fd820f92961d11ae025b117d4b99ecc8a06b477cbe47ba8be17be433

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.10.7-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.7-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 281494a66f55194d26581a178c1a95fe2289939fa5744de4a8653c158ad9c188
MD5 7124764ebdd80d5c14ff101393437abe
BLAKE2b-256 74cffb71fe142440f8e725281c68ef95e0757bd5c4ffad82089703ebabee40fa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.10.7-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.7-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 80e0d41551e558c420327cc8b40ce3b3b2e97306cb8d14248374cb8c8194c560
MD5 8867c913ad62f12ebe48d314a8c6de5c
BLAKE2b-256 4ecc96e3ec082ab02846d59bbdaff5484d554014afabb2caaba044c16c811b86

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.10.7-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.7-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8f12335b4e972016721d37166891b239d440c1f10fa8020d8b1dd79cf7491f8a
MD5 2dbcd4503ef661042e338450922663cb
BLAKE2b-256 5988ea800d982ea8cbfc3d19db50b50e1f8af03daddd88346f9017926f749575

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.10.7-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.7-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1d8fbbe7bb1c98692424276dc066629da600916586a6fe5688d32669a249d2ad
MD5 3c88a16bc687dd030667471f3cfd4073
BLAKE2b-256 a5d14f5510311d75a73084aee630e8bc4dcf11c530fc099ddb6964cc8f46046a

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.10.7 This release

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

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