libfake
First name , Surname and Email Fake Mode in Python with Library Fake.
Install
pip install libfake
in mac or linux use pip3 : pip3 install libfake
Usage
from libfake import FakeName
fake = FakeName()
First Name and Surname
# Random First name
first_name = fake.get_firstname()
# Random Surname
surname = fake.get_surname()
First name , Surname and Email
first_name = fake.get_firstname()
surname = fake.get_surname()
# Generate email From first name and surname.
email = fake.generate_email(first_name, surname)
Random Full Name
full_name = fake.get_full_name()
Random Email
random_email = fake.generate_email()
Email for a Specific Name
specific_email = fake.generate_email("Alice", "Wonderland")
Custom Provider
provider_custom = "example.com"
# Create a new, custom-configured instance (resets the singleton)
custom_fake = fake.get_details(first_name="Alice", surname="Smith", provider=provider_custom)
# return dict details , if need just email:
custom_email = custom_fake.get('email')
Programmer
Programmer and Owner By : Pymmdrza
Metadata
Release files for libfake 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| libfake-1.0.3.tar.gz | 18.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| libfake-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.6 kB
Release files / libfake-1.0.3.tar.gz
| Download URL | libfake-1.0.3.tar.gz |
|---|---|
| Size | 18.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
74b5b78a7ffcbc215ad6a5803a66c43957edc46509dab1bcb68fd89437d6f809
|
|
BLAKE2b-256 checksum How to use checksums |
73b0bf13085cbc1a6196bcc501ffaa28e56191f7b9607d795a3846ebdeeac3e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.18
|
Release files / libfake-1.0.3-py3-none-any.whl
| Download URL | libfake-1.0.3-py3-none-any.whl |
|---|---|
| Size | 18.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d5669032ea408f2d77607bd498cd43982fbaa3e18aab6a7e805f8e246865d017
|
|
BLAKE2b-256 checksum How to use checksums |
1e1b37bc36ec1085ce2ea38d8962f4e1bb4612f096157eb71fda8f112bc4d002
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.18
|