Registry / http-networking / instructure-dap-client

instructure-dap-client

JSON →
library2.2.0pypypiunverified

Official Python client for Instructure's Data Access Platform (DAP). Current version 2.2.0, requires Python >=3.11. Provides async and sync access to DAP REST API, with built-in retry and error handling. Released under Apache 2.0.

pip install instructure-dap-client
INSTALL
IMPORT
SIG · INSTRUCTURE-DAP-CL
I
instructure-dap-client
http-networkingpythonv2.2.0
Install
6.2s avg
Import
Disk
42MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.3.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 33.3MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 6.2s · import 0.000s · 35MB
42MB installed
● package 42MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DAPClient
from dap import DAPClient
from instructure_dap_client import DAPClient

Initialize client with environment variables for base URL and API key, then make a request.

import os from instructure_dap_client import DAPClient client = DAPClient( base_url=os.environ.get('DAP_BASE_URL', 'https://dap.instructure.com'), api_key=os.environ.get('DAP_API_KEY', '') ) # Example: list jobs jobs = client.list_jobs() print(jobs)
Debug
Known issues
breakingIn version 2.0, the constructor signature changed: `DAPClient(base_url, api_key)` replaced the old `DAPClient(config=...)` pattern. Old code will break.
fix
Use `DAPClient(base_url='...', api_key='...')` directly.
affects: >=2.0.0
breakingThe `list_jobs()` method now returns an iterator instead of a list. Calling `len()` on the result will fail.
fix
Convert to list first: `list(client.list_jobs())` or iterate directly.
affects: >=2.0.0
gotchaAPI key is required for all requests. If not provided, the client will raise an `AuthenticationError`.
fix
Always set the `DAP_API_KEY` environment variable or pass `api_key` to the constructor.
affects: all
Upgrade
Version history
2.2.0latest on PyPI · released Mar 16, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
28
Resources
instructure-dap-client — pip install instructure-dap-client · libregistry