This is a python-package meant to create automatic captcha
Project description
captchaSaz (generator)
this is a captcha generator made with pillow it has three function in current version: 1. Random Text Creator: randomText() 2. Generate Image Captcha: generate() 3. checks the entered Captcha: check()
from captchaSaz import *
captcha_image, captcha_text = generate()
captcha_image.show()
client_ = input('Enter captcha: ')
if check(client_, captcha_text) :
print('Loged in!')
else :
print('Your are a damn robot')
print(text)
print('I KNEW YOU WERE A ROBOT!')
Instalation
-
pip install captchaSazis available now!from captchaSaz import *generate()
-
git clone https://github.com/UndrDsk0M/captcha_generatorpip install -r requirments.txtpython3 captcha_generator.pyor use it asfrom capcha_generator import *
-
Update:
- now available in pypi packeges!
- path issue fixed
- Got inline documents!
- check function added!
- rewriting with typing rules
- adding an option to add lines in Image Captcha
- entering the text
demo:
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
captchasaz-2.0.4.tar.gz
(680.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
captchasaz-2.0.4-py3-none-any.whl
(679.7 kB
view details)
File details
Details for the file captchasaz-2.0.4.tar.gz.
File metadata
- Download URL: captchasaz-2.0.4.tar.gz
- Upload date:
- Size: 680.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7f16d17f651066cf1196eb9b99b4f71903f1993eb44b833d5b31ec24ca6aefe
|
|
| MD5 |
292db599b67a8024462490b5167752f6
|
|
| BLAKE2b-256 |
5e6d66ba1ae0dcc5ed3bb5272a768f8f766ba6e7719a5f9feca49e9a62259826
|
File details
Details for the file captchasaz-2.0.4-py3-none-any.whl.
File metadata
- Download URL: captchasaz-2.0.4-py3-none-any.whl
- Upload date:
- Size: 679.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1aead7d32d9decfce19cd2aa73b82815a6078fab226e56bd9181d36d7c0b8092
|
|
| MD5 |
5ea2aab353c9a5721d5fa75fb59f8ab0
|
|
| BLAKE2b-256 |
b527869d6085f56bc96ddfaf0ce63b1a1ebba476c1770bfd0f1e57f15fb2c852
|