Metadata-Version: 2.1
Name: nexussdk5
Version: 5.1.0
Summary: A Python SDK for the Nexus Question Generation API
Author-email: Godspower Maurice <facebookups23@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/SeasonLeague/nexus-sdk
Project-URL: Documentation, https://github.com/SeasonLeague/nexus-sdk#readme
Project-URL: Repository, https://github.com/SeasonLeague/nexus-sdk.git
Project-URL: Bug Tracker, https://github.com/SeasonLeague/nexus-sdk/issues
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: requests>=2.25.0
Provides-Extra: dev
Requires-Dist: pytest>=6.0; extra == "dev"
Requires-Dist: pytest-cov>=2.0; extra == "dev"
Requires-Dist: flake8>=3.9.0; extra == "dev"
Requires-Dist: black>=21.0; extra == "dev"
Requires-Dist: mypy>=0.910; extra == "dev"

# Example usage in README.md:


```
from nexussdk5 import HackathonNexusAPI

api = HackathonNexusAPI(api_key="your_gemini_api_key_here")

# Generate questions
files = ["path/to/file1.pdf", "path/to/file2.jpg"]
result = api.generate_questions(files, num_questions=5, difficulty="medium")
print(result)
```


# FOR Validate answer
```
validation = api.check_answer(
    question="What is the capital of France?", #Need to pass the generated questions here 
    correct_answer="Paris", #Correct answer here
    user_answer="London" #Pass user answer here too (The API will take care of the rest)
)
print(validation)
```


## Install with:
```
pip install nexussdk5
```
