Skip to main content

robotframework-mimesislibrary

A Robot Framework keyword library that wraps the Mimesis fake data generator, providing over 100 keywords to generate synthetic data directly in your test suites.

Installation

pip install robotframework-mimesislibrary

Quick Start

*** Settings ***
Library    MimesisLibrary

*** Test Cases ***
Generate Person Data
    ${name}=      Fake Full Name
    ${email}=     Fake Email
    ${phone}=     Fake Phone Number
    Log Many      ${name}    ${email}    ${phone}

Use Per-Keyword Locale
    ${arabic_name}=    Fake First Name    locale=AR
    ${french_city}=    Fake City          locale=FR
    ${turkish_name}=   Fake Full Name     locale=TR
    Log Many           ${arabic_name}     ${french_city}    ${turkish_name}

Generate Internet Data
    ${ip}=     Fake IPv4
    ${url}=    Fake URL
    ${mac}=    Fake MAC Address
    Log Many   ${ip}    ${url}    ${mac}

Generate Unique ID
    ${uuid}=    Fake UUID
    ${token}=   Fake Token Hex
    Log Many    ${uuid}    ${token}

Import Options

# Use default locale (English)
Library    MimesisLibrary

# Use a specific default locale
Library    MimesisLibrary    locale=TR

# Use with a fixed seed for reproducible data
Library    MimesisLibrary    locale=EN    seed=42

Keyword Categories

Category Example Keywords
Person Fake First Name, Fake Full Name, Fake Email, Fake Password
Address Fake City, Fake Country, Fake Street Name, Fake Zip Code
Internet Fake IPv4, Fake URL, Fake MAC Address, Fake User Agent
Code Fake EAN, Fake IMEI, Fake ISBN, Fake UUID
Cryptographic Fake UUID, Fake Token Hex, Fake MD5, Fake SHA256
Datetime Fake Date, Fake Time, Fake Datetime, Fake Timezone
Finance Fake Bank Account, Fake Currency Code, Fake Cryptocurrency
Payment Fake Credit Card Number, Fake CVV
Food Fake Dish, Fake Drink, Fake Fruit, Fake Vegetable
Text Fake Word, Fake Sentence, Fake Color, Fake Quote
Numeric Fake Integer, Fake Float
Hardware Fake CPU, Fake GPU, Fake RAM Size
Transport Fake Car, Fake VIN, Fake Airplane
Development Fake Programming Language, Fake OS, Fake License
Science Fake Chemical Element, Fake Measure Unit
Path Fake Root Path, Fake Project Dir

Supported Locales

Mimesis supports 30+ locales. Locale-dependent keywords (Person, Address, Food, Text, Finance, Datetime) accept a locale parameter:

${name}=    Fake First Name    locale=TR    # Turkish
${name}=    Fake First Name    locale=AR    # Arabic
${name}=    Fake First Name    locale=JA    # Japanese
${name}=    Fake First Name    locale=DE    # German
${name}=    Fake First Name    locale=FR    # French
${name}=    Fake First Name    locale=RU    # Russian

Locale-independent keywords (Fake UUID, Fake IPv4, Fake Integer, etc.) ignore the locale parameter.

Reproducible Data with Seeds

Library    MimesisLibrary    seed=42

*** Test Cases ***
Reproducible Test
    ${name}=    Fake First Name    # Always returns the same value

Documentation

Full keyword documentation is available online: 👉 https://robotframework-mimesislibrary.sinanerdinc.com/

You can also generate the full keyword reference HTML locally:

python -m robot.libdoc MimesisLibrary docs/index.html

Development Setup

git clone https://github.com/your-org/robotframework-mimesislibrary
cd robotframework-mimesislibrary
python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
pip install -e ".[dev]"

# Run tests
make test

# Generate docs
make docs

License

MIT License — see LICENSE for details.

Metadata

Release files for robotframework-mimesislibrary 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for robotframework-mimesislibrary 1.0.1
File Size Uploaded Provenance Actions
robotframework_mimesislibrary-1.0.1.tar.gz 87.3 kB Without provenance Details for robotframework_mimesislibrary-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for robotframework-mimesislibrary 1.0.1
File Interpreter ABI Platform Actions
robotframework_mimesislibrary-1.0.1-py3-none-any.whl Python 3 none any Details for robotframework_mimesislibrary-1.0.1-py3-none-any.whl

Total release size: 114.0 kB

Release files / robotframework_mimesislibrary-1.0.1.tar.gz

Download URL robotframework_mimesislibrary-1.0.1.tar.gz
Size 87.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5c6517bf6c623e86082c680433f9626764330d9d977011b18f6b2354b9f941d6
BLAKE2b-256 checksum
How to use checksums
1c1a9a074bc35cf6c1ebed9c8f106be6913bd88da16c0e3ef33024087ec25715
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / robotframework_mimesislibrary-1.0.1-py3-none-any.whl

Download URL robotframework_mimesislibrary-1.0.1-py3-none-any.whl
Size 26.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7500d4759362f3b57d01903ba9594c322af9563eee8a7ee2c5203723b1ae5108
BLAKE2b-256 checksum
How to use checksums
d03509a74adbdfcd413c0c9b819ff1288ac4d8731723cf145cb22d6249d31b1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for robotframework-mimesislibrary 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page