
Security News
pnpm 10.12 Introduces Global Virtual Store and Expanded Version Catalogs
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.
keptcha is an API wrapper for https://captcha-api.akshit.me written in Python.
keptcha
is an API wrapper (python) for captcha-api. Provides both Synchronous and Asynchronous interfaces to interact with the API.
pip install keptcha
OR using git
pip install git+https://github.com/captcha-api/keptcha-py
keptcha
supports both Sync and Async usage.
from keptcha import Captcha
my_captcha = Captcha.new()
my_captcha.decode()
if my_captcha.verify("1337H4kOr"):
print("You are not a bot!")
from keptcha import AsyncCaptcha
my_captcha = await AsyncCaptcha.new()
await my_captcha.decode()
if (await my_captcha.verify("1337H4kOr")):
print("You are not a bot!")
You can pass some keyword arguments to personalize your captcha.
my_captcha = Captcha.new(height=100, width=250, circles=100, length=5)
You can do exception handling.
from keptcha.errors import IncorrectCaptcha
try:
my_captcha.verify("bad input")
except IncorrectCaptcha:
print("sir you suck")
Feel free to submit a pull request. We very much appreciate it!
Licenced under MIT.
FAQs
keptcha is an API wrapper for https://captcha-api.akshit.me written in Python.
We found that keptcha demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.
Security News
Amaro 1.0 lays the groundwork for stable TypeScript support in Node.js, bringing official .ts loading closer to reality.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.