Data Bench Provider for the Faker Python package.
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file data-bench-faker-0.5.0.tar.gz
.
File metadata
- Download URL: data-bench-faker-0.5.0.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 643225492c2ec740593956daae63ddaabb0cbd28883daab750a731ff4c161ad7 |
|
MD5 | 7e32ba5c865a714baf67ad6761407a61 |
|
BLAKE2b-256 | a6b111839d46c0ae124cbf5f2fb63bed06bbdc2ffa96e3b1925dc5114abee4fa |
File details
Details for the file data_bench_faker-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: data_bench_faker-0.5.0-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bfac03f42069b1108cda3739455bfad8420bd91c31ba85b8857025bbc93b670 |
|
MD5 | 66c3e4bfc2e6e2f94e6622421b28849c |
|
BLAKE2b-256 | 086865566be4914f73d10a503a92fb87b73232ef7ebfb886c7c1e34ef8d17974 |