lk-geimfari

mimesis: Generate Realistic Fake Data in Python

Mimesis is a Python library for generating realistic fake data across languages and locales. Use it to populate test databases, create fixtures and sample datasets, or mock API responses with structured and relational data.

Stars
4.9k
Forks
369
Stars, last 30 days
+21
Last commit
26 days ago
Contributors
100+

Our take

Activerecent releases

Health score

49/100

How it is scored
Activity
51
Community
66
Issues
34
Pull requests
46

+21 stars in the last 30 days

  • More contributors than 78% of the projects we track
  • Slower to close issues than 90% of the projects we track

Mimesis is an actively maintained, MIT-licensed Python data-generation library with broad locale and schema support, though teams should account for its concentrated contributor base and slow issue-resolution history.

Good fit if

  • You need realistic synthetic values or relational fixtures in a Python project.
  • Multilingual data or schema-based generation is important to your tests or development workflow.
  • Your runtime can use Python 3.10 or later and the MIT license fits your project.

Look elsewhere if

  • Your application cannot depend on Python 3.10 or later.
  • You need a generator whose development is not heavily concentrated among a small number of contributors.
  • Your team requires issues to be resolved quickly, given the project's long median issue-close time.
All health signals
Last commit2026-09-29 (26 days ago)
Commits, last 90 days6
Releases, last 12 months6 (latest v22.2.0, 2026-09-23)
Contributors100+ (top contributor: 78% of commits)
Issues closed, last 90 days3 (typically closed in 189 days)
Pull requests merged, last 90 days2
Project age10 years

Checked on 2026-10-26 with the GitHub API.

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

4,869

Forks

372

Change since Nov 14, 2026: +1 stars·0 forks

Overview

Mimesis is a Python library for generating fake but realistic data in multiple languages and locales. It helps developers and data teams create representative data for development and testing without manually writing every value or relying on real personal information.

Its providers generate values such as names, addresses, dates, contact details, and financial data. Beyond individual fields, Mimesis can build structured and relational datasets, making it useful for test databases, mock responses, and sample data workflows.

Key Features

  • Generate varied data through providers for personal, contact, financial, and other fields.
  • Select from 47 locales for multilingual data generation.
  • Create structured data from schemas, including nested shapes.
  • Generate related datasets with foreign keys and nested schemas.
  • Extend generation with custom data providers and field handlers.
  • Use typed APIs with editor autocompletion support.
  • Integrate with factory_boy and generate JSON or XML fixtures.

Use Cases

  • Python developers can seed test databases with plausible records instead of hand-authored examples.
  • API developers can create varied mock responses and fixtures while building or testing endpoints.
  • QA teams can produce multilingual sample data for validating locale-sensitive behavior.
  • Data practitioners can create sample datasets for pandas, Polars, or other analysis workflows.
  • Teams preparing development data can generate synthetic records rather than expose production personal data.

What you need

Detected in the repository

  • Python >=3.10 (from pyproject.toml)
  • A test suite and automated checks on GitHub Actions

License in plain words

MITpermissive

  • Commercial use: yes
  • Modify and redistribute: yes
  • You must keep: the copyright and license notice
  • Share your changes: no

A summary, not legal advice: the LICENSE file is what applies.

Getting Started

Install with pip:

pip install mimesis

See the README and documentation for provider, locale, and schema examples.

Alternatives

  • faker: Faker also generates localized fake data for testing and fixtures, with a larger provider ecosystem and a CLI; Mimesis emphasizes structured, relational data.
ProjectLanguageLicenseStarsStatus
mimesisPythonMIT4.9kActive
fakerPythonMIT19.5kActive

Considerations

The project is active, with recent commits and releases, but contributor activity is concentrated: most contributions come from one person. Issue handling has been comparatively slow, so teams depending on timely support should evaluate that maintenance pattern. The stated runtime requirement is Python 3.10 or later. The repository is MIT-licensed.

Found this useful?

Share it with someone who would like mimesis.

Comparisons