Skip to main content

Captcha Generator

Example

from pathlib import Path

from cap_gen import CaptchaGenerator


emojis = Path("./emojis")
generator = CaptchaGenerator(emojis, "png")
res = generator.generate(5, 10)

print(f"Correct Emoji: {res.correct_emoji}")
print(f"Emojis on Image: {res.image_emojis}")
print(f"Emoji Options: {res.keyboard_emojis}")

Path("captcha.png").write_bytes(res.image)

Metadata

Release files for cap-gen 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cap-gen 0.1.0
File Size Uploaded
cap_gen-0.1.0.tar.gz 40.3 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for cap-gen 0.1.0
File
cap_gen-0.1.0-cp312-none-win_amd64.whl CPython 3.12 none Windows x86-64 Details
cap_gen-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.34+ x86-64 Details
cap_gen-0.1.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
cap_gen-0.1.0-cp311-none-win_amd64.whl CPython 3.11 none Windows x86-64 Details
cap_gen-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.34+ x86-64 Details
cap_gen-0.1.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
cap_gen-0.1.0-cp310-none-win_amd64.whl CPython 3.10 none Windows x86-64 Details
cap_gen-0.1.0-cp310-cp310-manylinux_2_34_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.34+ x86-64 Details
cap_gen-0.1.0-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
cap_gen-0.1.0-cp39-none-win_amd64.whl CPython 3.9 none Windows x86-64 Details
cap_gen-0.1.0-cp39-cp39-manylinux_2_34_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.34+ x86-64 Details
cap_gen-0.1.0-cp39-cp39-macosx_11_0_arm64.whl CPython 3.9 CPython 3.9 macOS 11.0+ ARM64 Details

Total release size: 8.5 MB

Release files / cap_gen-0.1.0.tar.gz

Download URL cap_gen-0.1.0.tar.gz
Size 40.3 kB
Tags Source
SHA-256 checksum
How to use checksums
fc6ee576d4ec043453429000f32ed2fc7a88479fad708a3b2a85c7015f83ad59
BLAKE2b-256 checksum
How to use checksums
081448909002372c6712b91b69455ba55d54bb98fe99f0708e6b89c3dcce741a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.6

Release files / cap_gen-0.1.0-cp312-none-win_amd64.whl

Download URL cap_gen-0.1.0-cp312-none-win_amd64.whl
Size 651.6 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
cdc8ea89db84f9285ed8ab47d447e7cbcfecb034bd110c5ab1c9fa278568e9b5
BLAKE2b-256 checksum
How to use checksums
6039635db49851b37e9f2685f82f49649545166e40d69f693bf721e001d011ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.6

Release files / cap_gen-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl

Download URL cap_gen-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl
Size 767.1 kB
Tags CPython 3.12 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
26f6998d65911d3dc9a2b2fea3942ff2bddaee135e240288c8e756075d2cbc95
BLAKE2b-256 checksum
How to use checksums
0b106476f54413464274d52942ea73ee7f078b3d8ffd18ac64ebba44dabaef85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.6

Release files / cap_gen-0.1.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL cap_gen-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
Size 682.7 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
be769a41b8f0dc6b1d868523f05f3a6e6e88510b4ee6d09a5101675c6511f629
BLAKE2b-256 checksum
How to use checksums
a1834948b28e88e0e08cfc519b4793c46118554e057a3534e7c7f455fa7231e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.6

Release files / cap_gen-0.1.0-cp311-none-win_amd64.whl

Download URL cap_gen-0.1.0-cp311-none-win_amd64.whl
Size 652.3 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
3a0c4178d68d7618f17bdc9a6299b4934861557b3c02313ac8187c54d76b8512
BLAKE2b-256 checksum
How to use checksums
860c84b7d7b028007ecab9656cf0353bb3e6d438a1a9f0176de14fc944cf246e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.6

Release files / cap_gen-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl

Download URL cap_gen-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl
Size 767.8 kB
Tags CPython 3.11 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
595783ac80d44c5a24e3dd082c8720796a1510c4eb213cc9498f660f06e08d45
BLAKE2b-256 checksum
How to use checksums
5a5397adb0a8796a058113f83489e81be027c5a9e6542bb67002a4af74ae2f40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.6

Release files / cap_gen-0.1.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL cap_gen-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
Size 683.6 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
47f00c99702aad81cfb668b5347614c9895378f728817f87a19b87bbfda74843
BLAKE2b-256 checksum
How to use checksums
d494a8a17edf8eaa4cc030a8fe20d21438ef5cd024fec23e62b726287e24556f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.6

Release files / cap_gen-0.1.0-cp310-none-win_amd64.whl

Download URL cap_gen-0.1.0-cp310-none-win_amd64.whl
Size 652.5 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
c024a087becc5944a446f24452e739512891e2a57c1b705f57e5406b68734fe1
BLAKE2b-256 checksum
How to use checksums
18e3f62036ec564d413b921a085e5d17ac3d5019b6bec0ab5653aa80ff8e8bb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.6

Release files / cap_gen-0.1.0-cp310-cp310-manylinux_2_34_x86_64.whl

Download URL cap_gen-0.1.0-cp310-cp310-manylinux_2_34_x86_64.whl
Size 768.0 kB
Tags CPython 3.10 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
5df29897935cede5e7bd7ca35581d5936091248fb8ec18bd6450a178574fa80b
BLAKE2b-256 checksum
How to use checksums
e0a211d3e3aa3c7f672390c853723733c40490a8d2b1b733d1e17e2344f19a31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.6

Release files / cap_gen-0.1.0-cp310-cp310-macosx_11_0_arm64.whl

Download URL cap_gen-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
Size 683.7 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d0c89f42b7c88fbece98e81f48df26d2d72cec732081a94a6fd610e6265f71cd
BLAKE2b-256 checksum
How to use checksums
09833aeedc8f105367139f9e5d1bde9e454c6bf07cc7c95bbb2c500d29a41b74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.6

Release files / cap_gen-0.1.0-cp39-none-win_amd64.whl

Download URL cap_gen-0.1.0-cp39-none-win_amd64.whl
Size 652.7 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
a80a672f37707e36e10870fbcef2ff5257d7e298448ab747fc04ac13c1217b2c
BLAKE2b-256 checksum
How to use checksums
3197c5e2401007731ed9a45db2ec45ad4f5b2f09e7448ca71c682b8935081c4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.6

Release files / cap_gen-0.1.0-cp39-cp39-manylinux_2_34_x86_64.whl

Download URL cap_gen-0.1.0-cp39-cp39-manylinux_2_34_x86_64.whl
Size 768.2 kB
Tags CPython 3.9 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
41c063e142ffa6cead97a5f3596b4a2b048bb8fa102c41d190e938e8bb4e39b9
BLAKE2b-256 checksum
How to use checksums
39335bcc44e5532cf146441b1b6e281000869258a4c5a37bcc2d5a31ba79d8f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.6

Release files / cap_gen-0.1.0-cp39-cp39-macosx_11_0_arm64.whl

Download URL cap_gen-0.1.0-cp39-cp39-macosx_11_0_arm64.whl
Size 683.8 kB
Tags CPython 3.9 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
371fee17aa7717197ffbd5af86e19ebdd710ae9bfd247a7d146b5694fba972fc
BLAKE2b-256 checksum
How to use checksums
199d78af6ebb5b3b73ce851be1a2ed4a87adb25fe15198764d7174c3c9eecd41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.6

Release history Release notifications | RSS feed

This release

0.1.0 This release

13 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page