15 releases (6 breaking)
new 0.8.1 | Dec 7, 2024 |
---|---|
0.7.1 | Sep 25, 2024 |
0.6.0 | Jun 29, 2024 |
0.4.1 | Feb 28, 2024 |
0.3.1 | Nov 12, 2023 |
#1152 in Machine learning
109 downloads per month
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:
- Install the package using
maturin
. - 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
~324K SLoC