FakesUsers - Python library that regenerates random names, phone numbers and addresses. For now, only the Russian generation is available, but over time we will add other generations.
Project description
FakesUsers 2.1
FakesUsers - Python library that regenerates random names, phone numbers and addresses. For now, only the Russian generation is available, but over time we will add other generations.
Content
NEW FAKESUSERS 2.1
On October 30, a new version of the FakesUsers library was released! What was added in version 2.1 ?
- Fixed Bag
I hope you enjoy version 2.1 :)
Import
In order to import the library, you need to install it :) Enter the cmd command to install this library
pip install FakesUsers
After that, in your file with the .py extension, write . . .
from FakesUsers import Fu
fu = Fu()
Basic Concept
What commands are there in this library? This library has commands such as:
Displaying a random male name
fakename_male()
Displaying a random female name
fakename_female()
Displaying a random phone number
fake_number()
Displaying a random addres
fake_addres()
And displaying a random email
fake_email()
Example Code
Let's look at a simple code that will output a random man's and woman's name, phone number and address Code
from FakesUsers import Fu
fu = Fu()
print(fu.fakename_male())
print(fu.fakename_female())
print(fu.fake_number())
print(fu.fake_addres())
Result (Translation from Russian)
Dmitry Denisov
Elizaveta Yarkova
+70033297583
st. Griboyedova 90
Information on creator
filcher2011 == I've been a Python programmer for about 2 years now. He does small projects :) telegram-channel: https://t.me/filchercode
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file FakesUsers-2.1.tar.gz
.
File metadata
- Download URL: FakesUsers-2.1.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24bc123e68b57fba475253b7f861c4d6d422b0b1e5b2a82e59d468983ede282d |
|
MD5 | d15bb2042856a41d8d603312b8d80d3d |
|
BLAKE2b-256 | e6833973a9d13d5b0e02f85d96a8f0f2df8f702c941698cca3b28cf7d0d35eff |