Skip to main content

A Python SDK for the Nexus Question Generation API

Project description

Example usage in README.md:

"""

from nexus_sdk 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)

# Validate answer
validation = api.check_answer(
    question="What is the capital of France?",
    correct_answer="Paris",
    user_answer="London"
)
print(validation)

This allows for fine-grained error handling in your applications. """

Install with:

pip install nexus-sdk

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

nexus_sdk2-2.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

nexus_sdk2-2.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file nexus_sdk2-2.1.0.tar.gz.

File metadata

  • Download URL: nexus_sdk2-2.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for nexus_sdk2-2.1.0.tar.gz
Algorithm Hash digest
SHA256 72d5cccc6c51e4f05b64d338d86bec43a6955b88b0102b8c548927b28251b332
MD5 d421522b5e7035929e606dc837270ae3
BLAKE2b-256 3efa8a763fad2c42757d97ef63c1023178c43959f5c4bb5c288734bdd59a5e73

See more details on using hashes here.

File details

Details for the file nexus_sdk2-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: nexus_sdk2-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for nexus_sdk2-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 44a1625e6a31be07e566802734edf5522b2c08e43e8ed958f62e3b728966ec64
MD5 3c2c48531a899a36d183a4c1cfed1f42
BLAKE2b-256 c1a01a59fa2282dc2a8d496450124701967d4ed2edcc2ddac797badcc7f6896b

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