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..
- 📚 Generate data in json or csv format ( more will be added)
- 🧰 Generate data for dynamic fields with no fixed vocabulary.
- 🪞 Generate json that follows json schema data fromat.
- 🔒 Store output in specified path.
- 😄 Usage of GPT for dummy data generation
- 😃 No pre built dictionary for fixed set of keys and values
- 😅 Data generation follows json schema and generated datafrom gpt is validated to make ouput more reliable
- 🙄 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
- 😑 only openAI GPT is supported for now
- 🙄 only json and csv is supported
pip install mockmaster==0.0.2
git clone https://github.com/deepukr007/mockmaster.git
cd mockmaster
pip install .
Set or edit openAI API key and store it in .env file
mockmaster init
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>
- Add support to other llms
- Change stratergy to store API keys
- Python SDK like faker
- Deepu Krishnareddy
- Harish Mohan