Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154695198
D56019.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D56019.diff
View Options
diff --git a/devel/Makefile b/devel/Makefile
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4980,6 +4980,7 @@
SUBDIR += py-frictionless-ckan-mapper
SUBDIR += py-frozendict
SUBDIR += py-frozenlist
+ SUBDIR += py-fsrs
SUBDIR += py-fudge
SUBDIR += py-funcparserlib
SUBDIR += py-funcsigs
diff --git a/devel/py-fsrs/Makefile b/devel/py-fsrs/Makefile
new file mode 100644
--- /dev/null
+++ b/devel/py-fsrs/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= fsrs
+PORTVERSION= 6.3.1
+CATEGORIES= devel python # machine-learning
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= chris.longros@gmail.com
+COMMENT= Free Spaced Repetition Scheduler
+WWW= https://github.com/open-spaced-repetition/py-fsrs
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-fsrs/distinfo b/devel/py-fsrs/distinfo
new file mode 100644
--- /dev/null
+++ b/devel/py-fsrs/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1774196813
+SHA256 (fsrs-6.3.1.tar.gz) = 43c5c6056b97266baf6ebfef9e4cadeb9ac5a4e1b29ffdfb300f445b6e6b15ca
+SIZE (fsrs-6.3.1.tar.gz) = 32645
diff --git a/devel/py-fsrs/pkg-descr b/devel/py-fsrs/pkg-descr
new file mode 100644
--- /dev/null
+++ b/devel/py-fsrs/pkg-descr
@@ -0,0 +1,12 @@
+Python implementation of the Free Spaced Repetition Scheduler (FSRS)
+algorithm. FSRS uses machine learning to analyze personal review history
+and optimize flashcard scheduling intervals, replacing fixed-formula
+schedulers like SM-2 with data-driven, individualized memory modeling.
+
+Features:
+- Implements FSRS-6 algorithm
+- Scheduling, card state management, and retrievability calculation
+- Optional optimizer module for computing optimal parameters from review data
+- Built into Anki since 23.10, with FSRS-6 support in Anki 25.09
+
+-- Christos Longros <chris.longros@gmail.com>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 30, 6:13 AM (47 m, 22 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32459808
Default Alt Text
D56019.diff (2 KB)
Attached To
Mode
D56019: devel/py-fsrs: new port for Free Spaced Repetition Scheduler (FSRS)
Attached
Detach File
Event Timeline
Log In to Comment