Skip to main content

a3faker

  • It's just a thin wrapper of Faker, because PyCharm cannot autocomplete Faker related code.

Install

pip install a3faker

Examples

1. Autocomplete

from faker import Faker
from a3faker import TypePersonFaker, TypeAllFakers

# But there is a warning here,the solution is below.
f: TypePersonFaker = Faker()
f.name()

f: TypeAllFakers = Faker()
f.past_date()

2. FakerProxy get LOCALE from environment variable

import os
from a3faker import FakerProxy, TypePersonFaker

os.environ['FAKER_LOCALE'] = 'zh_CN'
f: TypePersonFaker = FakerProxy.get_faker()
f.name()

Metadata

Release files for a3faker 0.1.0

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

Source distribution (sdist)

Source distribution for a3faker 0.1.0
File Size Uploaded Provenance Actions
a3faker-0.1.0.tar.gz 7.0 kB Without provenance Details for a3faker-0.1.0.tar.gz

Release files / a3faker-0.1.0.tar.gz

Download URL a3faker-0.1.0.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e73fe4bbc166bce9704a5718997064f73424889b6426f0ee2a0014456f19114e
BLAKE2b-256 checksum
How to use checksums
90e08c87d6d2a28f582d5ba4bc0841ccc24b8bab8815bb02f3e50f08e109f2e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Security for a3faker 0.1.0

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

0.1.0 This release

1 release file 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