17 unstable releases (6 breaking)

0.8.3 Feb 15, 2025
0.8.1 Dec 7, 2024
0.7.1 Sep 25, 2024
0.6.0 Jun 29, 2024
0.3.1 Nov 12, 2023

#1272 in Machine learning

Download history 1/week @ 2024-11-14 125/week @ 2024-12-05 25/week @ 2024-12-12 73/week @ 2025-01-02 33/week @ 2025-01-09 2/week @ 2025-01-30 6/week @ 2025-02-06 120/week @ 2025-02-13 23/week @ 2025-02-20 22/week @ 2025-02-27

173 downloads per month

MIT/Apache

1.5MB
34K 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

~9–20MB
~338K SLoC