Faker
Faker is a Python package that generates fake data for you.
Install
faker on PyPI
pip
pip install fakeruv
uv add fakerpoetry
poetry add fakerPackage facts
| License | MIT License (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — tzdata |
| Maintenance | actively maintained — 20 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: faker-40.36.0-py3-none-any.whl
Keywords: faker, fixtures, data, test, mock, generator
About Faker
from the package's own PyPI description — quoted content, verbatim
Faker is a Python package that generates fake data for you. Whether you need to bootstrap your database, create good-looking XML documents, fill-in your persistence to stress test it, or anonymize data taken from a production service, Faker is for you.
Faker is heavily inspired by PHP Faker, Perl Faker, and by Ruby Faker_.
::
_|_|_|_| _|
_| _|_|_| _| _| _|_| _| _|_|
_|_|_| _| _| _|_| _|_|_|_| _|_|
_| _| _| _| _| _| _|
_| _|_|_| _| _| _|_|_| _|
|pypi| |build| |coverage| |license|
Compatibility
Starting from version 4.0.0, Faker dropped support for Python 2 and from version 5.0.0
only supports Python 3.8 and above. If you still need Python 2 compatibility, please install version 3.0.1 in the
meantime, and please consider updating your codebase to support Python 3 so you can enjoy the
latest features Faker has to offer. Please see the extended docs_ for more details, especially
if you are upgrading from version 2.0.4 and below as there might be breaking changes.
This package was also previously called fake-factory...
Read as markdown · JSON record · Source repository · Homepage · Docs
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Faker generates realistic fake data across many categories—names, addresses, emails, dates, and more—for database bootstrapping, testing, anonymization, and stress-testing applications.
Minimal friction: pure Python wheel with only tzdata as a runtime dependency. Active maintenance with a release 20 days ago signals strong ongoing support.
MIT License (permissive) places no restrictions on commercial or proprietary use, modification, or distribution—standard permissive terms.
Usage
pip install Faker
from faker import Faker
fake = Faker()
print(fake.name())
print(fake.address())
Requires Python 3.10 or above.
Verdict: Faker is a mature, actively maintained package (top_1000 tier on PyPI, zero known vulnerabilities) with low install friction and permissive licensing. It is well-suited for test data generation, database seeding, and anonymization tasks across Python 3.10+.
Needs verification
- Whether tzdata is a compiled/system dependency or pure Python (affects true portability).
- Performance characteristics when generating large volumes of data with use_weighting enabled.
- Community adoption metrics beyond maintenance status.
Similar packages
permissive · top 1,000 on PyPI
resolvelibpermissive · top 1,000 on PyPI
babelpermissive · top 1,000 on PyPI
sphinxcontrib-applehelppermissive · top 1,000 on PyPI
pytest-mockpermissive · top 1,000 on PyPI
opentelemetry-instrumentationpermissive · top 1,000 on PyPI
databricks-sdkpermissive · top 1,000 on PyPI
requests-mockpermissive · top 1,000 on PyPI
email-validatorpermissive · top 1,000 on PyPI
Authlibpermissive · top 1,000 on PyPI