Skip to main content

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

  • 📚 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.

What's Unique and better

  • 😄 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

What's not good

  • 🙄 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

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

Metadata

Release files for mockmaster 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mockmaster 0.0.2
File Size Uploaded Provenance Actions
mockmaster-0.0.2.tar.gz 6.3 kB Without provenance Details for mockmaster-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mockmaster 0.0.2
File Interpreter ABI Platform Actions
mockmaster-0.0.2-py3-none-any.whl Python 3 none any Details for mockmaster-0.0.2-py3-none-any.whl

Total release size: 13.6 kB

Release files / mockmaster-0.0.2.tar.gz

Download URL mockmaster-0.0.2.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
68584d9c464d8a0ac6e03f62df898d0f5b0a455b60b52038969a67c5241d5bc8
BLAKE2b-256 checksum
How to use checksums
265eea01a99880dfb77d54dc2eceac7f65b40205d2475947f775f055bd3b9090
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.14

Release files / mockmaster-0.0.2-py3-none-any.whl

Download URL mockmaster-0.0.2-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9857f5a8909e2b247a5b9754cd79f089ebda64e89b0ab6fa358ebdae05df58bb
BLAKE2b-256 checksum
How to use checksums
d1a651f9efb24966800877459eea6515f1351651404559ed16b4d8628e1b52a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.14

Security for mockmaster 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page