Skip to main content

A small genie to generate test data

Project description

CircleCI branch PyPI version Documentation Status Quality Gate Status

Data Genie

Genie that can satisfy your data wish.

  • Supports generation of fixedwidth, csv and json content
  • Allows data quality checks to be first class

Install

python3 -m pip install data-genie

Run tests

  • All tests (docker-compose run --rm test)

  • Single test in a file(docker-compose run --rm test bash -c "python setup.py develop && pytest tests/test_fw.py -k 'test_float'")

  • docker inspect --format='{{.Id}} {{.Parent}}' $(docker images --filter since=<image_id> --quiet) to check dependent child images

  • Detailed Documentation

Sonar Scan

Gitignored .env file contains the SONAR_CLOUD_TOKEN variable (locally)

  • docker-compose run --rm test ./scan

Release

increment version in init.py

  • ./tag-master
  • git push origin master

Unblock the step in circleci

If you have updated the documentation, login to readthedocs and build latest

Circle CI

Builds happen on circle ci with github integration

Following environment variables need to be set on circle

  • SONAR_CLOUD_TOKEN
  • PYPI_API_TOKEN (Pypi project token to allow publishing)

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

data-genie-1.1.8.tar.gz (9.8 kB view hashes)

Uploaded Source

Built Distribution

data_genie-1.1.8-py3-none-any.whl (220.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page