{"adoption": {"forks": 594, "observed_at": "2026-08-28T04:08:57.452185+00:00", "stars": 4717}, "canonical_url": "https://ross.abutalabs.com/products/klib", "card": {"archived": false, "artifact_type": "library", "description": "A standalone and lightweight C library", "domain": ["developer-tools", "bioinformatics", "performance"], "enriched": true, "function": ["parser", "developer-tools", "math"], "health_score": 55, "homepage": "http://attractivechaos.github.io/klib/", "language": "C", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["attractivechaos/klib"], "name": "attractivechaos/klib", "platform": ["c", "cross-platform", "windows"], "pushed_at": "2025-12-22T04:59:43+00:00", "repo": "attractivechaos/klib", "stars": 4717, "tags": ["hash-table", "b-tree", "avl-tree", "sorting", "dynamic-array", "single-header", "generic-programming", "fasta-parser", "smith-waterman", "suffix-array", "command-line-parsing", "algorithms", "linux", "macos"], "topics": ["c", "generic", "library", "hashtable", "b-tree", "avl-tree", "sort", "algorithm"], "urls": [], "use_cases": ["add a fast hash table to a C project without dependencies", "sort large arrays efficiently in C", "parse FASTA/FASTQ bioinformatics files", "implement a B-tree or AVL tree in C", "parse command-line arguments in a portable C program", "build a dynamic array or linked list with minimal overhead"], "what_it_is": "Klib is a standalone, lightweight C library of generic data structures and algorithms implemented largely as single-header files using C macros. It includes efficient hash tables, B-trees, AVL trees, sorting routines, dynamic arrays, string utilities, and bioinformatics parsers like FASTA/FASTQ.", "when_to_avoid": ["you prefer clean, template-free APIs over macro-heavy code", "you need a full-featured container library like Glib with rich utilities", "you are working in a language other than C"], "when_to_choose": ["you need high-performance generic containers in C with minimal footprint", "you want copy-paste single-file components with no library dependencies", "you are writing performance-critical or bioinformatics C code"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/klib", "repo": "attractivechaos/klib", "role": "main", "score": 58}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:57.452185+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:19:07.061865+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "53bf9a958930d3e06d101723e8173e38117aec17075d90fa8d2d7ddaf65a2333", "fetched_at": "2026-08-28T04:08:57.452185+00:00", "kind": "readme", "missing": false, "url": "https://github.com/attractivechaos/klib"}, {"content_hash": "41a6b12d14c6de1d51b8ea670fcdfa25308192f16d3b288e9224cac1ad3ede82", "fetched_at": "2026-08-29T09:02:52.294894+00:00", "kind": "homepage", "missing": false, "url": "http://attractivechaos.github.io/klib/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:57.452185+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:19:07.061865+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "53bf9a958930d3e06d101723e8173e38117aec17075d90fa8d2d7ddaf65a2333", "fetched_at": "2026-08-28T04:08:57.452185+00:00", "kind": "readme", "missing": false, "url": "https://github.com/attractivechaos/klib"}, {"content_hash": "41a6b12d14c6de1d51b8ea670fcdfa25308192f16d3b288e9224cac1ad3ede82", "fetched_at": "2026-08-29T09:02:52.294894+00:00", "kind": "homepage", "missing": false, "url": "http://attractivechaos.github.io/klib/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:19:07.061865+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "53bf9a958930d3e06d101723e8173e38117aec17075d90fa8d2d7ddaf65a2333", "fetched_at": "2026-08-28T04:08:57.452185+00:00", "kind": "readme", "missing": false, "url": "https://github.com/attractivechaos/klib"}, {"content_hash": "41a6b12d14c6de1d51b8ea670fcdfa25308192f16d3b288e9224cac1ad3ede82", "fetched_at": "2026-08-29T09:02:52.294894+00:00", "kind": "homepage", "missing": false, "url": "http://attractivechaos.github.io/klib/"}], "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:08:57.452185+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:57.452185+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:57.452185+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:19:07.061865+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "53bf9a958930d3e06d101723e8173e38117aec17075d90fa8d2d7ddaf65a2333", "fetched_at": "2026-08-28T04:08:57.452185+00:00", "kind": "readme", "missing": false, "url": "https://github.com/attractivechaos/klib"}, {"content_hash": "41a6b12d14c6de1d51b8ea670fcdfa25308192f16d3b288e9224cac1ad3ede82", "fetched_at": "2026-08-29T09:02:52.294894+00:00", "kind": "homepage", "missing": false, "url": "http://attractivechaos.github.io/klib/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:57.452185+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:57.452185+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:19:07.061865+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "53bf9a958930d3e06d101723e8173e38117aec17075d90fa8d2d7ddaf65a2333", "fetched_at": "2026-08-28T04:08:57.452185+00:00", "kind": "readme", "missing": false, "url": "https://github.com/attractivechaos/klib"}, {"content_hash": "41a6b12d14c6de1d51b8ea670fcdfa25308192f16d3b288e9224cac1ad3ede82", "fetched_at": "2026-08-29T09:02:52.294894+00:00", "kind": "homepage", "missing": false, "url": "http://attractivechaos.github.io/klib/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:57.452185+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:57.452185+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:57.452185+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:19:07.061865+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "53bf9a958930d3e06d101723e8173e38117aec17075d90fa8d2d7ddaf65a2333", "fetched_at": "2026-08-28T04:08:57.452185+00:00", "kind": "readme", "missing": false, "url": "https://github.com/attractivechaos/klib"}, {"content_hash": "41a6b12d14c6de1d51b8ea670fcdfa25308192f16d3b288e9224cac1ad3ede82", "fetched_at": "2026-08-29T09:02:52.294894+00:00", "kind": "homepage", "missing": false, "url": "http://attractivechaos.github.io/klib/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:57.452185+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:57.452185+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:19:07.061865+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "53bf9a958930d3e06d101723e8173e38117aec17075d90fa8d2d7ddaf65a2333", "fetched_at": "2026-08-28T04:08:57.452185+00:00", "kind": "readme", "missing": false, "url": "https://github.com/attractivechaos/klib"}, {"content_hash": "41a6b12d14c6de1d51b8ea670fcdfa25308192f16d3b288e9224cac1ad3ede82", "fetched_at": "2026-08-29T09:02:52.294894+00:00", "kind": "homepage", "missing": false, "url": "http://attractivechaos.github.io/klib/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:19:07.061865+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "53bf9a958930d3e06d101723e8173e38117aec17075d90fa8d2d7ddaf65a2333", "fetched_at": "2026-08-28T04:08:57.452185+00:00", "kind": "readme", "missing": false, "url": "https://github.com/attractivechaos/klib"}, {"content_hash": "41a6b12d14c6de1d51b8ea670fcdfa25308192f16d3b288e9224cac1ad3ede82", "fetched_at": "2026-08-29T09:02:52.294894+00:00", "kind": "homepage", "missing": false, "url": "http://attractivechaos.github.io/klib/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:19:07.061865+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "53bf9a958930d3e06d101723e8173e38117aec17075d90fa8d2d7ddaf65a2333", "fetched_at": "2026-08-28T04:08:57.452185+00:00", "kind": "readme", "missing": false, "url": "https://github.com/attractivechaos/klib"}, {"content_hash": "41a6b12d14c6de1d51b8ea670fcdfa25308192f16d3b288e9224cac1ad3ede82", "fetched_at": "2026-08-29T09:02:52.294894+00:00", "kind": "homepage", "missing": false, "url": "http://attractivechaos.github.io/klib/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:19:07.061865+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "53bf9a958930d3e06d101723e8173e38117aec17075d90fa8d2d7ddaf65a2333", "fetched_at": "2026-08-28T04:08:57.452185+00:00", "kind": "readme", "missing": false, "url": "https://github.com/attractivechaos/klib"}, {"content_hash": "41a6b12d14c6de1d51b8ea670fcdfa25308192f16d3b288e9224cac1ad3ede82", "fetched_at": "2026-08-29T09:02:52.294894+00:00", "kind": "homepage", "missing": false, "url": "http://attractivechaos.github.io/klib/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 58, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5711, "days_push": 254, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 58, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}