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

Uploaded CPython 3.10+Windows x86-64

chili_sauce-0.9.9-cp310-abi3-musllinux_1_2_x86_64.whl (44.7 MB view details)

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

chili_sauce-0.9.9-cp310-abi3-musllinux_1_2_aarch64.whl (43.7 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

chili_sauce-0.9.9-cp310-abi3-manylinux_2_28_x86_64.whl (37.1 MB view details)

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

chili_sauce-0.9.9-cp310-abi3-manylinux_2_28_aarch64.whl (43.5 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

chili_sauce-0.9.9-cp310-abi3-macosx_11_0_arm64.whl (36.7 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

chili_sauce-0.9.9-cp310-abi3-macosx_10_12_x86_64.whl (38.3 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: chili_sauce-0.9.9-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 32.8 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","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.9.9-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f37b5817aacba2e56afd228b5ced2101fd123323fb6ac6188697ef5d6570b926
MD5 ef3dc2ad780e640cf3c06a0c2f2d158d
BLAKE2b-256 d347dbf3c7806848e36ed66f257490df5b0b1122eb2f6d305e6704d87eac880d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.9.9-cp310-abi3-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 44.7 MB
  • Tags: CPython 3.10+, musllinux: musl 1.2+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","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.9.9-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4dffcf9283ba4a78ac23283dc09f0e62ffd2463b538865f2e995f2786e557feb
MD5 db73b48aed3b445177b7d433fdaa42e8
BLAKE2b-256 7d772de1d7c2ecd11168ff35d2433db009069044cd05f112667be0315c856bec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.9.9-cp310-abi3-musllinux_1_2_aarch64.whl
  • Upload date:
  • Size: 43.7 MB
  • Tags: CPython 3.10+, musllinux: musl 1.2+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","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.9.9-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b85407409b016e509d5b78bdb30dd50560b7c24501fcd123ef530a8beaa85f5f
MD5 96a62aeb202767ae1f10fc28956cc21f
BLAKE2b-256 5608a157e43db36c50fabb642c1c533d6636ad973ac4b24ea3711c77f6ff73fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.9.9-cp310-abi3-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 37.1 MB
  • Tags: CPython 3.10+, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","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.9.9-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f991026bd83cbce15f2d5ae04eae21ba8fe8ed7fca70bc00aff1d61480291149
MD5 48ccc7c9c79bca6b0ae0bed150a2fadf
BLAKE2b-256 5d8886910b8aa0ccb88051fd11237e8211ac4253dc8c90514b0008376b7434c2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.9.9-cp310-abi3-manylinux_2_28_aarch64.whl
  • Upload date:
  • Size: 43.5 MB
  • Tags: CPython 3.10+, manylinux: glibc 2.28+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","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.9.9-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a478a70c69ae0ef60eb34c82108840cad83e3ca9ad0dd7f16abb178e4796f5c0
MD5 885e0726b8d74fe147c720f9f60fdde4
BLAKE2b-256 19aad07443d6121f0068284ce8070aaf9e5f33af21fcd5041937c16a4efc12b3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.9.9-cp310-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 36.7 MB
  • Tags: CPython 3.10+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","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.9.9-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f5d3477fa18d59b89a437ea1e3d1cb935c0739ace587553698b3bcc91008ee24
MD5 269ed523c389e1e5763d973ce4aff7fd
BLAKE2b-256 c951f3915c5ff1f3ebf6d56b099f65b7444255a177b56d19f38e83818b83a40a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chili_sauce-0.9.9-cp310-abi3-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 38.3 MB
  • Tags: CPython 3.10+, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","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.9.9-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 034f900aa45d23f971ae261855a7be8fdb3ea1fd48bd6d2dbc1e24d5ee210df7
MD5 2c1e9905206c6302dc67e27114b6b8aa
BLAKE2b-256 4ce95ba8901c0430de054abbad18356f3dead25a29d776754be484cdffcceb5a

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

0.10.0

7 files

This release

0.9.9 This release

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