12 releases (4 breaking)

0.6.0 Jun 29, 2024
0.4.1 Feb 28, 2024
0.3.2 Dec 20, 2023
0.3.1 Nov 12, 2023

#994 in Machine learning

Download history 156/week @ 2024-05-20 5/week @ 2024-06-03 2/week @ 2024-06-10 144/week @ 2024-06-24 25/week @ 2024-07-01

777 downloads per month

MIT/Apache

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

~11–21MB
~343K SLoC