{"adoption": {"forks": 111, "observed_at": "2026-08-28T04:04:25.792844+00:00", "stars": 1338}, "canonical_url": "https://ross.abutalabs.com/products/nlib", "card": {"archived": false, "artifact_type": "library", "description": "The book \"Annotated Algorithms in Python\" and the nlib.py library", "domain": ["mathematics", "data-science", "education", "tutorials"], "enriched": true, "function": ["math", "data-science", "machine-learning"], "health_score": 65, "homepage": null, "language": "Python", "license": null, "license_family": "other", "maturity": "maintenance", "member_repos": ["mdipierro/nlib"], "name": "mdipierro/nlib", "platform": ["python", "cross-platform"], "pushed_at": "2026-04-04T15:57:14+00:00", "repo": "mdipierro/nlib", "stars": 1338, "tags": ["numerical-computing", "pure-python", "textbook", "no-numpy", "linear-algebra", "statistics", "finance", "optimization"], "topics": [], "urls": [], "use_cases": ["learn numerical algorithms in python from scratch", "do linear algebra without numpy", "fit curves with least squares in pure python", "solve equations with newton's method", "compute statistics like mean, correlation, covariance", "fetch and analyze stock price data", "persist a python dictionary to sqlite"], "what_it_is": "A pure-Python numerical computing library (nlib.py) accompanied by the open book 'Annotated Algorithms in Python', covering linear algebra, root finding, optimization, statistics, and finance without requiring numpy. It serves both as a teaching resource and a lightweight dependency-free toolkit for numerical algorithms.", "when_to_avoid": ["you need high-performance vectorized numerical computing", "you are building production scientific software - prefer numpy/scipy", "you need a maintained library with a clear license and active development"], "when_to_choose": ["you want a dependency-free pure python numerical library", "you are teaching or learning how numerical algorithms work internally", "you need lightweight math utilities where numpy is unavailable or overkill"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/nlib", "repo": "mdipierro/nlib", "role": "main", "score": 66}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.792844+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:44:00.344658+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "973bab1c25d761924742913cfd51468a3076a854e9a75f13e43bc4cd47309d40", "fetched_at": "2026-08-28T04:04:25.792844+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mdipierro/nlib"}, {"content_hash": "8963effedd902e98bc76bcef46f93c2f58eb7af3e54a67bf84c118ae43191d9c", "fetched_at": "2026-08-29T12:03:04.768634+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/nlib/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.792844+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:44:00.344658+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "973bab1c25d761924742913cfd51468a3076a854e9a75f13e43bc4cd47309d40", "fetched_at": "2026-08-28T04:04:25.792844+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mdipierro/nlib"}, {"content_hash": "8963effedd902e98bc76bcef46f93c2f58eb7af3e54a67bf84c118ae43191d9c", "fetched_at": "2026-08-29T12:03:04.768634+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/nlib/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:44:00.344658+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "973bab1c25d761924742913cfd51468a3076a854e9a75f13e43bc4cd47309d40", "fetched_at": "2026-08-28T04:04:25.792844+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mdipierro/nlib"}, {"content_hash": "8963effedd902e98bc76bcef46f93c2f58eb7af3e54a67bf84c118ae43191d9c", "fetched_at": "2026-08-29T12:03:04.768634+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/nlib/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.792844+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.792844+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.792844+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:44:00.344658+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "973bab1c25d761924742913cfd51468a3076a854e9a75f13e43bc4cd47309d40", "fetched_at": "2026-08-28T04:04:25.792844+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mdipierro/nlib"}, {"content_hash": "8963effedd902e98bc76bcef46f93c2f58eb7af3e54a67bf84c118ae43191d9c", "fetched_at": "2026-08-29T12:03:04.768634+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/nlib/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.792844+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.792844+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:44:00.344658+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "973bab1c25d761924742913cfd51468a3076a854e9a75f13e43bc4cd47309d40", "fetched_at": "2026-08-28T04:04:25.792844+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mdipierro/nlib"}, {"content_hash": "8963effedd902e98bc76bcef46f93c2f58eb7af3e54a67bf84c118ae43191d9c", "fetched_at": "2026-08-29T12:03:04.768634+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/nlib/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.792844+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.792844+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.792844+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:44:00.344658+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "973bab1c25d761924742913cfd51468a3076a854e9a75f13e43bc4cd47309d40", "fetched_at": "2026-08-28T04:04:25.792844+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mdipierro/nlib"}, {"content_hash": "8963effedd902e98bc76bcef46f93c2f58eb7af3e54a67bf84c118ae43191d9c", "fetched_at": "2026-08-29T12:03:04.768634+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/nlib/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.792844+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.792844+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:44:00.344658+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "973bab1c25d761924742913cfd51468a3076a854e9a75f13e43bc4cd47309d40", "fetched_at": "2026-08-28T04:04:25.792844+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mdipierro/nlib"}, {"content_hash": "8963effedd902e98bc76bcef46f93c2f58eb7af3e54a67bf84c118ae43191d9c", "fetched_at": "2026-08-29T12:03:04.768634+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/nlib/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:44:00.344658+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "973bab1c25d761924742913cfd51468a3076a854e9a75f13e43bc4cd47309d40", "fetched_at": "2026-08-28T04:04:25.792844+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mdipierro/nlib"}, {"content_hash": "8963effedd902e98bc76bcef46f93c2f58eb7af3e54a67bf84c118ae43191d9c", "fetched_at": "2026-08-29T12:03:04.768634+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/nlib/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:44:00.344658+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "973bab1c25d761924742913cfd51468a3076a854e9a75f13e43bc4cd47309d40", "fetched_at": "2026-08-28T04:04:25.792844+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mdipierro/nlib"}, {"content_hash": "8963effedd902e98bc76bcef46f93c2f58eb7af3e54a67bf84c118ae43191d9c", "fetched_at": "2026-08-29T12:03:04.768634+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/nlib/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:44:00.344658+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "973bab1c25d761924742913cfd51468a3076a854e9a75f13e43bc4cd47309d40", "fetched_at": "2026-08-28T04:04:25.792844+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mdipierro/nlib"}, {"content_hash": "8963effedd902e98bc76bcef46f93c2f58eb7af3e54a67bf84c118ae43191d9c", "fetched_at": "2026-08-29T12:03:04.768634+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/nlib/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 75, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases", "no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4867, "days_push": 151, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 66, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}