# nvzqz/RandomKit

Random data generation in Swift

Repository: https://github.com/nvzqz/RandomKit
Canonical: https://ross.abutalabs.com/products/randomkit
Homepage: https://nvzqz.github.io/RandomKit/docs/
Language: Swift
License: NOASSERTION
License Family: other
Topics: swift, random, random-generation, protocol, math, carthage, swift-package-manager, cocoapods, cross-platform, ios, watchos, macos, linux, testing
Last push: 2022-06-09T18:49:03+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3980, "days_push": 1546, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1457, forks 90 (observed 2026-08-28T04:04:47.054915+00:00)

## What it is
RandomKit is a Swift framework that simplifies random data generation across Swift and Foundation types using protocol-oriented design. It supports random values, ranges, shuffling, and pluggable random generators on Apple platforms and Linux.

## Use cases
- generate random numbers in Swift
- shuffle arrays randomly
- generate random strings or characters
- create random test data
- pick random dates or colors
- seedable random generators in Swift

## When to choose
- you need broad random generation across many Swift and Foundation types
- you want a protocol-based, extensible random API
- you need cross-platform (Apple + Linux) random generation

## When to avoid
- you only need Swift's built-in random APIs (Swift 4.2+)
- you need cryptographically secure randomness as the primary goal
- you need an actively developed library with recent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: data-generation, testing, math
- domain: developer-tools, testing
- platform: -
- tags: random-generation, swift-package-manager, cocoapods, carthage, shuffling, protocol-oriented, algorithms, ios, macos, linux, swift

## Member repositories
- nvzqz/RandomKit (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:47.054915+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:35:34.014040+00:00, confidence not recorded.
  - readme: https://github.com/nvzqz/RandomKit (fetched 2026-08-28T04:04:47.054915+00:00, sha 8be6a618e7e3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
