Skip to content

jack775544/dbGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dbGen

A random data generator made for relational databases

Installation

  • Install Python 3.5 for your platform
  • Clone the repository
  • Done!

There are no dependencies in this project.

This has been tested mainly on Python 3.5 for Ubuntu.

On Windows this will work in Python 3.5 for generating small datasets, however will throw an error on larger ones for unknown reasons.

Usage

Run the following command

python main.py > out.sql

Example

main.py contains a fully worked example of how to create a new dataset using the built in and custom datatypes, as well as a an example of using prior generated values.

dbGen will create a set of CREATE TABLE, ADD CONSTRAINT and INSERT INTO statements that fit to the schema that you provide.

About

A database random data generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages