llc-tools icon indicating copy to clipboard operation
llc-tools copied to clipboard

Decorators to make it easier to write SciPy LowLevelCallables

Results 6 llc-tools issues
Sort by recently updated
recently updated
newest added

```python @cfunc(intc(CPointer(float64), intp, CPointer(float64), voidptr)) def function(values_ptr, len_values, result, data): ... weights = carray(data, (1,), double)[0] ... weights = [0.6, 0.8, 0.4] seq = ctypes.c_double * len(weights) arr = seq(*weights)...

- testing - releases See https://github.com/napari/napari, https://github.com/napari/magicgui, and https://github.com/scikit-image/scikit-image for example configurations.

good first issue

In #11, @trhallam added some basic tests (🎉!). We can be more elaborate: - [ ] ensure that running the function with a lowlevelcallable and a Python callable (the un-decorated...

good first issue
testing

The functions in llc-tools are not even documented themselves. It would be good to change that. See the Guide to NumPy documentation: https://numpy.org/doc/stable/docs/howto_document.html

documentation
good first issue

Users of numerical integration don't have a nice lowlevelcallable interface with Numba right now. See: See https://docs.scipy.org/doc/scipy/reference/ccallback.html

good first issue

The two blog posts that motivated this library contain some useful references for documentation: https://ilovesymposia.com/2017/03/12/scipys-new-lowlevelcallable-is-a-game-changer/ https://ilovesymposia.com/2017/03/15/prettier-lowlevelcallables-with-numba-jit-and-decorators/ Currently, llc-tools doesn't have any documentation. It would be good to put some on...

documentation
good first issue