lk-geimfari / mimesis

Mimesis is a powerful Python library that empowers developers to generate massive amounts of synthetic data efficiently.

Home Page:https://mimesis.name

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mimesis: The Fake Data Generator

image

Description

Github Actions Test

Documentation Status

PyPi Version

PyPI - Downloads

Mimesis (/mɪˈmiːsɪs) is a robust data generator for Python that can produce a wide range of fake data in various languages. This tool is useful for populating testing databases, creating fake API endpoints, filling pandas DataFrames, generating JSON and XML files with custom structures, and anonymizing production data, among other purposes.

Installation

To install mimesis, simply use pip:

To work with Mimesis on Python versions 3.8 and 3.9, the final compatible version is Mimesis 11.1.0. Install this specific version to ensure compatibility.

Features

  • Multilingual: Supports 35 different locales.
  • Extensibility: Supports custom data providers and custom field handlers.
  • Ease of use: Features a simple design and clear documentation for straightforward data generation.
  • Performance: Widely recognized as the fastest data generator among Python solutions.
  • Data variety: Includes various data providers designed for different use cases.
  • Schema-based generators: Offers schema-based data generators to effortlessly produce data of any complexity.
  • Intuitive: Great editor support. Fully-typed, thus autocompletion almost everywhere.

Documentation

You can find the complete documentation on the Read the Docs.

It is divided into several sections:

You can improve it by sending pull requests to this repository.

Usage

The library is exceptionally user-friendly, and it only requires you to import a Data Provider object that corresponds to the desired data type.

For instance, the Person provider can be imported to access personal information, including name, surname, email, and other related fields:

You can learn more about other providers and locales in our documentation.

How to Contribute

  1. Take a look at contributing guidelines.
  2. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug.
  3. Fork the repository on GitHub to start making your changes to the your_branch branch.
  4. Add yourself to the list of contributors.
  5. Send a pull request and bug the maintainer until it gets merged and published.

License

Mimesis is licensed under the MIT License. See LICENSE for more information.

About

Mimesis is a powerful Python library that empowers developers to generate massive amounts of synthetic data efficiently.

https://mimesis.name

License:MIT License


Languages

Language:Python 99.8%Language:Shell 0.1%Language:Makefile 0.1%