Chisle
코딩 에이전트 플러그인, 20개 실시간 작업에서 기본 모델 52% 활용, 간결한 페르소나와 출력 압축 제공
Synthetic data at NumPy speed from declarative specs — pandas, files, streams for Kafka and Spark, related tables via pk/fk.
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Synthetic data, very fast, from a declarative RandSpec — for batch and streaming, on any platform. The core is Python + NumPy; Spark is supported, never required, and Faker composes on top.
pip install rand-engine
pip install "rand-engine[faker]" # optional: Faker pools
A spec maps each column to a method and its kwargs; the seed makes it reproducible.
from rand_engine import DataGenerator
spec = {
"user_id": {"method": "int_zfilled", "kwargs": {"length": 8}},
"age": {"method": "integers", "kwargs": {"min": 18, "max": 80}},
"plan": {"method": "distincts_prop", "kwargs": {"distincts": {"free": 8, "pro": 2}}},
"signup": {"method": "dates", "kwargs": {"start": "2024-01-01", "end": "2024-12-31"}},
}
df = DataGenerator(spec, seed=42).size(1_000).get_df()
assert df.shape == (1_000, 4) and df["age"].between(18, 80).all()
pk and fk keys stay consistent across batches, streams and files.rand-engine list prints six starters. Five are runnable examples: rand-engine get-started <slug> writes <slug>-example.py (also python -m rand_engine get-started <slug>, with --out DIR to choose the folder).
test-data: a DataFrame for pipeline tests with null_rate and anomaly_rate.lake: pk/fk related tables written to a Parquet lake.kafka: an event stream for Kafka, JSON lines to stdout by default.databricks: a Spark/Databricks notebook on native SparkGenerator.faker: Faker pools sampled at NumPy speed through RandSpecs.faker_pool.The optional agent starter writes AGENTS.md with package-use context for an existing project:
rand-engine get-started agent --out PROJECT
It begins in 0.8.0 and does not overwrite an existing PROJECT/AGENTS.md; review and merge it with the project's own instructions.
Full guides and the method reference live on the docs site. Start with compatibility, migration and recovery when choosing Python or Spark, and use the rand-engine skill or the Agent context starter for an AI agent.
Contributions use CONTRIBUTING.md; questions and ordinary bugs belong in GitHub Issues. Potential vulnerabilities use the private route in SECURITY.md.