Skip to main content

Test data generation utilities using Faker library for Python test automation projects

Project description

Test Data Generator (Python Faker)

Python implementation of test data generation utilities using the Faker library. Designed for test automation projects to generate realistic, reproducible test data.

Features

  • Person Data: Names, emails, phones, addresses
  • Company Data: Names, industries, catch phrases
  • Finance Data: Credit cards, IBANs, currencies
  • Internet Data: URLs, IP addresses, passwords
  • Reproducibility: Support for seeds to generate consistent data
  • Localization: Support for multiple locales (e.g., en-US, es-MX, ru-RU)
  • Type Safety: Uses Pydantic models for structured data

Installation

pip install test-datagenerator-faker-python

Quick Start

from datagenerator import PersonDataGenerator

# Create generator
person_gen = PersonDataGenerator()

# Generate data
person = person_gen.generate_person()
print(f"Name: {person.first_name} {person.last_name}")
print(f"Email: {person.email}")

Structure

  • datagenerator.core: Core functionality and factory
  • datagenerator.generators: Specific data generators (Person, Company, etc.)
  • datagenerator.models: Pydantic data models

See USAGE.md for detailed documentation.

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

test_datagenerator_faker_python-1.0.0.tar.gz (11.0 kB view details)

Uploaded Source

File details

Details for the file test_datagenerator_faker_python-1.0.0.tar.gz.

File metadata

File hashes

Hashes for test_datagenerator_faker_python-1.0.0.tar.gz
Algorithm Hash digest
SHA256 23d0a9b9a0f5bd271b3bfb08b7a15f7e5d22803cea767ccd5754cb27880187ba
MD5 ae3414bbadebdde32d1faabf73a6ec0a
BLAKE2b-256 217d6117c19ee30e94f76ecc21d70f0521ca9ad581aaa216fd54d8cbce46fcc1

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