Skip to main content

A tool capable to generate fake data with a given specification defined as a JSON DSL

Project description

# GGenerator [![Travis Build Status](https://travis-ci.com/Datenworks/ggenerator.svg?branch=master)](https://travis-ci.com/Datenworks/ggenerator)

## What is it?

GGenerator is a command line interface that generates randomic data for tests purposes. It aims to be a easy client for programmers, data scientists, data analysts and data engineers to create a huge amount of data with a variety of complex data using JSON specification and a few commands on terminal.

## Requirements

You need Python 3.7 or later and [pip](https://github.com/pypa/pip) to install and run ggenerator as a command line tool.

## How to install

A easy way to install ggenerator cli is to use [pip](https://github.com/pypa/pip):

`bash pip install ggenerator `

After that you just have to learn how to use it.

## How to use it

If you do have a specification file, you just follow the next steps:

`bash ggenerator generate --spec /file/path/example.json `

If you dont, [click here](https://github.com/datenworks/ggenerator/wiki) and learn how to create a specification.

### MAC OS X Users If you use MAC OS X, you need to setup two environment variables, for GGENERATOR be able to get your default language system `bash export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 ` ## How to build it

You want to use the develop version or something like that?

Here you will have instruction of how to build this command line interface and have it ready for use.

The first thing you have to do is clone this repository:

`bash git clone git@github.com:Datenworks/ggenerator.git `

Now, you will need to create a virtualenv and install all the requirements. If you have [pipenv](https://github.com/pypa/pipenv) installed:

`bash pipenv install --dev `

If you dont have pipenv, you can learn how to install it by going to pipenv repository: https://github.com/pypa/pipenv

After that you can make your updates and fixes, so when you’re ready execute:

` pipenv run python setup.py build pipenv run python setup.py install `

Done, now you have built a new ggenerator client on your OS.

## License

[MIT](LICENSE)

## Contribute

We dont have it organized yet, but as soon as possible you will be able to contribute.

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

ggenerator-0.3.tar.gz (31.6 kB view details)

Uploaded Source

Built Distribution

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

ggenerator-0.3-py3-none-any.whl (63.2 kB view details)

Uploaded Python 3

File details

Details for the file ggenerator-0.3.tar.gz.

File metadata

  • Download URL: ggenerator-0.3.tar.gz
  • Upload date:
  • Size: 31.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.1

File hashes

Hashes for ggenerator-0.3.tar.gz
Algorithm Hash digest
SHA256 0b34aad879a4dd1d4353ca24ea33ae1506e7a5590343068dab34afb708e7252a
MD5 1f101bf0737048ec624702df5258daf8
BLAKE2b-256 dc6137bd94f7710d60c2fa8b4506767dc9dd22dad1658a7bcefe6acca678ec09

See more details on using hashes here.

File details

Details for the file ggenerator-0.3-py3-none-any.whl.

File metadata

  • Download URL: ggenerator-0.3-py3-none-any.whl
  • Upload date:
  • Size: 63.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.1

File hashes

Hashes for ggenerator-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3701f3e3f3cb474da6fcdd74d15d24c5c6b436da938f969e93859fa157823f66
MD5 0cd73b1e99e1d8f0412a55403a1256d0
BLAKE2b-256 2f5ab36964bd158281697789f51ee311623b62211936948e7217f08bb5723eba

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