• Stars
    star
    4,243
  • Rank 9,666 (Top 0.2 %)
  • Language
    Python
  • License
    MIT License
  • Created over 7 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

Mimesis

Mimesis: The Fake Data Generator

Test Coverage Package version Package version Supported Python versions


Documentation: https://mimesis.name/


Mimesis (/mɪˈmiːsɪs) 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 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.

Installation

To install mimesis, use pip:

~ pip install mimesis

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.

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:

from mimesis import Person
from mimesis.locales import Locale

person = 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 for more information.

More Repositories

1

awesomo

Cool open source projects. Choose your project and get involved in Open Source development now.
Go
9,188
star
2

expynent

A library that provides regular expression patterns. If you hate to write regular expressions, then expynent can help you.
Python
386
star
3

secrets.clj

A library designed to generate cryptographically strong random numbers suitable for managing data such as passwords, account authentication, security tokens, and related secrets.
Clojure
66
star
4

nebula

Small library for colored (ANSI) output in Erlang/Elixir/LFE. It's can be useful when you need to create user-friendly command-line applications.
Erlang
53
star
5

mimesis-factory

Mimesis integration with factory_boy
Python
52
star
6

macbook

A script for quickly setting up a development environment on the new Macbook.
Shell
47
star
7

rmanns

Remove annotations from the e-books downloaded from the pirate sites, such as www.it-ebooks.info, www.allitebooks.com and another ones.
Python
33
star
8

rkn-sosatb

Remove age verification system form PornHub for Russian users.
JavaScript
20
star
9

log4p

Log4j alternative for Python
Python
13
star
10

django-template

[WIP] A scaffold for all my Django projects.
Python
6
star
11

lk-geimfari.github.io

✍️ My personal blog, where I write my thoughts about software development etc.
CSS
5
star
12

spectet

Host availability monitoring utility that supports various protocols.
Go
3
star
13

mimety

Mimety is a tiny library for Elixir that help you handle mime types.
Elixir
2
star
14

tensorflow-censorship-categorization

2
star
15

parole

Simple and fast password manager based on gen_server and general balanced trees.
Erlang
1
star
16

hypeapp

Overhead shit that you don't need in your shitty project, but you have to use for hype.
1
star
17

gateway.tips

Gateway for crypto tip and donations.
Python
1
star
18

NFTISTA

NFT art generator which makes it easy to generate a combinations of unique images.
Python
1
star
19

healthy

Service for showing statuses of your services.
1
star
20

Factorial

Factorial brings the 2FA to the convenience of your CLI.
1
star
21

snippets

1
star
22

databank.clj

Simple in-memory database for Clojure.
Clojure
1
star