Skip to main content

This is a python-package meant to create automatic captcha

Project description

captcha 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()
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

  1. Pip install not available yet!
    • git clone https://github.com/UndrDsk0M/captcha_generator
    • pip install -r requirments.txt
    • python3 captcha_generator.py or use it as from capcha_generator import *

  • Update:

  • Got inline documents!
  • check function added!
  • rewriting with typing rules
  • adding an option to add lines in Image Captcha
  • entering the text

demo:

tmp7929o9wm tmpqcdr0em7 tmpe99ew9rc tmpgc958lbk

Project details


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.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

captchasaz-2.0.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file captchasaz-2.0.0.tar.gz.

File metadata

  • Download URL: captchasaz-2.0.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for captchasaz-2.0.0.tar.gz
Algorithm Hash digest
SHA256 5a815cc3aef35be157311833df37499de41cdd77e684aa2bd3f9df8d8bfcf475
MD5 d54b429030d355d1db26aa8596b28063
BLAKE2b-256 f81dddcc2dac1d83ed3ab9ed8a515bf26bb8332bbc4fe1efb319015282727c2a

See more details on using hashes here.

File details

Details for the file captchasaz-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: captchasaz-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for captchasaz-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c63ca9cd5dbaa236bc623f5584a2664e3bcb800e4ad223fe0d5fbb3cbfaad428
MD5 f5a648abda6fb4769293b5c257168d26
BLAKE2b-256 196e9bfb31e02bab7bea887d823f354507a239ab4829acd03d75eeaf380b4058

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page