22 unstable releases (7 breaking)

new 0.9.1 May 1, 2025
0.8.4 Mar 15, 2025
0.8.1 Dec 7, 2024
0.7.1 Sep 25, 2024
0.3.1 Nov 12, 2023

#1324 in Machine learning

Download history 7/week @ 2025-01-13 8/week @ 2025-02-03 97/week @ 2025-02-10 39/week @ 2025-02-17 12/week @ 2025-02-24 17/week @ 2025-03-03 103/week @ 2025-03-10 25/week @ 2025-03-17 3/week @ 2025-03-24 110/week @ 2025-03-31 74/week @ 2025-04-07 63/week @ 2025-04-14 101/week @ 2025-04-21 124/week @ 2025-04-28

372 downloads per month

MIT/Apache

1.5MB
35K SLoC

Installation

From the candle-pyo3 directory, enable a virtual env where you will want the candle package to be installed then run.

maturin develop -r 
python test.py

Generating Stub Files for Type Hinting

For type hinting support, the candle-pyo3 package requires *.pyi files. You can automatically generate these files using the stub.py script.

Steps:

  1. Install the package using maturin.
  2. Generate the stub files by running:
    python stub.py
    

Validation:

To ensure that the stub files match the current implementation, execute:

python stub.py --check

Dependencies

~10–18MB
~273K SLoC