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
- :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
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 mockmaster-0.0.2.tar.gz.
File metadata
- Download URL: mockmaster-0.0.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68584d9c464d8a0ac6e03f62df898d0f5b0a455b60b52038969a67c5241d5bc8
|
|
| MD5 |
0c331a8cd6ac418db063f0759f4e0b7e
|
|
| BLAKE2b-256 |
265eea01a99880dfb77d54dc2eceac7f65b40205d2475947f775f055bd3b9090
|
File details
Details for the file mockmaster-0.0.2-py3-none-any.whl.
File metadata
- Download URL: mockmaster-0.0.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9857f5a8909e2b247a5b9754cd79f089ebda64e89b0ab6fa358ebdae05df58bb
|
|
| MD5 |
f4002e4e84dacdf97082b77b0fd7d268
|
|
| BLAKE2b-256 |
d1a651f9efb24966800877459eea6515f1351651404559ed16b4d8628e1b52a3
|