# stympy/faker

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/stympy-faker).**

11,618 stars · 3,162 forks · Ruby · MIT

## Links

- GitHub: https://github.com/stympy/faker
- awesome-repositories: https://awesome-repositories.com/repository/stympy-faker.md

## Description

Faker is a synthetic data generation library used to create realistic but fake information, such as names, addresses, and phone numbers, for software testing and database population. It functions as a tool for producing synthetic test data to fill development databases with records that simulate production environments.

The library provides localized data generation, allowing synthetic information to be customized for specific geographic regions and language formats. It also includes a mechanism for unique value enforcement to prevent the repetition of generated data by tracking and rejecting duplicate entries.

To ensure repeatability and predictability in tests, the project utilizes deterministic data seeding via a pseudo-random number generator. This allows for the creation of consistent sequences of synthetic datasets across repeated runs.

## Tags

### Artificial Intelligence & ML

- [General Synthetic Data Generators](https://awesome-repositories.com/f/artificial-intelligence-ml/general-synthetic-data-generators.md) — Produces realistic but synthetic information such as names, addresses, and phone numbers for software testing. ([source](https://github.com/stympy/faker#readme))
- [Synthetic Data Generators](https://awesome-repositories.com/f/artificial-intelligence-ml/dataset-generation/synthetic-data-generators.md) — Creates realistic fake information to populate databases for software testing and demonstrations.

### Data & Databases

- [Database Seeding Tools](https://awesome-repositories.com/f/data-databases/database-seeding-tools.md) — Fills development databases with unique, realistic records to simulate production environments.
- [Uniqueness Enforcement](https://awesome-repositories.com/f/data-databases/data-management/unique-identifier-generators/uniqueness-enforcement.md) — Enforces unique value generation by tracking and rejecting duplicate synthetic entries. ([source](https://github.com/stympy/faker#readme))
- [Atomic Duplicate Prevention](https://awesome-repositories.com/f/data-databases/duplicate-detection-tools/atomic-duplicate-prevention.md) — Maintains a registry of emitted values to prevent repetitions when unique synthetic data is required.

### Programming Languages & Runtimes

- [Test Data Generators](https://awesome-repositories.com/f/programming-languages-runtimes/language-features-paradigms/language-features/core-conceptual-frameworks/programming-language-concepts/random-number-generation/random-number-generators/random-data-generators/test-data-generators.md) — Generates realistic fake data for identities, locations, and credentials to populate databases and demos. ([source](https://github.com/stympy/faker#readme))
- [Seeding Utilities](https://awesome-repositories.com/f/programming-languages-runtimes/language-features-paradigms/language-features/core-conceptual-frameworks/programming-language-concepts/random-number-generation/reproducible-randomizers/seeding-utilities.md) — Utilizes a seeded pseudo-random number generator to ensure the same sequence of fake data is produced across runs.
- [Deterministic](https://awesome-repositories.com/f/programming-languages-runtimes/language-features-paradigms/language-features/core-conceptual-frameworks/programming-language-concepts/random-number-generation/reproducible-randomizers/seeding-utilities/deterministic.md) — Provides deterministic seeding for the random number generator to ensure repeatable test datasets. ([source](https://github.com/stympy/faker#readme))

### Software Engineering & Architecture

- [Locale-Aware Data Generators](https://awesome-repositories.com/f/software-engineering-architecture/localization-systems/locale-data-retrievers/locale-aware-data-generators.md) — Produces synthetic information customized for specific geographic regions and local language formats.

### Development Tools & Productivity

- [Locale Mappings](https://awesome-repositories.com/f/development-tools-productivity/localization-support/locale-mappings.md) — Provides mappings that link generic data categories to region-specific word lists and formatting patterns.
- [Regional Data Localization](https://awesome-repositories.com/f/development-tools-productivity/regional-data-localization.md) — Allows customization of data formats and strings based on geographic regions to ensure regional realism. ([source](https://github.com/stympy/faker#readme))

### Part of an Awesome List

- [Testing](https://awesome-repositories.com/f/awesome-lists/devtools/testing.md) — Generates fake data.
