faker
Package — TestingPython 3.8+Beginner
Generate fake data (names, addresses, emails) for testing
Quick Info
- Documentation
- Official Docs
- Python Version
- 3.8+
- Dependencies
- python-dateutil, typing-extensions
- Install
pip install faker
Learn by Difficulty
Quick Example
python
# Install: pip install faker import faker # Basic faker usage print(f"Using faker") # See documentation for detailed examples
faker is a third-party package. Generate fake data (names, addresses, emails) for testing. Install with: pip install faker
Try in PlaygroundTags
packagetestingfake-datafixturegeneration
Related Items
factory_boy
Package — Testing
Test fixtures: create complex object hierarchies
mimesis
Package — Testing
High-performance fake data generator for 30+ locales
hypothesis
Package — Testing
Property-based testing: auto-generates edge-case test inputs
random
Stdlib — Math
Pseudo-random number generation, shuffling, and sampling