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

Uploaded CPython 3.10+Windows x86-64

chili_sauce-0.10.0-cp310-abi3-musllinux_1_2_x86_64.whl (46.4 MB view details)

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

chili_sauce-0.10.0-cp310-abi3-musllinux_1_2_aarch64.whl (45.3 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

chili_sauce-0.10.0-cp310-abi3-manylinux_2_28_x86_64.whl (38.5 MB view details)

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

chili_sauce-0.10.0-cp310-abi3-manylinux_2_28_aarch64.whl (45.1 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

chili_sauce-0.10.0-cp310-abi3-macosx_11_0_arm64.whl (38.0 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

chili_sauce-0.10.0-cp310-abi3-macosx_10_12_x86_64.whl (39.6 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: chili_sauce-0.10.0-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 34.0 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ebada9016cb9a5c8060c3176c88cbcb092de03a0fb272143f17ab262ff1183c9
MD5 056dd63c83b37bad3491384f46d7ede9
BLAKE2b-256 c6e40a44f76cf69f042cdb620c64b4c4e6e3e39bc7acc5c4fee2e5c8ca8bed54

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.10.0-cp310-abi3-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 46.4 MB
  • Tags: CPython 3.10+, musllinux: musl 1.2+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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.0-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e0898bd68e12960e966a9eb4867ab33f0958f3a4a122315d36ad260e1f21f578
MD5 cf9b99b3c828e9c721b5406a58507fa8
BLAKE2b-256 cc099921502869f3df336843a6c3be2a9eb37d459f5a5b393737d64197d836a8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.10.0-cp310-abi3-musllinux_1_2_aarch64.whl
  • Upload date:
  • Size: 45.3 MB
  • Tags: CPython 3.10+, musllinux: musl 1.2+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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.0-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 823eebbb5719b9609f93411b822520796ca09810ea65799d37cfcd12b13290fe
MD5 f760b2f533fb9f222a113895be8a05b6
BLAKE2b-256 14c168c63b05c10f004807747be6116a57e614da86445224fb816a184b29d936

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.10.0-cp310-abi3-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 38.5 MB
  • Tags: CPython 3.10+, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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.0-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a122908244b64998024e1c3dc4d567df79a6fd8b4a57c9b37523555333ff837e
MD5 0c9031d65f3b54623ee8e80f85f153ef
BLAKE2b-256 77378fa2a868b4e3d6957ea90e9ad076e40e4cc4bfc0f49e38e7ee6889339532

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.10.0-cp310-abi3-manylinux_2_28_aarch64.whl
  • Upload date:
  • Size: 45.1 MB
  • Tags: CPython 3.10+, manylinux: glibc 2.28+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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.0-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 94e10abbc15cce495a9498a6ae42165586c8d50a96c7cbe33492d1bd4ebd467d
MD5 9f1d7ccd3cb40e1065293082eab3370b
BLAKE2b-256 e6192a7ed5def61465736bd2ab1aee3abaecd089055e86e7d8a2913e6737ae68

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.10.0-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.1 {"installer":{"name":"uv","version":"0.12.1","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.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f57d1d29da81f91c5c8fdaa0c5c5c1ebb3801926c4feb93a104c3538065ba9cb
MD5 c0e1b84a8aa23090d74eb5aaf5d9fe4c
BLAKE2b-256 cf90f1451db8f40354bdace9655bf89faa98cd3b88001ab0b651c5e7ec322ec1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.10.0-cp310-abi3-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 39.6 MB
  • Tags: CPython 3.10+, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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.0-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c738dd49b916fcd7584769bdb51a7c03cc86b387559f07eb1d32fbc6ef00f5ff
MD5 78c4eb7f56f752e87d3b59ddc5d81ce6
BLAKE2b-256 6fe40e53d219cb268b44e8089597a1156f515cab6369d8055101800c2d915879

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

This release

0.10.0 This release

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