Skip to content

airline-management-system/datagen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Datagen

A command-line tool for generating and processing different types of entities with specified amounts.

⚙️ Setup

  1. Install uv:
curl -LsSf https://astral.sh/uv/install.sh | sh
  1. Run the project:
uv run main.py ARGUMENTS

🎯 Usage

See --help to discover entities:

uv run main.py --help

Run the tool with the following arguments:

uv run main.py generate -e <entity_type> -a <number>
# or
uv run main.py generate --entity <entity_type> --amount <number>

Use --dry-run to generate data without making HTTP requests:

uv run main.py generate -e <entity_type> -a <number> --dry-run

Run the standard generation scheme:

uv run main.py scheme

Use --dry-run to execute the scheme without making HTTP requests:

uv run main.py scheme --dry-run

🧪 Running Tests

Run the tests using pytest:

uv run pytest tests.py

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages