Metadata-Version: 2.1
Name: demure-captcha
Version: 0.8.2
Summary: Simple but customize captcha generator( image + voice )
Home-page: https://github.com/grdvsng/demure_captcha
Author: Trishkin Sergey
Author-email: grdvsng@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: atomicwrites (>=1.4.0)
Requires-Dist: attrs (>=21.4.0)
Requires-Dist: colorama (>=0.4.4)
Requires-Dist: comtypes (>=1.1.11)
Requires-Dist: iniconfig (>=1.1.1)
Requires-Dist: packaging (>=21.3)
Requires-Dist: Pillow (>=9.1.0)
Requires-Dist: pluggy (>=1.0.0)
Requires-Dist: py (>=1.11.0)
Requires-Dist: pydantic (>=1.9.0)
Requires-Dist: pyparsing (>=3.0.7)
Requires-Dist: pypiwin32 (>=223)
Requires-Dist: pytest (>=7.1.1)
Requires-Dist: pyttsx3 (>=2.90)
Requires-Dist: pywin32 (>=303)
Requires-Dist: tomli (>=2.0.1)
Requires-Dist: typing-extensions (>=4.1.1)

# DEMURE_CAPTCHA
Simple liight-weight package for generate image and auidio captcha

# SUMMARY
#### Install
```shell
python3 -m pip install demure_captcha
```
#### Console
```shell
python3 -m demure_captcha --length 10 --useIntegers True --width 300 --height 300 --format file
# Created files with audio and video
>>> %AppData%\Local\Temp\0c7e4ddf-885b-4651-905e-b7efd758fc8d.png
>>> %AppData%\Local\Temp\0c7e4ddf-885b-4651-905e-b7efd758fc8d.mp3

python3 -m demure_captcha --length 10 --useIntegers True --width 300 --height 300 --format json
# Base64 strings
>>>{ "mp3": "rewwgwrrrwggrwrg...", "png": "wfweewggewegwg..." }
```
#### Pakage
```python
from demure_captcha import generate

captcha = generate( width=300, height=300 )

captcha.image.show( )
print( captcha.save( ) )
print( captcha.save( 'tmp/captcha' ) )
```
# Example captcha
![mp3](example-captcha.mp3)
![png](example-captcha.png)


