Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lk-geimfari/mimesis
Mimesis is a robust data generator for Python that can produce a wide range of fake data in multiple languages.
https://github.com/lk-geimfari/mimesis
data dataframe datascience dummy factory factory-boy fake fixtures generator json-generator mimesis mock pandas polars pytest-plugin python schema syntetic synthetic-data testing
Last synced: 6 days ago
JSON representation
Mimesis is a robust data generator for Python that can produce a wide range of fake data in multiple languages.
- Host: GitHub
- URL: https://github.com/lk-geimfari/mimesis
- Owner: lk-geimfari
- License: mit
- Created: 2016-09-09T21:41:22.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-01-07T11:00:06.000Z (12 days ago)
- Last Synced: 2025-01-12T04:10:02.904Z (7 days ago)
- Topics: data, dataframe, datascience, dummy, factory, factory-boy, fake, fixtures, generator, json-generator, mimesis, mock, pandas, polars, pytest-plugin, python, schema, syntetic, synthetic-data, testing
- Language: Python
- Homepage: https://mimesis.name
- Size: 22.9 MB
- Stars: 4,471
- Watchers: 61
- Forks: 338
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-privacy-engineering - Mimesis - Mimesis is a high-performance fake data generator for Python, which provides data for a variety of purposes in a variety of languages. (Awesome Privacy Engineering [![Awesome](https://awesome.re/badge.svg)](https://awesome.re) / Synthetic Data)
- awesome-starred - mimesis - Mimesis is a high-performance fake data generator for Python, which provides data for a variety of purposes in a variety of languages. (Python)
- awesome-starts - lk-geimfari/mimesis - Mimesis is a high-performance fake data generator for Python, which provides data for a variety of purposes in a variety of languages. (Python)
- awesome-sciml - lk-geimfari/mimesis: Mimesis is a high-performance fake data generator for Python, which provides data for a variety of purposes in a variety of languages.
- awesome-python-testing - mimesis - A Python library that helps you generate fake data. (Fake Data)
- best-of-python-dev - GitHub - 4% open · ⏱️ 25.05.2024): (Testing Tools)
- awesome-discoveries - Mimesis - a fast and easy to use Python library for generating dummy data for a variety of purposes _(`Python`)_ (Libraries)
- starred-awesome - mimesis - Mimesis is a fast and easy to use library for Python, which helps generate synthetic data for a variety of purposes in a variety of languages. (Python)
- awesome-starred - lk-geimfari/mimesis - Mimesis is a robust data generator for Python that can produce a wide range of fake data in multiple languages. (Python)
- awesome-starred - lk-geimfari/mimesis - Mimesis is a robust data generator for Python that can produce a wide range of fake data in multiple languages. (Python)
README
Mimesis: The Fake Data Generator---
**Documentation**: https://mimesis.name/
---
Mimesis ([/mɪˈmiːsɪs](https://mimesis.name/en/latest/about.html#what-does-name-mean)) is a robust data generator for
Python that can produce a wide range of fake data in various languages.The key features are:
- **Multilingual**: Supports 46 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.## Installation
> [!IMPORTANT]
> 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.To install mimesis, use pip:
```
~ pip install mimesis
```## Documentation
You can find the complete documentation on the [Read the Docs](https://mimesis.name/).
It is divided into several sections:
- [About Mimesis](https://mimesis.name/latest/about.html)
- [Quickstart](https://mimesis.name/latest/quickstart.html)
- [Locales](https://mimesis.name/latest/locales.html)
- [Data Providers](https://mimesis.name/latest/providers.html)
- [Structured Data Generation](https://mimesis.name/latest/schema.html)
- [Random and Seed](https://mimesis.name/latest/random_and_seed.html)
- [Integration with Pytest](https://mimesis.name/latest/pytest_plugin.html)
- [Integration with factory_boy](https://mimesis.name/latest/factory_plugin.html)
- [API Reference](https://mimesis.name/latest/api.html)
- [Changelog](https://mimesis.name/latest/index.html#changelog)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](https://mimesis.name/latest/api.html#person) provider can be imported to access personal information,
including name, surname, email, and other related fields:```python
from mimesis import Person
from mimesis.locales import Localeperson = Person(Locale.EN)
person.full_name()
# Output: 'Brande Sears'person.email(domains=['example.com'])
# Output: '[email protected]'person.email(domains=['mimesis.name'], unique=True)
# Output: '[email protected]'person.telephone(mask='1-4##-8##-5##3')
# Output: '1-436-896-5213'
```## License
Mimesis is licensed under the MIT License. See [LICENSE](https://github.com/lk-geimfari/mimesis/blob/master/LICENSE) for more information.