This library is helpful when creating accounts, it has everything you need for this
Project description
AccountGeneratorHelper
Library to facilitate accounts generation.
Unofficial API for temp email services.
Receive SMS from free services.
Generate fake person.
Generate passwords and etc.
Supported services
Services for temporary mail
- ✅ Inbox Kitten
- ✅ TempMail +
- ✅ GmailNator (Temp gmail email)
Services for receiving SMS
Services for fake data
Services for proxy list
- ✅ PROXY-LIST
- ✅ SSL Proxy
- ✅ Socks Proxy
- ✅ Hidemy.name
Getting started
This library tested with Python 3.6-3.10 and Pypy 3. There are two ways to install the library:
- Installation using pip (a Python package manager):
$ pip install account-generator-helper
- Installation from source (requires git):
$ git clone https://github.com/DioniS1902/AccountGeneratorHelper.git
$ cd AccountGeneratorHelper
$ python setup.py install
or:
$ pip install git+https://github.com/DioniS1902/AccountGeneratorHelper.git
It is generally recommended using the first option.
While the library is production-ready, it is still under development, and it has regular updates, do not forget to update it regularly by calling
$ pip install account-generator-helper --upgrade
Usage
Temp email services
# Inbox Kitten
from account_generator_helper import InboxKitten
mail = InboxKitten()
print('Mail :', mail.set_email('test-mail')) # Mail : test-mail@inboxkitten.com
for _letter in mail.get_inbox():
print('Letter :', _letter) # Letter : <Letter ..>
print('Letter content :', _letter.letter) # Letter content : ...
@mail.letter_handler()
def new_mail(letter):
print('New mail :', letter)
@mail.letter_handler(from_email='den70007.ua@gmail.com')
def test_from(letter):
print('Test from :', letter)
@mail.letter_handler(re_subject='.* test .*')
def test_re_subject(letter):
print('Test re subject :', letter)
@mail.letter_handler(from_email='den70007.ua@gmail.com', subject='Test letter')
def test_handler(letter):
print('Test handler :', letter)
mail.poling()
# TempMail +
from account_generator_helper import TempMailPlus, TempMailPlusDomains
mail = TempMailPlus()
print('Mail :', mail.set_email('test-mail', TempMailPlusDomains.MAILTO_PLUS)) # Mail : test-mail@mailto.plus
for _letter in mail.get_inbox():
print('Letter :', _letter) # Letter : <Letter ...>
print('Letter content :', _letter.letter) # Letter content : ...
@mail.letter_handler()
def new_mail(letter):
print('New mail :', letter)
@mail.letter_handler(from_email='den70007.ua@gmail.com')
def test_from(letter):
print('Test from :', letter)
@mail.letter_handler(re_subject='.* test .*')
def test_re_subject(letter):
print('Test re subject :', letter)
@mail.letter_handler(from_email='den70007.ua@gmail.com', subject='Test letter')
def test_handler(letter):
print('Test handler :', letter)
mail.poling()
# GmailNator
from account_generator_helper import GmailNator, GmailNatorDomains
mail = GmailNator()
print('Mail :', mail.set_email('test-mail', GmailNatorDomains.GMAILNATOR_COM)) # Mail : test-mail@gmailnator.com
for _letter in mail.get_inbox():
print('Letter :', _letter) # Letter : <Letter ..>
print('Letter content :', _letter.letter) # Letter content : ...
@mail.letter_handler()
def new_mail(letter):
print('New mail :', letter)
@mail.letter_handler(from_email='den70007.ua@gmail.com')
def test_from(letter):
print('Test from :', letter)
@mail.letter_handler(re_subject='.* test .*')
def test_re_subject(letter):
print('Test re subject :', letter)
@mail.letter_handler(from_email='den70007.ua@gmail.com', subject='Test letter')
def test_handler(letter):
print('Test handler :', letter)
mail.poling()
Receive SMS
# Receive Sms Free
from account_generator_helper import ReceiveSms
from account_generator_helper.countries import Counties
phone = ReceiveSms()
country = phone.get_country(Counties.UKRAINE)
phone = country.get_number() # return random number from site
print('Phone number :', phone.number) # Phone number : 380...
for message in phone.get_last_messages():
print(message) # <Message ...>
Generate data
# Generate fake person
from account_generator_helper import Person
for _ in range(10):
print(Person()) # <Person ...>
# Utilities
from account_generator_helper import get_password
# Generate password
print(get_password()) # i)7\\yc4EsvTQJG'
print(get_password(numbers=False)) # a<}>?;xZr!Ne{^^H
print(get_password(special_symbols=False)) # vX12FgcJ7PYwA3tn
print(get_password(upper_case=False)) # ](}kh()|9~t(":4$
print(get_password(upper_case=False, numbers=False, special_symbols=False)) # mppimpgxchlznwmm
Proxies
from account_generator_helper import Proxies
proxies = Proxies()
proxies.parse_proxies()
print(proxies) # <Proxies proxies_count=11572>
print(proxies.pop()) # <Proxy proxy_type=HTTP address=203.23.106.209 port=80 country=Counties.CYPRUS>
print(proxies.pop().get()) # http://203.32.121.187:80
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for account_generator_helper-1.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddfd4bcb49ff884f3b76872446699c8fa7dc9626543102a4e369e07bb8cc8f63 |
|
MD5 | 09465de7fe191a37326913b191a6e5a0 |
|
BLAKE2b-256 | 23246cfb75a8cb749ba626a1851165a85c2d62d15dfb67a77a232ca959107a4a |
Close
Hashes for account_generator_helper-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc8b609a379e4cc76b341f1a656c38c2a3e91fd0c1d5b5bde53effe493163900 |
|
MD5 | 8091fb962274d7000bfe5fa2284c8ab1 |
|
BLAKE2b-256 | b5e4e50892c1d66212aecf4ac7ba7ee368523b3c97343921b25eab2c97cd2b95 |