Skip to main content

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

  1. Learn - Analyze a sample file to create a profile describing the schema, data types, business logic, and PII fields
  2. 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

Output

All generated files are saved to ./flightline_output/:

  • profile.json - The learned schema and rules
  • synthetic_<timestamp>.json - The generated synthetic records

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flightline_ai-0.1.5.tar.gz (88.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flightline_ai-0.1.5-py3-none-any.whl (46.6 kB view details)

Uploaded Python 3

File details

Details for the file flightline_ai-0.1.5.tar.gz.

File metadata

  • Download URL: flightline_ai-0.1.5.tar.gz
  • Upload date:
  • Size: 88.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for flightline_ai-0.1.5.tar.gz
Algorithm Hash digest
SHA256 ec74e4b49d31e7245b9357b52c8c24961beeb51f5b33687f4296939c06025c1d
MD5 b19d3a829e75f6a1a6a40fc1c46054b2
BLAKE2b-256 bc6dd9ad1db72cf50d0fde87c5357dea6e2899de3777d600725cfd9ed329bf76

See more details on using hashes here.

Provenance

The following attestation bundles were made for flightline_ai-0.1.5.tar.gz:

Publisher: cli.yml on flightlinehq/mono

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file flightline_ai-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: flightline_ai-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 46.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for flightline_ai-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0ca626862da369f224eac03d8f8ebfdc2945a1536a402e82dcc785120b711a05
MD5 780e78eadc26a760b71db2f1a584a7c6
BLAKE2b-256 96b303d54871e411e2d582492d60f9f00289eb633e7d6b5592f1f3e1fc749210

See more details on using hashes here.

Provenance

The following attestation bundles were made for flightline_ai-0.1.5-py3-none-any.whl:

Publisher: cli.yml on flightlinehq/mono

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page