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
Release files for data-bench-faker 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| data-bench-faker-0.5.0.tar.gz | 6.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| data_bench_faker-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.5 kB
Release files / data-bench-faker-0.5.0.tar.gz
| Download URL | data-bench-faker-0.5.0.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
643225492c2ec740593956daae63ddaabb0cbd28883daab750a731ff4c161ad7
|
|
BLAKE2b-256 checksum How to use checksums |
a6b111839d46c0ae124cbf5f2fb63bed06bbdc2ffa96e3b1925dc5114abee4fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / data_bench_faker-0.5.0-py3-none-any.whl
| Download URL | data_bench_faker-0.5.0-py3-none-any.whl |
|---|---|
| Size | 10.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3bfac03f42069b1108cda3739455bfad8420bd91c31ba85b8857025bbc93b670
|
|
BLAKE2b-256 checksum How to use checksums |
086865566be4914f73d10a503a92fb87b73232ef7ebfb886c7c1e34ef8d17974
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |