Skip to main content

A CLI tool to generate dummy data

Project description

## Welcome to MockMaster

A CLI tool to generate dummy data in various formats using GPT ,designed to meet diverse needs of software engineers . It can be used to bootstrap your database , serve dummy data to test out your frontend etc..

## Table of contents - [Features](#features) - [Basic Usage](#basic-usage) - [Authors](#authors) - [To-dos](#to-dos)

## Features - :books: Generate data in json or csv format ( more will be added) - :toolbox: Generate data for dynamic fields with no fixed vocabulary. - :mirror: Generate json that follows json schema data fromat. - :lock: Store output in specified path.

## What’s Unique and better - :smile: Usage of GPT for dummy data generation - :smiley: No pre built dictionary for fixed set of keys and values - :sweat_smile: Data generation follows json schema and generated datafrom gpt is validated to make ouput more reliable

## What’s not good - :roll_eyes: Json or csv generated with field inputs may have no linking for all fields ex- email generated will not match with first name or last name - :expressionless: only openAI GPT is supported for now - :roll_eyes: only json and csv is supported

## Basic Usage

### Step 1: Installation

#### Installing from source

` git clone https://github.com/deepukr007/mockmaster.git cd mockmaster `

### Step 2: ` pip install . `

### Step 3: Set or edit openAI API key and store it in .env file ` mockmaster init `

### Step 4:

Example 1: Json with fields ` mockmaster generate json name place age zip_code --limit 10 `

Example 2: Json with schema ` mockmaster generate json --schema --path <path_to_schema> `

Example 3: ` mockmaster generate csv name place age zip_code --limit 10 -o <output_path> `

### To-dos - Add support to other llms - Change stratergy to store API keys - Python SDK like faker

#### Authors - Deepu Krishnareddy - Harish Mohan

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

mockmaster-0.0.1.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

mockmaster-0.0.1-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file mockmaster-0.0.1.tar.gz.

File metadata

  • Download URL: mockmaster-0.0.1.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.14

File hashes

Hashes for mockmaster-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3f01abb39bc2c1ada083b3872dbb07c33a89abe5af0f5e0c9ee832992d127c43
MD5 00800978bfd32c7106f676ed6e94b131
BLAKE2b-256 4e42f7280534a2c41f08913bb8b36182313252a5e9e711baf513093020ebcdf4

See more details on using hashes here.

File details

Details for the file mockmaster-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: mockmaster-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.14

File hashes

Hashes for mockmaster-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 793aa6ca6a1b9d287f108fe37a8db352b209d8334719cb47b16ba06f1436d739
MD5 ed16ce1145410cdf5ff0decc7085ca71
BLAKE2b-256 cec988fe994f815eed698e043812c4177a1e8030f32fe1e453228d8d80404091

See more details on using hashes here.

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