Skip to main content

RandomUsers

License: MIT Supported Python versions PyPi Package Version
example workflow
A simple tool helps you generate fake users.

Installation

$ pip install RandomUsers

Examples

Basic

import RandomUsers as ru
# Create username object
username = ru.Username()
# Create password object
password = ru.Password()
# Create email object
email = ru.Email()
# Create user model object
user_model = ru.BasicModel(username=username, password=password, email=email)
user = user_model.generate()
print(user)

With more fields

import RandomUsers as ru
name = ru.Name()
username = ru.Username()
password = ru.Password(length_range=range(20,25))
birth = ru.Birth(birth_year_range=range(2000, 2011))
phone_number = ru.PhoneNumber()
user_model = ru.BasicModel(name=name, username=username, password=password, birth=birth, phone_number=phone_number)
user = user_model.generate()
print(user)

Metadata

Release files for RandomUsers 1.3

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

Source distribution (sdist)

Source distribution for RandomUsers 1.3
File Size Uploaded Provenance Actions
RandomUsers-1.3.tar.gz 6.8 kB Without provenance Details for RandomUsers-1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for RandomUsers 1.3
File Interpreter ABI Platform Actions
RandomUsers-1.3-py3-none-any.whl Python 3 none any Details for RandomUsers-1.3-py3-none-any.whl

Total release size: 15.4 kB

Release files / RandomUsers-1.3.tar.gz

Download URL RandomUsers-1.3.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
dff1235e493fa59adac73c1f850f8fafb3d02f2cc17722a33dac1fabfa780594
BLAKE2b-256 checksum
How to use checksums
44e342d87d6091978a4d78c4f5b96d75becce9684c1eff2808b5ad18da878c9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

Release files / RandomUsers-1.3-py3-none-any.whl

Download URL RandomUsers-1.3-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ddc9ba4dc72ae71e6919751fd2b8862b490e31a2848b7f0886a14ed1195f59b
BLAKE2b-256 checksum
How to use checksums
d240003570e24c7292d68595c4938a9d5f3443f458e038819af09b480327abc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

Security for RandomUsers 1.3

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.

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