Skip to main content

Data Bench Provider for the Faker Python package.

Project description

Latest version released on PyPi Apache license version 2.0 Python Versions

data_bench_faker is a provider for the Faker Python package which creates stable, scalable data for the Data Bench benchmark.

Install

Install with pip:

$ pip install data-bench-faker

Or install with setup.py:

$ git clone https://github.com/erikoshaughnessy/data-bench-faker.git
$ cd data-bench-faker && python3 setup.py install

Uninstall with pip:

$ pip uninstall data-bench-faker

Usage

Add the DataProvider to your Faker instance:

from faker import Faker
from data_bench_faker import DataProvider

fake = Faker()
fake.add_provider(DataProvider)

customer = fake.customer()
account = fake.customer_account(customer)
company = fake.Company() # note fake.company() creates a company name.

View the methods defined by DataProvider:

$ pydoc3 data_bench_faker.DataProvider

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
data_bench_faker-0.5.0-py3-none-any.whl (10.7 kB) Copy SHA256 hash SHA256 Wheel py3 Feb 7, 2018
data-bench-faker-0.5.0.tar.gz (6.8 kB) Copy SHA256 hash SHA256 Source None Feb 7, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page