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

For buffers read or flushed concurrently, symbol-form vstack enables automatic compaction by default. Configure it with engine.set_auto_compaction(interval_ms=250, target_rows=65536); a zero interval disables future passes. Frequent table-replacing trims can prevent compaction from completing. Empty-batch upsertn is an atomic retention option, but can copy retained numeric data under the variable write lock. Parquet bytes also depend on the snapshot's chunk layout, so identical dataframe values need not produce identical files. See the buffer and retention documentation and Parquet writer documentation.

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

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

In 0.11.4, fsync_handle raises the first non-interruption sync error without reopening the log; durability is unknown after a failure. Bundled tickerplants and subscribers use a separate message replay bound, supporting row stamping. Upgrade both peers and update custom tickerplants to the four-field handshake; new subscribers reject legacy replies. Previously duplicated or skipped data requires rebuilding subscriber state from retained logs.

In 0.11.5, macOS wheels use Rust's system allocator; other platforms retain mimalloc. This addresses the allocator-recursion path reported in mixed macOS parallel tests; confirmation with the affected full suite is pending. The CLI allocator is unchanged. Log paths in subscription replies are Python str again (0.11.4 returned bytes), while the message replay bound remains intact.

Metadata

Release files for chili-sauce 0.11.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for chili-sauce 0.11.5
File Actions
chili_sauce-0.11.5-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for chili_sauce-0.11.5-cp310-abi3-win_amd64.whl
chili_sauce-0.11.5-cp310-abi3-musllinux_1_2_x86_64.whl CPython 3.10 abi3 Linux musl 1.2+ x86-64 Details for chili_sauce-0.11.5-cp310-abi3-musllinux_1_2_x86_64.whl
chili_sauce-0.11.5-cp310-abi3-musllinux_1_2_aarch64.whl CPython 3.10 abi3 Linux musl 1.2+ ARM64 Details for chili_sauce-0.11.5-cp310-abi3-musllinux_1_2_aarch64.whl
chili_sauce-0.11.5-cp310-abi3-manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64 Details for chili_sauce-0.11.5-cp310-abi3-manylinux_2_28_x86_64.whl
chili_sauce-0.11.5-cp310-abi3-manylinux_2_28_aarch64.whl CPython 3.10 abi3 Linux glibc 2.28+ ARM64 Details for chili_sauce-0.11.5-cp310-abi3-manylinux_2_28_aarch64.whl
chili_sauce-0.11.5-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for chili_sauce-0.11.5-cp310-abi3-macosx_11_0_arm64.whl
chili_sauce-0.11.5-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details for chili_sauce-0.11.5-cp310-abi3-macosx_10_12_x86_64.whl

Total release size: 287.7 MB

Release files / chili_sauce-0.11.5-cp310-abi3-win_amd64.whl

Download URL chili_sauce-0.11.5-cp310-abi3-win_amd64.whl
Size 35.1 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
862fe6eceb5df9798ecac9e14412e05428646742c647ba03783659338eccd504
BLAKE2b-256 checksum
How to use checksums
3544a8ff56082002f4414bb5057c1f165b6a6db4caad93c12ee1c0fb7b465dda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / chili_sauce-0.11.5-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL chili_sauce-0.11.5-cp310-abi3-musllinux_1_2_x86_64.whl
Size 47.3 MB
Tags CPython 3.10 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
a7ffc95bb735726ea5336317f15ec46819a18e45b52f78fd549f09264e7886ce
BLAKE2b-256 checksum
How to use checksums
1b8f7b971655e0568099222590727da3c125f78178b31951ba5b0e913b1d20c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / chili_sauce-0.11.5-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL chili_sauce-0.11.5-cp310-abi3-musllinux_1_2_aarch64.whl
Size 46.4 MB
Tags CPython 3.10 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
e435a7fe2f6a6361897b855a05ab242114709e7fdfce126dc791b23dc8f2b193
BLAKE2b-256 checksum
How to use checksums
877c6f16168d463bcb2b8805ae445894c64f173fc812ac8e2bcc7b0b60dac524
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / chili_sauce-0.11.5-cp310-abi3-manylinux_2_28_x86_64.whl

Download URL chili_sauce-0.11.5-cp310-abi3-manylinux_2_28_x86_64.whl
Size 39.3 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
b79f289cf82e4a2d60493bfdc88960478d67d46aa4b4dd969ca8553c61550492
BLAKE2b-256 checksum
How to use checksums
a1b416f60cb5b80c4fb8163b0c5c88fdcfbf157772479323b8dc1405b4804bec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / chili_sauce-0.11.5-cp310-abi3-manylinux_2_28_aarch64.whl

Download URL chili_sauce-0.11.5-cp310-abi3-manylinux_2_28_aarch64.whl
Size 46.2 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
6c866bb07c1865f53be99215e19c50e2dfacc89d6d669ac6bb68b138fcef9228
BLAKE2b-256 checksum
How to use checksums
6e40a07535b39cd00545ce60182b3b60e0785403c11e21fc729c5faccfbdd98b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / chili_sauce-0.11.5-cp310-abi3-macosx_11_0_arm64.whl

Download URL chili_sauce-0.11.5-cp310-abi3-macosx_11_0_arm64.whl
Size 36.2 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e822a7c176ddf20a3754083c936b4bd7f4829150e37345a54f513a500f4761c5
BLAKE2b-256 checksum
How to use checksums
270df23f389c5df05194a1d038a3ad97db13e72e3c8c4ee7f73fa5b803ea322a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / chili_sauce-0.11.5-cp310-abi3-macosx_10_12_x86_64.whl

Download URL chili_sauce-0.11.5-cp310-abi3-macosx_10_12_x86_64.whl
Size 37.2 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
8e18f82c57b24d7369ed63acbd35be8d12dfecb8e70e5a6bae289075165ed8af
BLAKE2b-256 checksum
How to use checksums
c26b682131d4567c671053408c468e5f2c848a1cc701aa0b0f0de04685625f32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for chili-sauce 0.11.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.11.5 This release

7 release files No provenance

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