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/

Metadata

Release files for chili-sauce 0.11.1

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

Total release size: 288.6 MB

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

Download URL chili_sauce-0.11.1-cp310-abi3-win_amd64.whl
Size 35.5 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
9c07eae7400ade2ac690b13ed6538c6ffce318ab291225a5cc2ac01b6096136b
BLAKE2b-256 checksum
How to use checksums
39b1bbb41e2e8e3ce6d5a21fa62a4166acbaf73dfa26d8cf5d4c54d2909d3933
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","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}

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

Download URL chili_sauce-0.11.1-cp310-abi3-musllinux_1_2_x86_64.whl
Size 47.4 MB
Tags CPython 3.10 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
3ed078c967776a1a70447ffd78e2873dbcc7eba4955f98a972e18f099fb1c154
BLAKE2b-256 checksum
How to use checksums
2ad160d9cece4db503e053a48d8ffdcaca7c608a00bf8db527249f756084b7cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","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}

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

Download URL chili_sauce-0.11.1-cp310-abi3-musllinux_1_2_aarch64.whl
Size 46.5 MB
Tags CPython 3.10 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
113ecec2c56535ffc54e2897e5b644983a44952268e8573aad46cc423b00dbd4
BLAKE2b-256 checksum
How to use checksums
1263092814d21f23b9642e57b591def7fbd62e6b7e45542d6e08c64c05463597
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","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}

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

Download URL chili_sauce-0.11.1-cp310-abi3-manylinux_2_28_x86_64.whl
Size 39.4 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
5fe0db7eda946a2b154857f9eaf35c3f67eb5142f668d7bdc25c5fb1c8934d29
BLAKE2b-256 checksum
How to use checksums
a07a51b1d59c9a63099f9c17204893987e6d9569c4500198ff2006adc5bf56e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","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}

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

Download URL chili_sauce-0.11.1-cp310-abi3-manylinux_2_28_aarch64.whl
Size 46.3 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
8c209c226982a6bc7e0d8d5d0ce4bc5bf511d333dc00d7985d2e0d5f44ffd58c
BLAKE2b-256 checksum
How to use checksums
9aea79fcb882214b756c82b2f6c6a00971901adf8a1819f991aa44be54ac9073
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","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}

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

Download URL chili_sauce-0.11.1-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
0b1dfa70958e5ef46ad07b9c73b97a9256b1c684251ac58fd91d87bebde5ef4a
BLAKE2b-256 checksum
How to use checksums
ca04041c5c2a931f6630a656b393254646cbaba6afd2a502bf13b6560089878e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","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}

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

Download URL chili_sauce-0.11.1-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
307f5139bd85853167841a3e3957bed8bdf0e1bff9e7aaba296135d4c04d1774
BLAKE2b-256 checksum
How to use checksums
d9f3ad64cf26cbbb34a92d524a5cc33b458569be68beaa239fcc68216507630d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","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}

Security for chili-sauce 0.11.1

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.

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