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; the affected full suite subsequently passed on 0.11.5. 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.

From 0.11.6, the extension enables mimalloc's local_dynamic_tls feature on non-macOS platforms, avoiding glibc static-TLS exhaustion during late imports. macOS retains the system allocator. Linux wheel release checks inspect TLS relocations, and Linux Python Candidate builds native x86_64/ARM64 wheels and tests late imports under synthetic static-TLS pressure without a loader tunable or consumer import-order workaround.

Metadata

Release files for chili-sauce 0.11.7

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.7
File Actions
chili_sauce-0.11.7-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for chili_sauce-0.11.7-cp310-abi3-win_amd64.whl
chili_sauce-0.11.7-cp310-abi3-musllinux_1_2_x86_64.whl CPython 3.10 abi3 Linux musl 1.2+ x86-64 Details for chili_sauce-0.11.7-cp310-abi3-musllinux_1_2_x86_64.whl
chili_sauce-0.11.7-cp310-abi3-musllinux_1_2_aarch64.whl CPython 3.10 abi3 Linux musl 1.2+ ARM64 Details for chili_sauce-0.11.7-cp310-abi3-musllinux_1_2_aarch64.whl
chili_sauce-0.11.7-cp310-abi3-manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64 Details for chili_sauce-0.11.7-cp310-abi3-manylinux_2_28_x86_64.whl
chili_sauce-0.11.7-cp310-abi3-manylinux_2_28_aarch64.whl CPython 3.10 abi3 Linux glibc 2.28+ ARM64 Details for chili_sauce-0.11.7-cp310-abi3-manylinux_2_28_aarch64.whl
chili_sauce-0.11.7-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for chili_sauce-0.11.7-cp310-abi3-macosx_11_0_arm64.whl
chili_sauce-0.11.7-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details for chili_sauce-0.11.7-cp310-abi3-macosx_10_12_x86_64.whl

Total release size: 288.5 MB

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

Download URL chili_sauce-0.11.7-cp310-abi3-win_amd64.whl
Size 35.8 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
e7cad658bd81d535aec632623229db9fefba8a10e0c2e91e6b29d32462db81c5
BLAKE2b-256 checksum
How to use checksums
29888ec5b852f3aecfc55b044da179db10b7da813224674f9e3030d30900fc9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","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.7-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL chili_sauce-0.11.7-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
cc083804858a42344bd1268a7577a43742bbe73e85c5209c87a6fb18465aa95b
BLAKE2b-256 checksum
How to use checksums
b1f9a1fc051d533d8d11ae7d8b9d35f0449bfc02a820cc937b726bbfa3b8c924
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","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.7-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL chili_sauce-0.11.7-cp310-abi3-musllinux_1_2_aarch64.whl
Size 46.3 MB
Tags CPython 3.10 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
00d937c9ed1eb6a6f99f62b7f6320cd0e64c1ab38e3bf1bcb6d241e570c5bdbd
BLAKE2b-256 checksum
How to use checksums
b834c408a17941e87bc706dc033c0433c659955736cc2861eb57a879067059ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","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.7-cp310-abi3-manylinux_2_28_x86_64.whl

Download URL chili_sauce-0.11.7-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
58ed67566ac4049994f3df1548adb5dd2c620fd5212ebc745e67517106b6de88
BLAKE2b-256 checksum
How to use checksums
b7c3d778b2cd17b4e8b4bfda36b6be6611c8864813d6ba6c415efe5c70107c0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","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.7-cp310-abi3-manylinux_2_28_aarch64.whl

Download URL chili_sauce-0.11.7-cp310-abi3-manylinux_2_28_aarch64.whl
Size 46.1 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
8869d8e6746836f78d46f24e57b2ab6e09ada8c709823a9941dc5032ffc3e6fb
BLAKE2b-256 checksum
How to use checksums
7706aebd787ea538a3bcd31d5ba2a40715f25f02b1785765ccb5b54943fd748b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","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.7-cp310-abi3-macosx_11_0_arm64.whl

Download URL chili_sauce-0.11.7-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
59044bc9a94d0faa94894a688671b3ea857ca91d3853caac7c6560f7d89f8e82
BLAKE2b-256 checksum
How to use checksums
c5a63cfc7590bd7c85476214b8c7259d344f3ecbf057f51cc9bc1c183cdcd4ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","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.7-cp310-abi3-macosx_10_12_x86_64.whl

Download URL chili_sauce-0.11.7-cp310-abi3-macosx_10_12_x86_64.whl
Size 37.3 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
933d709f20841594af3905c71d90722fe15deb114eda60df55458ed745d116c8
BLAKE2b-256 checksum
How to use checksums
b3c5fd4d1736f5c129fcc0fd95dc38dafba227b2ac6febb8062234e0fc20167e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","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.7

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.7 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