Skip to main content

Build status of the master branch MIT License Code style: Black

faker_enum is a provider for the Faker Python package.

Summary

Faker enum provides the ability to generate enum values based on an enum type.

Usage

from enum import Enum

from faker import Faker
from faker_enum import EnumProvider

fake = Faker()
fake.add_provider(EnumProvider)

class Color(Enum):
    RED = 1
    GREEN = 2
    BLUE = 3

fake.enum(Color)
# One of [Color.RED, Color.GREEN, Color.BLUE]

Release files for faker-enum 0.0.2

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

Source distribution (sdist)

Source distribution for faker-enum 0.0.2
File Size Uploaded
faker_enum-0.0.2.tar.gz 2.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for faker-enum 0.0.2
File Interpreter ABI Platform
faker_enum-0.0.2-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 5.7 kB

Release files / faker_enum-0.0.2.tar.gz

Download URL faker_enum-0.0.2.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
cf1cf25678fa5f0e675ff51b7c1b558bd480d554ed487783bbca664c5042e261
BLAKE2b-256 checksum
How to use checksums
80ea75195f82822e4b91a9b9c7f36fdce81f5c48d740423ceac51fdf955a1b1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.2

Release files / faker_enum-0.0.2-py2.py3-none-any.whl

Download URL faker_enum-0.0.2-py2.py3-none-any.whl
Size 3.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
1af0b79c1c84b4df17854abf491a571281a1f931aa024bb27f9d8bef290ff362
BLAKE2b-256 checksum
How to use checksums
14300e83180952fe22b4030e26060628fc21b0d87ca3bafad36374d224db097d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.2

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

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