Skip to main content

langchain-ictexam

LangChain tools for ICTExam, the AI-powered exam authoring, delivery and auto-grading platform from ICT Innovations. Give an agent the ability to turn a question paper into a structured exam, publish it, and read the marks and per-question analysis back out.

Install

pip install langchain-ictexam

Quick start

from langchain_ictexam import ICTExamToolkit

toolkit = ICTExamToolkit.from_credentials(
    base_url="https://app.ictlms.net",   # your ICTExam site
    email="teacher@example.com",
    password="...",
)
tools = toolkit.get_tools()

Behind the usual reverse proxy the API lives under /api (the default). If you talk straight to the backend port, pass api_prefix="".

Plug the tools into any LangChain agent:

from langchain.agents import create_react_agent  # or your agent of choice

agent = create_react_agent(model, tools)
agent.invoke({"messages": "Parse ./midterm.pdf, publish it, then show the gradebook."})

Tools

Tool What it does
list_exams List exam papers (id, title, status, class, subject)
get_exam One paper's settings, share links and questions
list_classes Classes (course groups)
list_subjects Subjects, each tied to a class
get_gradebook Per-exam totals and student marks
get_item_analysis Per-question difficulty, p-value and average mark
parse_question_paper Upload a PDF/DOCX and AI-extract the questions
publish_exam Publish a paper; returns student and teacher share URLs
unpublish_exam Set a paper back to draft

Authentication

Sign in with any teacher or admin account. The client holds the session cookie and echoes the CSRF token on writes for you — nothing else to configure.

About

ICTExam grades objective, fill-in-the-blank and short-answer questions deterministically; with an AI key configured on the server it also does rubric-graded essay and image/vision marking. It ships with a native Moodle activity module (LTI 1.3, grade passback and roster sync). Learn more at ictlms.net and ictinnovations.com.

MIT licensed.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langchain_ictexam-0.1.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

langchain_ictexam-0.1.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file langchain_ictexam-0.1.0.tar.gz.

File metadata

  • Download URL: langchain_ictexam-0.1.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for langchain_ictexam-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3a312b1eb57324ca3ac91d4ef64049b33894531e6a4f23b5e9604c83a084ff91
MD5 789b335592861af0a2ace3dbf2f06abc
BLAKE2b-256 cca886bc3f89c8dd08dc308097ae6fbbb1f3c961d08ed769f26a9e7ee05666d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for langchain_ictexam-0.1.0.tar.gz:

Publisher: publish.yml on ictinnovations/langchain-ictexam

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file langchain_ictexam-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_ictexam-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee205d2ae62d3714dedb20af6e7d8abe6bcbfeddb7b55a4e395879f20d979198
MD5 7879102d153fc41eacd24d63ce27fcb8
BLAKE2b-256 1303adb892cd30a052a34722214fe69c3ae15c939763fcc69d567d6c201f5569

See more details on using hashes here.

Provenance

The following attestation bundles were made for langchain_ictexam-0.1.0-py3-none-any.whl:

Publisher: publish.yml on ictinnovations/langchain-ictexam

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page