Skip to main content

🚀 Lightweight Captcha Generator for 🐍 Python

Project description

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)

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

cap_gen-0.1.0.tar.gz (40.3 kB view details)

Uploaded Source

Built Distributions

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

cap_gen-0.1.0-cp312-none-win_amd64.whl (651.6 kB view details)

Uploaded CPython 3.12Windows x86-64

cap_gen-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl (767.1 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

cap_gen-0.1.0-cp312-cp312-macosx_11_0_arm64.whl (682.7 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

cap_gen-0.1.0-cp311-none-win_amd64.whl (652.3 kB view details)

Uploaded CPython 3.11Windows x86-64

cap_gen-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl (767.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

cap_gen-0.1.0-cp311-cp311-macosx_11_0_arm64.whl (683.6 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

cap_gen-0.1.0-cp310-none-win_amd64.whl (652.5 kB view details)

Uploaded CPython 3.10Windows x86-64

cap_gen-0.1.0-cp310-cp310-manylinux_2_34_x86_64.whl (768.0 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

cap_gen-0.1.0-cp310-cp310-macosx_11_0_arm64.whl (683.7 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

cap_gen-0.1.0-cp39-none-win_amd64.whl (652.7 kB view details)

Uploaded CPython 3.9Windows x86-64

cap_gen-0.1.0-cp39-cp39-manylinux_2_34_x86_64.whl (768.2 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.34+ x86-64

cap_gen-0.1.0-cp39-cp39-macosx_11_0_arm64.whl (683.8 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

Details for the file cap_gen-0.1.0.tar.gz.

File metadata

  • Download URL: cap_gen-0.1.0.tar.gz
  • Upload date:
  • Size: 40.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for cap_gen-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fc6ee576d4ec043453429000f32ed2fc7a88479fad708a3b2a85c7015f83ad59
MD5 6f1fd525535aaba6e7a8548efeaa8984
BLAKE2b-256 081448909002372c6712b91b69455ba55d54bb98fe99f0708e6b89c3dcce741a

See more details on using hashes here.

File details

Details for the file cap_gen-0.1.0-cp312-none-win_amd64.whl.

File metadata

  • Download URL: cap_gen-0.1.0-cp312-none-win_amd64.whl
  • Upload date:
  • Size: 651.6 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for cap_gen-0.1.0-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 cdc8ea89db84f9285ed8ab47d447e7cbcfecb034bd110c5ab1c9fa278568e9b5
MD5 b01fca4b98178ac651e9e720a16131af
BLAKE2b-256 6039635db49851b37e9f2685f82f49649545166e40d69f693bf721e001d011ef

See more details on using hashes here.

File details

Details for the file cap_gen-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for cap_gen-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 26f6998d65911d3dc9a2b2fea3942ff2bddaee135e240288c8e756075d2cbc95
MD5 006afbbfaf02a1874902c817ed68d932
BLAKE2b-256 0b106476f54413464274d52942ea73ee7f078b3d8ffd18ac64ebba44dabaef85

See more details on using hashes here.

File details

Details for the file cap_gen-0.1.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cap_gen-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 be769a41b8f0dc6b1d868523f05f3a6e6e88510b4ee6d09a5101675c6511f629
MD5 8e8cac017acd8fb0ccd7ed32426dbfce
BLAKE2b-256 a1834948b28e88e0e08cfc519b4793c46118554e057a3534e7c7f455fa7231e6

See more details on using hashes here.

File details

Details for the file cap_gen-0.1.0-cp311-none-win_amd64.whl.

File metadata

  • Download URL: cap_gen-0.1.0-cp311-none-win_amd64.whl
  • Upload date:
  • Size: 652.3 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for cap_gen-0.1.0-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 3a0c4178d68d7618f17bdc9a6299b4934861557b3c02313ac8187c54d76b8512
MD5 02d58afb6aef7e24e139a237db3ac055
BLAKE2b-256 860c84b7d7b028007ecab9656cf0353bb3e6d438a1a9f0176de14fc944cf246e

See more details on using hashes here.

File details

Details for the file cap_gen-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for cap_gen-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 595783ac80d44c5a24e3dd082c8720796a1510c4eb213cc9498f660f06e08d45
MD5 6c8243eb370a1f058a3634af9e0a5a4d
BLAKE2b-256 5a5397adb0a8796a058113f83489e81be027c5a9e6542bb67002a4af74ae2f40

See more details on using hashes here.

File details

Details for the file cap_gen-0.1.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cap_gen-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 47f00c99702aad81cfb668b5347614c9895378f728817f87a19b87bbfda74843
MD5 e639352212cd43f43bffdfbebe863796
BLAKE2b-256 d494a8a17edf8eaa4cc030a8fe20d21438ef5cd024fec23e62b726287e24556f

See more details on using hashes here.

File details

Details for the file cap_gen-0.1.0-cp310-none-win_amd64.whl.

File metadata

  • Download URL: cap_gen-0.1.0-cp310-none-win_amd64.whl
  • Upload date:
  • Size: 652.5 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for cap_gen-0.1.0-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 c024a087becc5944a446f24452e739512891e2a57c1b705f57e5406b68734fe1
MD5 2f8e5f87e1514e2c9f656f0d2b878024
BLAKE2b-256 18e3f62036ec564d413b921a085e5d17ac3d5019b6bec0ab5653aa80ff8e8bb3

See more details on using hashes here.

File details

Details for the file cap_gen-0.1.0-cp310-cp310-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for cap_gen-0.1.0-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 5df29897935cede5e7bd7ca35581d5936091248fb8ec18bd6450a178574fa80b
MD5 ca2296275046dba8e47a099ed775ace5
BLAKE2b-256 e0a211d3e3aa3c7f672390c853723733c40490a8d2b1b733d1e17e2344f19a31

See more details on using hashes here.

File details

Details for the file cap_gen-0.1.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cap_gen-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d0c89f42b7c88fbece98e81f48df26d2d72cec732081a94a6fd610e6265f71cd
MD5 1e990fca3b6c86ef1123b5baac177d3b
BLAKE2b-256 09833aeedc8f105367139f9e5d1bde9e454c6bf07cc7c95bbb2c500d29a41b74

See more details on using hashes here.

File details

Details for the file cap_gen-0.1.0-cp39-none-win_amd64.whl.

File metadata

  • Download URL: cap_gen-0.1.0-cp39-none-win_amd64.whl
  • Upload date:
  • Size: 652.7 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for cap_gen-0.1.0-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 a80a672f37707e36e10870fbcef2ff5257d7e298448ab747fc04ac13c1217b2c
MD5 7024bc6593b2470b24ccf59b3eb50a6f
BLAKE2b-256 3197c5e2401007731ed9a45db2ec45ad4f5b2f09e7448ca71c682b8935081c4c

See more details on using hashes here.

File details

Details for the file cap_gen-0.1.0-cp39-cp39-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for cap_gen-0.1.0-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 41c063e142ffa6cead97a5f3596b4a2b048bb8fa102c41d190e938e8bb4e39b9
MD5 a69a0a3c78fe2c2fab21c9ea68181d57
BLAKE2b-256 39335bcc44e5532cf146441b1b6e281000869258a4c5a37bcc2d5a31ba79d8f7

See more details on using hashes here.

File details

Details for the file cap_gen-0.1.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cap_gen-0.1.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 371fee17aa7717197ffbd5af86e19ebdd710ae9bfd247a7d146b5694fba972fc
MD5 d46b771c5f45c380e6f118de0ed9d814
BLAKE2b-256 199d78af6ebb5b3b73ce851be1a2ed4a87adb25fe15198764d7174c3c9eecd41

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