{"adoption": {"forks": 150, "observed_at": "2026-08-28T04:04:39.785375+00:00", "stars": 1415}, "canonical_url": "https://ross.abutalabs.com/products/swift-system", "card": {"archived": false, "artifact_type": "library", "description": "Low-level system calls and types for Swift", "domain": ["developer-tools", "operating-systems", "cross-platform"], "enriched": true, "function": ["file-system", "developer-tools"], "health_score": 99, "homepage": null, "language": "Swift", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["apple/swift-system"], "name": "apple/swift-system", "platform": ["windows"], "pushed_at": "2026-08-17T18:27:17+00:00", "repo": "apple/swift-system", "stars": 1415, "tags": ["posix", "file-descriptor", "file-path", "system-calls", "swiftpm", "macos", "linux", "ios", "swift"], "topics": ["file-path", "file-descriptor", "posix"], "urls": [], "use_cases": ["open, read, and write files with type-safe file descriptors in Swift", "manipulate file paths without raw C strings", "build cross-platform Swift libraries like SwiftNIO or SwiftPM on top of system calls", "wrap POSIX system calls with idiomatic Swift error handling", "work with low-level OS interfaces on Darwin, Linux, or Windows"], "what_it_is": "Swift System (SystemPackage) is an Apple-maintained Swift library providing idiomatic, type-safe interfaces to low-level system calls and currency types like file paths and file descriptors. It exposes native platform APIs per OS (Darwin, POSIX, Windows) rather than abstracting over them, aiming to make platform-specific code safer and more expressive.", "when_to_avoid": ["you want a single unified cross-platform API that hides OS differences", "you need high-level file system utilities like directory walking or file copying", "your target platform is Windows and you require source stability"], "when_to_choose": ["you need safe, idiomatic Swift bindings to file descriptors and file paths", "you are building a systems-level Swift library or tool that touches the OS directly", "you want Apple-maintained, source-stable system interfaces for Darwin and POSIX platforms"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/swift-system", "repo": "apple/swift-system", "role": "main", "score": 98}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:39.785375+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:38:08.204055+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9cd08ec7fc51bffa107e7f703b55fa93acdcccddc19b4b7107ff2316439e03b9", "fetched_at": "2026-08-28T04:04:39.785375+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-system"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:39.785375+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:38:08.204055+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9cd08ec7fc51bffa107e7f703b55fa93acdcccddc19b4b7107ff2316439e03b9", "fetched_at": "2026-08-28T04:04:39.785375+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-system"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:38:08.204055+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9cd08ec7fc51bffa107e7f703b55fa93acdcccddc19b4b7107ff2316439e03b9", "fetched_at": "2026-08-28T04:04:39.785375+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-system"}], "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:39.785375+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:39.785375+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:39.785375+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:38:08.204055+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9cd08ec7fc51bffa107e7f703b55fa93acdcccddc19b4b7107ff2316439e03b9", "fetched_at": "2026-08-28T04:04:39.785375+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-system"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:39.785375+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:39.785375+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:38:08.204055+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9cd08ec7fc51bffa107e7f703b55fa93acdcccddc19b4b7107ff2316439e03b9", "fetched_at": "2026-08-28T04:04:39.785375+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-system"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:39.785375+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:39.785375+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:39.785375+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:38:08.204055+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9cd08ec7fc51bffa107e7f703b55fa93acdcccddc19b4b7107ff2316439e03b9", "fetched_at": "2026-08-28T04:04:39.785375+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-system"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:39.785375+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:39.785375+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:38:08.204055+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9cd08ec7fc51bffa107e7f703b55fa93acdcccddc19b4b7107ff2316439e03b9", "fetched_at": "2026-08-28T04:04:39.785375+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-system"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:38:08.204055+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9cd08ec7fc51bffa107e7f703b55fa93acdcccddc19b4b7107ff2316439e03b9", "fetched_at": "2026-08-28T04:04:39.785375+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-system"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:38:08.204055+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9cd08ec7fc51bffa107e7f703b55fa93acdcccddc19b4b7107ff2316439e03b9", "fetched_at": "2026-08-28T04:04:39.785375+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-system"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:38:08.204055+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9cd08ec7fc51bffa107e7f703b55fa93acdcccddc19b4b7107ff2316439e03b9", "fetched_at": "2026-08-28T04:04:39.785375+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/swift-system"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 98, "longevity": 100, "rhythm": 97}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2169, "days_push": 16, "days_rel": 20, "gap_med": 8.5, "n_releases_24m": 19}, "score": 98, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}