You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

nlxcaptcha

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nlxcaptcha - pypi Package Compare versions

Comparing version
1.9
to
2.0
+1
-1
nlxcaptcha.egg-info/PKG-INFO
Metadata-Version: 2.1
Name: nlxcaptcha
Version: 1.9
Version: 2.0
Summary: Tell "iPad Kids" and "Non-iPad Kids" apart using OpenAI API in this easy-to-integrate captcha.

@@ -5,0 +5,0 @@ Home-page: https://github.com/nlckysolutions/NLX-Captcha

@@ -10,3 +10,3 @@ import tkinter as tk

class NLXCaptcha:
def __init__(self, api_key, difficulty):
def __init__(self, api_key, difficulty, model):
self.api_key = api_key

@@ -17,2 +17,3 @@ self.difficulty = difficulty

self.result = None
self.model = model

@@ -78,3 +79,3 @@ def detect_device(self):

response = openai.ChatCompletion.create(
model="gpt-4",
model=self.model,
messages=[

@@ -99,4 +100,4 @@ {"role": "system", "content": system_prompt},

def verify(difficulty, openaiapikey):
captcha = NLXCaptcha(api_key=openaiapikey, difficulty=difficulty)
def verify(difficulty, openaiapikey, model):
captcha = NLXCaptcha(api_key=openaiapikey, difficulty=difficulty, model=model)
captcha.start_verification()

@@ -103,0 +104,0 @@

Metadata-Version: 2.1
Name: nlxcaptcha
Version: 1.9
Version: 2.0
Summary: Tell "iPad Kids" and "Non-iPad Kids" apart using OpenAI API in this easy-to-integrate captcha.

@@ -5,0 +5,0 @@ Home-page: https://github.com/nlckysolutions/NLX-Captcha

@@ -5,3 +5,3 @@ from setuptools import setup, find_packages

name='nlxcaptcha',
version='1.9',
version='2.0',
packages=find_packages(),

@@ -8,0 +8,0 @@ install_requires=[