Git Product home page Git Product logo

accountgeneratorhelper's Introduction

AccountGeneratorHelper

Library to facilitate accounts generation.

Unofficial API for temp email services.

Receive SMS from free services.

Parsing and testing proxies.

Free solving regular text captcha.

Generate fake person.

Generate passwords and etc.

Contents

Supported services

Services for temporary mail

Services for receiving SMS

Services for fake data

Services for proxy list

Services for solving captcha

Getting started

This library tested with Python 3.6+ 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 : [email protected]


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='[email protected]')
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='[email protected]', 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 : [email protected]


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='[email protected]')
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='[email protected]', subject='Test letter')
def test_handler(letter):
    print('Test handler :', letter)


mail.poling()
# GmailNator
from account_generator_helper import GmailNator


mail = GmailNator()
print('Mail :', mail.set_email('[email protected]'))  # Mail : [email protected]


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='[email protected]')
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='[email protected]', subject='Test letter')
def test_handler(letter):
    print('Test handler :', letter)


mail.poling()
# TempMailLol
from account_generator_helper import TempMailLol


mail = TempMailLol()
print('Mail :', mail.get_email())  # Mail : [email protected]


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='[email protected]')
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='[email protected]', subject='Test letter')
def test_handler(letter):
    print('Test handler :', letter)


mail.poling()
# Temp Mail
from account_generator_helper import TempMail


mail = TempMail()
print('Mail :', mail.get_email())  # Mail : [email protected]


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='[email protected]')
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='[email protected]', subject='Test letter')
def test_handler(letter):
    print('Test handler :', letter)


mail.poling()

Receive SMS

# Receive Sms Free
from account_generator_helper import ReceiveSms, Counties


phone = ReceiveSms()

country = phone.get_country(Counties.POLAND)
phone = country.get_number()
print('Phone number :', phone.number)  # Phone number : 380665327743

for message in phone.get_last_messages():
    print(message)  # (Message ...)

Generate data

# Generate fake person
from account_generator_helper import generate_person, generate_persons


print(generate_person())  # Person(gender='female', nam...)
print(generate_persons(10))  # [Person(gender='female', nam...), Person(gender='female', nam...), ...]
# 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

Proxy parser

# Proxy parsing
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().strfproxy())  # http://203.32.121.187:80

Captcha solving

# Solving regular text captcha
from account_generator_helper import CaptchaSolver

# Get api key from https://optiic.dev/
captcha_solver = CaptchaSolver('11r6wjas2zTHLTgdWvEjaap1xq7m7111ufUNFas1fwCS')

print('Captcha 1 result :', captcha_solver.solve(open('images/captcha_1.png', 'rb')))  # 97823C

print('Captcha 2 result :', captcha_solver.solve(open('images/captcha_2.png', 'rb')))  # 8CCPXP

print('Captcha 3 result :', captcha_solver.solve(open('images/captcha_3.png', 'rb')))  # NRGFHG

Coming soon

  • reCAPTCHA solver
  • hCaptcha solver
  • FunCaptcha solver
  • Better text captcha solver
  • Add more emails and receiving SMS services
  • Better fake person generator, with more data (credit card, bio, photo etc)
  • Simple account generator (Steam, Outlook etc)

Say thank you me

USDT (ERC20) : 0xB8314551f0633aee73f93Ff4389629B367e59189

USDT (TRC20) : TYJmX4R22NmSMBu7HWbwuwRr7TW9jN5az9

BTC : bc1q3jgp25rc8qtzx0fwd9ltpy45yv05hphu7pvwla

ETH : 0xB8314551f0633aee73f93Ff4389629B367e59189

BNB (Smart Chain) : 0xB8314551f0633aee73f93Ff4389629B367e59189

accountgeneratorhelper's People

Contributors

dionis1902 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

accountgeneratorhelper's Issues

TypeError: 'type' object is not subscriptable

Describe the bug
All mail-generator returns TypeError: 'type' object is not subscriptable

To Reproduce
Steps to reproduce the behavior:

  1. pip install account-generator-helper
  2. Copy the example: https://github.com/DioniS1902/AccountGeneratorHelper/blob/main/examples/temp_mail/gmailnator.py
  3. Insert it into the IDE and run
  4. Get the Traceback

Expected behavior
Normal, expected by comments, script operation

Screenshots
image

Desktop (please complete the following information):

  • OS: win7, 7601 SP1
  • Python ver 3.8.9
  • VS code: v. 1.64.4 | Electron: 13.5.2 | Chromium: 91.0.4472.164 | Node.js: 14.16.0| V8: 9.1.269.39-electron.0 | ОС: Windows_NT ia32 6.1.7601
  • Powershell 2009

Is there no way to generate a random gmail from gmailnator?

I am writing to request a feature or documentation on how to generate random emails with Gmailnator. As a user of this package, I find it useful to generate random emails for various purposes, such as creating accounts on websites or testing email-related features in my code.

However, I noticed that Gmailnator currently does not provide a built-in method to generate random emails. The only way to set an email address is to use the gmailnator website, which has a certain pattern (e.g. [email protected])

I would like to request a feature that allows users to generate random email addresses using Gmailnator. Ideally, this feature should make a valid Gmailnator gmail, since randomization does not seems to work.

Alternatively, if there is already a way to generate random emails with Gmailnator, I would appreciate if this feature could be documented in the package's documentation or README file, so that users can easily find and use it.

Thank you for your attention and for maintaining this useful package, really appreciate it, let me know if I was somehow rude by that.

Too Many Errors

This repository has too many errors, on gmailnator too much errors, other mail services have errors too please fix as soon as possible.

Temp Mail Error

File "C:\Users\Ninja Ride\AppData\Local\Programs\Python\Python310\lib\site-packages\account_generator_helper\temp_mail\gmailnator_init_.py", line 46, in get_email_online
headers={**headers, 'x-xsrf-token': self._get_xsrf_token()}, data=payload)
File "C:\Users\Ninja Ride\AppData\Local\Programs\Python\Python310\lib\site-packages\account_generator_helper\temp_mail\gmailnator_init
.py", line 29, in __get_xsrf_token
return unquote(self.__s.cookies.get('XSRF-TOKEN'))
File "C:\Users\Ninja Ride\AppData\Local\Programs\Python\Python310\lib\urllib\parse.py", line 655, in unquote
if '%' not in string:
TypeError: argument of type 'NoneType' is not iterable

yesterday was working so prob they changed something

Just wanted to say thx 😊

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Temp Mail Error

File "/Users/jodiekurnia/Desktop/helper-py/env/lib/python3.9/site-packages/account_generator_helper/temp_mail/tempmailplus/letter.py", line 15, in letter
    r = self._s.get(f'https://tempmail.plus/api/mails/{self._letter_id}?email={self._email}')
AttributeError: 'NoneType' object has no attribute 'get'

I try to print out _letter._letter_id and _letter.subject, it shows:

Subject: Activate your email
787163246

is something wrong?

dont work follow al steps

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Image to text solver

Could this be used to solve the captcha on the registration page of chess.com

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.