fasiha / ebisu

Public-domain Python library for flashcard quiz scheduling using Bayesian statistics. (JavaScript, Java, Dart, and other ports available!)
https://fasiha.github.io/ebisu
The Unlicense
312 stars 32 forks source link

Can it be used on micropython? #55

Open AiPacino opened 2 years ago

AiPacino commented 2 years ago

https://micropython.org/

fasiha commented 2 years ago

Semi-related to #21.

Short answer: no, this won't work out of the box with even pure regular CPython since it depends on Scipy and Numpy for a few core things.

But folks have written stand-alone pure Python implementations of the functions we use in those dependencies. I wrote an early version of such an implementation in the no-deps branch and which inspired @thetruejacob's https://github.com/thetruejacob/Anki-Ebisu.

I'd like to officially provide a no-dependency implementation for things like Anki and Micropython but haven't made time to prioritize that yet. But I'm more than happy to help provide help or guidance on that project!