Skip to main content

A package that provides ready-made objects of fake-data.

Project description

fakers


This generates pre-built container objects filled with fabricated data.

What goal this library achieved.


The Faker library primarily offers fake data on an individual basis, so if you need fake data structured in groups of fields, it typically requires additional time and effort. This library saves you that extra time by providing pre-structured fake data groups.

Usage example


Currently, there are two modules available for use: Retail and Person. The Retail module includes entities such as user, product, order, and sale. The Person module provides fake personal and address data.

from fakers.providers.retail import Retail
import pandas as pd

user = Retail.fake_user()
users = Retail.fake_users(5)

df = users.to_pandas()

Modules to use


Module Function Description
fakers.providers.person Retail.fake_persons This retrieves details for either a single individual or multiple individuals.
fakers.providers.person Retail.fake_addresses This retrieves a fake address for an individual or multiple fake addresses.
fakers.providers.retail Retail.fake_user This retrieves a single user or multiple users.
fakers.providers.retail Retail.fake_products This retrieves one or more fake products.
fakers.providers.retail Retail.fake_orders This retrieves one or more fake orders.
fakers.providers.retail Retail.fake_sales This retrieves one or more fake sales.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

fakers-0.4.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file fakers-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: fakers-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for fakers-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b22c5c2ab141eed63a6c749ce110779f1d53ab9e8a75b46a51efabdde7280d27
MD5 78190117fb1b7e7ddc923f7ddd8d1b10
BLAKE2b-256 c07fdca2b887ca8a56392cafab60f07e6d474ec3907ab5a1a6c1563d3cbaba0d

See more details on using hashes here.

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