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
Metadata
Release files for demure-captcha 0.8.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| demure_captcha-0.8.2.tar.gz | 535.3 kB | Without provenance | Details for demure_captcha-0.8.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| demure_captcha-0.8.2-py3-none-any.whl | Python 3 | none | any | Details for demure_captcha-0.8.2-py3-none-any.whl |
Total release size: 1.6 MB
Release files / demure_captcha-0.8.2.tar.gz
| Download URL | demure_captcha-0.8.2.tar.gz |
|---|---|
| Size | 535.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a97790be2d07c94531eeeae5a3b5ebdc8a66ebe4cf895241820ec49317ca92b0
|
|
BLAKE2b-256 checksum How to use checksums |
1f11fba57c7d28dae930bea152990c0878abd83f8649ce0eb051b5db245fbeb8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.1
|
Release files / demure_captcha-0.8.2-py3-none-any.whl
| Download URL | demure_captcha-0.8.2-py3-none-any.whl |
|---|---|
| Size | 1.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00c81a1444e941d4fc94f2ffbc2951a662c698e5569b3a1565ae09102803ccb6
|
|
BLAKE2b-256 checksum How to use checksums |
f7f255e0ed1b04348c99cf2edee63d2eebbc1adb4480f37650d8890278aea8ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.1
|
Security for demure-captcha 0.8.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.