{"adoption": {"forks": 158, "observed_at": "2026-08-28T04:05:32.795914+00:00", "stars": 1762}, "canonical_url": "https://ross.abutalabs.com/products/railroad-diagrams", "card": {"archived": false, "artifact_type": "library", "description": ":steam_locomotive: A small JS+SVG library for drawing railroad syntax diagrams, like on JSON.org. Now with a Python port!", "domain": ["documentation", "parsers", "developer-tools", "web-development"], "enriched": true, "function": ["graphics", "documentation", "parser"], "health_score": 69, "homepage": null, "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["tabatkins/railroad-diagrams"], "name": "tabatkins/railroad-diagrams", "platform": ["python", "cross-platform"], "pushed_at": "2026-05-11T21:12:58+00:00", "repo": "tabatkins/railroad-diagrams", "stars": 1762, "tags": ["railroad-diagrams", "svg", "syntax-diagrams", "grammar-visualization", "unicode-text-diagrams", "nodejs"], "topics": [], "urls": [], "use_cases": ["generate railroad diagrams for a language grammar", "visualize BNF grammar as syntax diagrams", "create SVG syntax diagrams like JSON.org", "render grammar diagrams as unicode text", "document a DSL with syntax diagrams", "embed railroad diagrams in documentation"], "what_it_is": "A small JS and Python library for generating railroad (syntax) diagrams as SVG or Unicode text, like those on JSON.org. It visually represents grammars in a more readable form than regular expressions or BNF.", "when_to_avoid": ["you need diagrams that auto-size precisely to long text labels", "you need interactive or editable diagram tooling", "you need general-purpose charting or graph visualization"], "when_to_choose": ["you need attractive SVG railroad diagrams for a grammar", "you want both JavaScript and Python support", "you need text-based (unicode) diagram output as well"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/railroad-diagrams", "repo": "tabatkins/railroad-diagrams", "role": "main", "score": 69}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:32.795914+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:27:02.744393+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e6a489f0cbb779714167c9bae9c63f6dac5ca8ba719ee3999f74bab9ca40174f", "fetched_at": "2026-08-28T04:05:32.795914+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tabatkins/railroad-diagrams"}, {"content_hash": "37b04bff18028592895e455e562df8f95c3ea77600986330b2b50326463f9a21", "fetched_at": "2026-08-29T11:05:19.023361+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/railroad-diagrams/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:32.795914+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:27:02.744393+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e6a489f0cbb779714167c9bae9c63f6dac5ca8ba719ee3999f74bab9ca40174f", "fetched_at": "2026-08-28T04:05:32.795914+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tabatkins/railroad-diagrams"}, {"content_hash": "37b04bff18028592895e455e562df8f95c3ea77600986330b2b50326463f9a21", "fetched_at": "2026-08-29T11:05:19.023361+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/railroad-diagrams/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:27:02.744393+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e6a489f0cbb779714167c9bae9c63f6dac5ca8ba719ee3999f74bab9ca40174f", "fetched_at": "2026-08-28T04:05:32.795914+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tabatkins/railroad-diagrams"}, {"content_hash": "37b04bff18028592895e455e562df8f95c3ea77600986330b2b50326463f9a21", "fetched_at": "2026-08-29T11:05:19.023361+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/railroad-diagrams/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:05:32.795914+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:32.795914+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:32.795914+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:27:02.744393+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e6a489f0cbb779714167c9bae9c63f6dac5ca8ba719ee3999f74bab9ca40174f", "fetched_at": "2026-08-28T04:05:32.795914+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tabatkins/railroad-diagrams"}, {"content_hash": "37b04bff18028592895e455e562df8f95c3ea77600986330b2b50326463f9a21", "fetched_at": "2026-08-29T11:05:19.023361+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/railroad-diagrams/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:32.795914+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:32.795914+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:27:02.744393+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e6a489f0cbb779714167c9bae9c63f6dac5ca8ba719ee3999f74bab9ca40174f", "fetched_at": "2026-08-28T04:05:32.795914+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tabatkins/railroad-diagrams"}, {"content_hash": "37b04bff18028592895e455e562df8f95c3ea77600986330b2b50326463f9a21", "fetched_at": "2026-08-29T11:05:19.023361+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/railroad-diagrams/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:32.795914+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:32.795914+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:32.795914+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:27:02.744393+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e6a489f0cbb779714167c9bae9c63f6dac5ca8ba719ee3999f74bab9ca40174f", "fetched_at": "2026-08-28T04:05:32.795914+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tabatkins/railroad-diagrams"}, {"content_hash": "37b04bff18028592895e455e562df8f95c3ea77600986330b2b50326463f9a21", "fetched_at": "2026-08-29T11:05:19.023361+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/railroad-diagrams/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:32.795914+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:32.795914+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:27:02.744393+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e6a489f0cbb779714167c9bae9c63f6dac5ca8ba719ee3999f74bab9ca40174f", "fetched_at": "2026-08-28T04:05:32.795914+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tabatkins/railroad-diagrams"}, {"content_hash": "37b04bff18028592895e455e562df8f95c3ea77600986330b2b50326463f9a21", "fetched_at": "2026-08-29T11:05:19.023361+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/railroad-diagrams/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:27:02.744393+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e6a489f0cbb779714167c9bae9c63f6dac5ca8ba719ee3999f74bab9ca40174f", "fetched_at": "2026-08-28T04:05:32.795914+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tabatkins/railroad-diagrams"}, {"content_hash": "37b04bff18028592895e455e562df8f95c3ea77600986330b2b50326463f9a21", "fetched_at": "2026-08-29T11:05:19.023361+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/railroad-diagrams/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:27:02.744393+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e6a489f0cbb779714167c9bae9c63f6dac5ca8ba719ee3999f74bab9ca40174f", "fetched_at": "2026-08-28T04:05:32.795914+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tabatkins/railroad-diagrams"}, {"content_hash": "37b04bff18028592895e455e562df8f95c3ea77600986330b2b50326463f9a21", "fetched_at": "2026-08-29T11:05:19.023361+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/railroad-diagrams/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:27:02.744393+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e6a489f0cbb779714167c9bae9c63f6dac5ca8ba719ee3999f74bab9ca40174f", "fetched_at": "2026-08-28T04:05:32.795914+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tabatkins/railroad-diagrams"}, {"content_hash": "37b04bff18028592895e455e562df8f95c3ea77600986330b2b50326463f9a21", "fetched_at": "2026-08-29T11:05:19.023361+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/railroad-diagrams/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 81, "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": 5106, "days_push": 114, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 69, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}