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-sdk3

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_sdk3-3.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_sdk3-3.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file nexus_sdk3-3.1.0.tar.gz.

File metadata

  • Download URL: nexus_sdk3-3.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_sdk3-3.1.0.tar.gz
Algorithm Hash digest
SHA256 2e64be8c65bb087be0746441e4247712404ac4b6374ecf6f5935b857b271a08f
MD5 6e81322611afe0e02b9679b0df59e2e2
BLAKE2b-256 331adf775f066d601d14f0dceb6dc20090c2830698c2b0c178c894600b5105c8

See more details on using hashes here.

File details

Details for the file nexus_sdk3-3.1.0-py3-none-any.whl.

File metadata

  • Download URL: nexus_sdk3-3.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_sdk3-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fdc59bf150800942a102ece654940b25c5c1aae91f88ccb3b7dffab39a6d9c51
MD5 992625e584faa51d39f2327f276e4aa4
BLAKE2b-256 4a35fc201c908747436969d15fdfc09b4ee17eb432834de5d210a41f18ebdff0

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