10 unstable releases (3 breaking)

0.5.0 May 3, 2024
0.4.1 Feb 28, 2024
0.3.3 Jan 31, 2024
0.3.2 Dec 20, 2023
0.2.0 Aug 30, 2023

#828 in Machine learning

Download history 3/week @ 2024-01-31 4/week @ 2024-02-14 110/week @ 2024-02-21 178/week @ 2024-02-28 6/week @ 2024-03-06 24/week @ 2024-03-13 10/week @ 2024-03-27 18/week @ 2024-04-03 137/week @ 2024-05-01

137 downloads per month

MIT/Apache

1.5MB
32K 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–19MB
~298K SLoC