Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

timeback-qti

Python client for the Timeback QTI assessment API.

Installation

pip install timeback-qti

Quick Start

from timeback_qti import QtiClient

async def main():
    client = QtiClient(
        env="staging",
        client_id="your-client-id",
        client_secret="your-client-secret",
    )

    # List assessment items
    result = await client.assessment_items.list()

    # Create an item from QTI XML
    item = await client.assessment_items.create_from_xml({
        "format": "xml",
        "xml": "<qti-assessment-item>...</qti-assessment-item>",
    })

    # Validate QTI XML
    validation = await client.validate.validate({
        "schema": "item",
        "xml": "<qti-assessment-item>...</qti-assessment-item>",
    })

    await client.close()

Resources

  • client.assessment_items - Assessment item CRUD, XML/metadata creation, response processing
  • client.assessment_tests - Assessment test CRUD with nested test parts, sections, and items
  • client.stimuli - Stimulus material CRUD
  • client.validate - QTI XML validation (single and batch)
  • client.lesson - Lesson and question feedback
  • client.general - General operations (delete by ID)

Filtering

The top-level assessment-item and assessment-test lists accept the same where clause as the other Timeback clients, compiled to the server-side filter expression:

# Exact match
drafts = await client.assessment_tests.list({"where": {"title": "Unit 5 Final"}})

# Substring/regex match (case-insensitive)
mine = await client.assessment_items.list(
    {"where": {"identifier": {"contains": "^playcademy-test-"}}}
)

# Streams filter server-side too
async for test in client.assessment_tests.stream(where={"title": {"contains": "math"}}):
    print(test["identifier"])

Nested lists (test parts, sections) and stimuli do not support filtering.

Metadata

Release files for timeback-qti 0.3.3b20260718042822

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for timeback-qti 0.3.3b20260718042822
File Size Uploaded Provenance Actions
timeback_qti-0.3.3b20260718042822.tar.gz 27.5 kB Without provenance Details for timeback_qti-0.3.3b20260718042822.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for timeback-qti 0.3.3b20260718042822
File Interpreter ABI Platform Actions
timeback_qti-0.3.3b20260718042822-py3-none-any.whl Python 3 none any Details for timeback_qti-0.3.3b20260718042822-py3-none-any.whl

Total release size: 58.9 kB

Release files / timeback_qti-0.3.3b20260718042822.tar.gz

Download URL timeback_qti-0.3.3b20260718042822.tar.gz
Size 27.5 kB
Tags Source
SHA-256 checksum
How to use checksums
992b9f9ebb8d31ca119304d1655d47c12c19fcabd7580730cd7f2ece6ab73574
BLAKE2b-256 checksum
How to use checksums
910ae14f356598d0fbf6d06873ed48f0bca46151080a2a4983b04da9cf4d9f3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / timeback_qti-0.3.3b20260718042822-py3-none-any.whl

Download URL timeback_qti-0.3.3b20260718042822-py3-none-any.whl
Size 31.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d3eefbb0713c234077faffcd94d87e83e08d2c360e8642c768d3279744cd70f
BLAKE2b-256 checksum
How to use checksums
e1d438cbb7581c0dc444a4fa0eb997efbb29a48e46bd0dc343d3ce3718ad2b1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for timeback-qti 0.3.3b20260718042822

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

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