Catalog PyPI
PACKAGE EXPLORERView in registry

a3faker

PyPI

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

Versions collected1
Direct dependencies0From release 0.1.0
Last observed20 Oct, 16:39 UTC

README

Version 0.1.0 documentation

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()

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.09 Mar 20230

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 16:39 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:d857f54ecf6bf3c811636d88f77b3e254b684c017b21a119ffde48725ca1611d