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 factorydatagenerator.generators: Specific data generators (Person, Company, etc.)datagenerator.models: Pydantic data models
See USAGE.md for detailed documentation.
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
File details
Details for the file test_datagenerator_faker_python-1.0.0.tar.gz.
File metadata
- Download URL: test_datagenerator_faker_python-1.0.0.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23d0a9b9a0f5bd271b3bfb08b7a15f7e5d22803cea767ccd5754cb27880187ba
|
|
| MD5 |
ae3414bbadebdde32d1faabf73a6ec0a
|
|
| BLAKE2b-256 |
217d6117c19ee30e94f76ecc21d70f0521ca9ad581aaa216fd54d8cbce46fcc1
|