Registry / http-networking / edx-rest-api-client

edx-rest-api-client

JSON →
library7.0.0pypypiunverified

Client utilities for accessing various Open edX Platform REST APIs. Version 7.0.0 is the latest. Release cadence irregular, with major version bumps for Python/Django support.

pip install edx-rest-api-client
INSTALL
IMPORT
SIG · EDX-REST-API-CLIEN
E
edx-rest-api-client
http-networkingpythonv7.0.0
Install
5.0s avg
Import
Disk
79MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v7.0.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 · 79.3MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 5.0s · import 0.000s · 80MB
79MB installed
● package 79MB
Code
Verified usage

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

EdxRestApiClient
from edx_rest_api_client.client import EdxRestApiClient
from edx_rest_api_client import EdxRestApiClient

Initialize the client with a JWT token and make a simple API call.

from edx_rest_api_client.client import EdxRestApiClient client = EdxRestApiClient( url='https://api.example.com', jwt='your-jwt-token' ) response = client.courses.get() print(response)
Debug
Known issues
breakingIn v6.0.0, the `EdxRestApiClient` class was deprecated in favor of using requests directly. The client still works but is no longer maintained.
fix
Consider migrating to plain `requests` calls with OAuth2 or JWT.
affects: >=6.0.0, <7.0.0
gotchaClient depends on Django settings for OAuth2 authentication. Ensure `django.conf.settings` is configured before importing `OAuth2Client`.
fix
Set `DJANGO_SETTINGS_MODULE` environment variable or configure Django settings early.
affects: all
Upgrade
Version history
7.0.0latest on PyPI · released Apr 8, 2026
Audit
Dependencies
requestsrequiredHTTP client
djangorequiredUsed for auth and middleware
Agent activity
12 hits · last 30 days
node
10
OpenAI (training)
1
Resources
edx-rest-api-client — pip install edx-rest-api-client · libregistry