Skip to main content

faker_pyspark is a PySpark provider for the Faker python package

Project description

PySpark provider for Faker

faker_pyspark is a provider for the Faker Python package.

Description

faker_pyspark provides PySpark based fake data for testing purposes. The definition of "fake" in this context really means "random," as the data may look real. However, I make no claims about accuracy, so do not use this as real data!

Installation

Install with pip:

pip install faker_pyspark

Add as a provider to your Faker instance:

from faker import Faker
from faker_pyspark import PySparkProvider
fake.add_provider(PySparkProvider)

If you already use faker, you probably know the conventional use is:

from faker import Faker
fake = Faker()

PySpark DataFrame and Schema (StructType)

>>> df = fake.pyspark_dataframe()

>>> schema = fake.pyspark_schema()

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

faker_pyspark-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

faker_pyspark-0.1.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file faker_pyspark-0.1.0.tar.gz.

File metadata

  • Download URL: faker_pyspark-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Darwin/22.5.0

File hashes

Hashes for faker_pyspark-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7592fa0470cb4635e2cbd3972087df35dfe2a41f227790156a615b57c4a31743
MD5 c99e55a102a6cc25aa48cf1ff391e434
BLAKE2b-256 d69488a0ef35bd1c11f718f02eac28a40388637c9d8cefd43b753d449639d8a6

See more details on using hashes here.

File details

Details for the file faker_pyspark-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: faker_pyspark-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Darwin/22.5.0

File hashes

Hashes for faker_pyspark-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4bb79a10918383c60aac42886be3eb9db54a95be1f47372eefba4c35478fc5a2
MD5 9f5d660ea27ceff83f9b524ef2645ad8
BLAKE2b-256 40071bc202b4f9531e8ec80ecb238cf892b8e786a70530ae4c96c38b0374d50e

See more details on using hashes here.

Supported by

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