Skip to main content

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 1.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 1.1

On October 30, a new version of the FakesUsers library was released! What was added in version 1.1 ?

  1. New command
fake_email()
  1. Some bugs fixed

I hope you enjoy version 1.1 :) P.s: Version 1.2 will be amazing!

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

Дмитрий Денисов
Елизавета Яркова      
+70033297583
ул. Грибоедова 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

FakesUsers-2.0.tar.gz (5.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page