Omkar Account Generator
Omkar Account Generator provides a convenient solution for creating accounts. It is particularly useful for automated tasks that require account creation in selenium.
Getting Started
To get started with Omkar Account Generator install omkar-account-generator using the following command:
python -m pip install omkar-account-generator
Usage
generate_account(gender, country)
Generates an account
Arguments
gender (optional): The gender of the user account to generate. Value can be Gender.MEN, Gender.WOMEN, Gender.BOTH. Default’s to Gender.BOTH
country (optional): The country of the user account to generate. It accepts a value from the Country enum. The default value is None, which means the country can be any country.
Example
from omkar_account_generator import AccountGenerator, Gender, Country
account = AccountGenerator.generate_account(gender = Gender.WOMEN, country=Country.IN)
print(account)
Output
{
"name": "Vibha Almeida",
"username": "vibhaalmeida",
"email": "vibha.almeida@gmail.com",
"password": "letter16",
"profile_picture": "https://randomuser.me/api/portraits/women/81.jpg",
"phone": "9217029568",
"address": "7492, Ratha Bheedi, Thanjavur, Tripura, India",
"gender": "female",
"country": "IN",
"dob": {
"date": "1992-07-29T22:51:53.073Z",
"age": 30
}
}
generate_accounts(n, gender, country)
Generates multiple user accounts.
Arguments
n: The number of user accounts to generate.
gender (optional): The gender of the user account to generate. Value can be Gender.MEN, Gender.WOMEN, Gender.BOTH. Default’s to Gender.BOTH
country (optional): The country of the user account to generate. It accepts a value from the Country enum. The default value is None, which means the country can be any country.
Example
from omkar_account_generator import AccountGenerator, Gender, Country
accounts = AccountGenerator.generate_accounts(3, gender = Gender.WOMEN, country=Country.IN)
print(accounts)
Output
[
{
"name": "Sahana Nayak",
"username": "sahananayak",
"email": "sahana.nayak@gmail.com",
"password": "vietnam6",
"profile_picture": "https://randomuser.me/api/portraits/women/35.jpg",
"phone": "8679648937",
"address": "424, Naiduthota, Khammam, Uttar Pradesh, India",
"gender": "female",
"country": "IN",
"dob": {
"date": "1997-10-03T07:38:31.090Z",
"age": 25
}
},
{
"name": "Madhura Shroff",
"username": "madhurashroff",
"email": "madhura.shroff@gmail.com",
"password": "bettina1",
"profile_picture": "https://randomuser.me/api/portraits/women/87.jpg",
"phone": "8738692847",
"address": "5106, Maharanipeta, Mehsana, Maharashtra, India",
"gender": "female",
"country": "IN",
"dob": {
"date": "1989-08-15T05:10:47.967Z",
"age": 33
}
},
{
"name": "Hetal Kavser",
"username": "hetalkavser",
"email": "hetal.kavser@gmail.com",
"password": "django27",
"profile_picture": "https://randomuser.me/api/portraits/women/94.jpg",
"phone": "8033453360",
"address": "5222, Colaba Causeway, Buxar, Daman and Diu, India",
"gender": "female",
"country": "IN",
"dob": {
"date": "1961-05-29T07:35:50.196Z",
"age": 62
}
}
]
If my code helped you in creating accounts, please take a moment to star the repository. Your act of starring will help developers in discovering our Repository and contribute towards helping fellow developers in their account creation tasks. Dhanyawad 🙏! Vande Mataram!
Metadata
Release files for omkar-account-generator 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| omkar_account_generator-1.1.1.tar.gz | 4.4 kB | Without provenance | Details for omkar_account_generator-1.1.1.tar.gz |
Release files / omkar_account_generator-1.1.1.tar.gz
| Download URL | omkar_account_generator-1.1.1.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7bb7f163b24656209ee8da64c23e6ad0dbbab732ba9c51a7e656def9cdd42b30
|
|
BLAKE2b-256 checksum How to use checksums |
d31fb2a3731cd583dc47c943054e024603fa9fdb042f83cb224febe98497c936
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for omkar-account-generator 1.1.1
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.