Socket
Socket
Sign inDemoInstall

demure-captcha

Package Overview
Dependencies
17
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    demure-captcha

Simple but customize captcha generator( image + voice )


Maintainers
1

Readme

DEMURE_CAPTCHA

Simple liight-weight package for generate image and auidio captcha

SUMMARY

Install
python3 -m pip install demure_captcha
Console
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
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 png

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc