Flightline - Synthetic data generation from sample files
Project description
Flightline
Synthetic data generation from sample files.
The Problem
You can't download real production files to test locally due to security/compliance constraints. Flightline solves this by analyzing a sample file and generating N valid synthetic variations.
How It Works
- Learn - Analyze a sample file to create a profile describing the schema, data types, business logic, and PII fields
- Generate - Use the profile to generate N realistic synthetic records
Installation
pip install flightline-ai
For development:
# Clone the repo and install in editable mode
pip install -e .
Usage
Step 1: Learn from a sample file
flightline learn path/to/sample.json
This analyzes your file and creates a profile at ./flightline_output/profile.json.
Step 2: Generate synthetic data
flightline generate -n 10
This generates 10 synthetic records based on the profile, saved to ./flightline_output/synthetic_<timestamp>.json.
You can also use the shorthand:
flightline gen -n 10
Choosing a Model
Both commands support a --model flag to choose any model available on OpenRouter:
# Use Gemini (default)
flightline learn sample.json --model google/gemini-3-flash-preview
# Use a specific model for generation
flightline gen -n 100 --model google/gemini-3-flash-preview
See OpenRouter Models for all available models.
Environment Variables
OPENROUTER_API_KEY- Your OpenRouter API key (required). Get one at https://openrouter.ai/keys
Output
All generated files are saved to ./flightline_output/:
profile.json- The learned schema and rulessynthetic_<timestamp>.json- The generated synthetic records
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flightline_ai-0.1.11.tar.gz.
File metadata
- Download URL: flightline_ai-0.1.11.tar.gz
- Upload date:
- Size: 53.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce008ca4b947d5d2e934c4cc5b704f06e7e8becb27cf063c0f8fdf43ccec759d
|
|
| MD5 |
8954db937d6d0bdb946f158eb7358748
|
|
| BLAKE2b-256 |
be4f0edf3c3f1274d6d217ddf68ac21a4ef10ccc95b17c0df3c04e1e536e1685
|
Provenance
The following attestation bundles were made for flightline_ai-0.1.11.tar.gz:
Publisher:
cli.yml on flightlinehq/mono
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flightline_ai-0.1.11.tar.gz -
Subject digest:
ce008ca4b947d5d2e934c4cc5b704f06e7e8becb27cf063c0f8fdf43ccec759d - Sigstore transparency entry: 776054287
- Sigstore integration time:
-
Permalink:
flightlinehq/mono@38f4e025fef9eb2729944c6e05dd36bc58e38ee3 -
Branch / Tag:
refs/tags/v0.1.11 - Owner: https://github.com/flightlinehq
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cli.yml@38f4e025fef9eb2729944c6e05dd36bc58e38ee3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file flightline_ai-0.1.11-py3-none-any.whl.
File metadata
- Download URL: flightline_ai-0.1.11-py3-none-any.whl
- Upload date:
- Size: 51.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3a7363199a0ea25ce23dd6953a1dd0d6e627a988cacb8bee8c287cbd7d96bd4
|
|
| MD5 |
203f5c2b274a0d907fe98d01f62e5a06
|
|
| BLAKE2b-256 |
29bf46d3bbc6f34ed1171c5eaac5f0d173025bdd713a28986329ea2aa58f5572
|
Provenance
The following attestation bundles were made for flightline_ai-0.1.11-py3-none-any.whl:
Publisher:
cli.yml on flightlinehq/mono
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flightline_ai-0.1.11-py3-none-any.whl -
Subject digest:
d3a7363199a0ea25ce23dd6953a1dd0d6e627a988cacb8bee8c287cbd7d96bd4 - Sigstore transparency entry: 776054289
- Sigstore integration time:
-
Permalink:
flightlinehq/mono@38f4e025fef9eb2729944c6e05dd36bc58e38ee3 -
Branch / Tag:
refs/tags/v0.1.11 - Owner: https://github.com/flightlinehq
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cli.yml@38f4e025fef9eb2729944c6e05dd36bc58e38ee3 -
Trigger Event:
push
-
Statement type: