{"adoption": {"forks": 89, "observed_at": "2026-08-28T04:03:13.020855+00:00", "stars": 1010}, "canonical_url": "https://ross.abutalabs.com/products/liang", "card": {"archived": false, "artifact_type": "library", "description": "Liang - Non functional requirements should be part of function interfaces", "domain": ["developer-tools", "performance"], "enriched": true, "function": ["monitoring", "logging", "testing", "benchmarking"], "health_score": 20, "homepage": null, "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["yizhang7210/liang"], "name": "yizhang7210/liang", "platform": ["python", "cross-platform"], "pushed_at": "2021-11-08T04:57:32+00:00", "repo": "yizhang7210/liang", "stars": 1010, "tags": ["non-functional-requirements", "decorators", "latency-enforcement", "sla", "python3", "python"], "topics": ["performance", "python3"], "urls": [], "use_cases": ["enforce a function completes within a time threshold", "log warnings when a function exceeds its latency budget", "track percentile latency across repeated function runs", "attach custom failure handlers to performance violations", "make performance requirements part of the code interface"], "what_it_is": "Liang is a Python library for specifying non-functional requirements like latency thresholds directly in function interfaces via decorators. It enforces or monitors latency budgets, raising timeouts or logging warnings through configurable handlers and measurers.", "when_to_avoid": ["you need full application performance monitoring or distributed tracing", "your project is not in Python", "you need actively maintained tooling - the last release was 2021"], "when_to_choose": ["you want latency SLAs enforced or monitored at the function level in Python", "you need timeout guarantees for potentially slow functions", "you want percentile-based latency tracking with custom handlers"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/liang", "repo": "yizhang7210/liang", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:13.020855+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:11:59.432136+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74a2c6b41d3b49049b8e40d66f36295f8725426ddf9bb1ec56266c181c66c4b7", "fetched_at": "2026-08-28T04:03:13.020855+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yizhang7210/liang"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:13.020855+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:11:59.432136+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74a2c6b41d3b49049b8e40d66f36295f8725426ddf9bb1ec56266c181c66c4b7", "fetched_at": "2026-08-28T04:03:13.020855+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yizhang7210/liang"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:11:59.432136+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74a2c6b41d3b49049b8e40d66f36295f8725426ddf9bb1ec56266c181c66c4b7", "fetched_at": "2026-08-28T04:03:13.020855+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yizhang7210/liang"}], "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:03:13.020855+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:13.020855+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:13.020855+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:11:59.432136+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74a2c6b41d3b49049b8e40d66f36295f8725426ddf9bb1ec56266c181c66c4b7", "fetched_at": "2026-08-28T04:03:13.020855+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yizhang7210/liang"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:13.020855+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:13.020855+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:11:59.432136+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74a2c6b41d3b49049b8e40d66f36295f8725426ddf9bb1ec56266c181c66c4b7", "fetched_at": "2026-08-28T04:03:13.020855+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yizhang7210/liang"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:13.020855+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:13.020855+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:13.020855+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:11:59.432136+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74a2c6b41d3b49049b8e40d66f36295f8725426ddf9bb1ec56266c181c66c4b7", "fetched_at": "2026-08-28T04:03:13.020855+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yizhang7210/liang"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:13.020855+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:13.020855+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:11:59.432136+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74a2c6b41d3b49049b8e40d66f36295f8725426ddf9bb1ec56266c181c66c4b7", "fetched_at": "2026-08-28T04:03:13.020855+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yizhang7210/liang"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:11:59.432136+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74a2c6b41d3b49049b8e40d66f36295f8725426ddf9bb1ec56266c181c66c4b7", "fetched_at": "2026-08-28T04:03:13.020855+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yizhang7210/liang"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:11:59.432136+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74a2c6b41d3b49049b8e40d66f36295f8725426ddf9bb1ec56266c181c66c4b7", "fetched_at": "2026-08-28T04:03:13.020855+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yizhang7210/liang"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:11:59.432136+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74a2c6b41d3b49049b8e40d66f36295f8725426ddf9bb1ec56266c181c66c4b7", "fetched_at": "2026-08-28T04:03:13.020855+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yizhang7210/liang"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1801, "days_push": 1759, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}