Metadata-Version: 2.1
Name: ggenerator
Version: 0.3
Summary: A tool capable to generate fake data with a given specification defined as a JSON DSL
Home-page: https://datenworks.com/
Author: Datenworks
Author-email: contato@datenworks.com
License: MIT
Project-URL: Source Code, https://github.com/Datenworks/ggenerator
Platform: UNKNOWN
Requires-Dist: python-dateutil (>=2.8.1)
Requires-Dist: pandas (>=1.0.1)
Requires-Dist: click (>=7.1.1)
Requires-Dist: tabulate (>=0.8.6)
Requires-Dist: requests (>=2.23.0)
Requires-Dist: gcsfs (>=0.6.0)
Requires-Dist: s3fs (>=0.4.0)
Requires-Dist: faker (>=4.0.1)
Requires-Dist: sqlalchemy (>=1.3.16)
Requires-Dist: mysql-connector-python (>=8.0.19)
Requires-Dist: alive-progress (>=1.5.1)
Requires-Dist: azure-storage-blob (>=12.3.0)
Requires-Dist: psycopg2-binary (>=2.8.5)
Provides-Extra: mysql
Requires-Dist: mysqlclient (>=1.4.6) ; extra == 'mysql'

# 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.

