3 releases

0.2.2 Sep 18, 2023
0.2.1 Sep 11, 2023
0.2.0 Aug 30, 2023

#266 in Machine learning

Download history 16/week @ 2023-08-30 22/week @ 2023-09-06 25/week @ 2023-09-13 7/week @ 2023-09-20

70 downloads per month

MIT/Apache

1MB
21K 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

~6–13MB
~159K SLoC