edx-rest-api-client
Client utilities to access various Open edX Platform REST APIs.
Decision gist · record as of 2026-08-14
Yes, if you are building within or integrating with the Open edX platform and need OAuth2-authenticated REST calls. The low install friction, active maintenance, permissive license, and zero known vulnerabilities make it a safe choice. Not relevant for non-Open edX projects.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Django caching and TieredCache middleware (from edx-django-utils) to be configured in your Django project.
- Low friction installation with three runtime dependencies (PyJWT, edx-django-utils, requests).
- Actively maintained with a release 128 days ago and continuous repository activity.
License · maintenance · safety
Apache (permissive) — Licensed under Apache (permissive), allowing commercial use, modification, and distribution with minimal restrictions.
last release 2026-04-08 (128 days) · last repo commit 2026-08-10 · 23 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 82,528 downloads/mo, #14,158 on PyPI
Alternatives
Verify before relying
from edx_rest_api_client.client import OAuthAPIClient
client = OAuthAPIClient('https://lms.root', 'client_id', 'client_secret')
response = client.get('https://some.url', timeout=(3.1, 0.5))- Whether the package works outside a Django environment or if Django is a hard requirement.
- Current test coverage and stability guarantees for production use beyond the 'Production/Stable' classifier.
What it is and what it does
edx-rest-api-client is a wrapper around the requests library that handles OAuth2 authentication and JWT token management for communicating with Open edX platform services. It provides the OAuthAPIClient class, which behaves like a requests.Session but automatically manages token retrieval and caching, reducing boilerplate in services that need to call other Open edX APIs.
The package is built for the Open edX ecosystem and depends on edx-django-utils for its TieredCache caching layer. It requires Django caching and middleware to be configured. You instantiate a client with an LMS root URL, client ID, and secret, then use it like any requests session—the library handles token refresh transparently. Timeout configuration is supported both at client creation and per-request.
Use it for
- Build an Open edX microservice that needs to call the LMS or other platform APIs with OAuth2 authentication.
- Integrate a third-party tool with Open edX by handling token management and REST calls automatically.
- Develop a Django app within the Open edX platform that communicates with other platform services.
- Cache and reuse OAuth2 tokens across multiple API requests to reduce token endpoint load.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building within or integrating with the Open edX platform and need OAuth2-authenticated REST calls.
The low install friction, active maintenance, permissive license, and zero known vulnerabilities make it a safe choice. Not relevant for non-Open edX projects.
Install
edx-rest-api-client on PyPI
Before you install
Low friction installation with three runtime dependencies (PyJWT, edx-django-utils, requests). Actively maintained with a release 128 days ago and continuous repository activity.
Requires Django caching and TieredCache middleware (from edx-django-utils) to be configured in your Django project.
License in practice
Licensed under Apache (permissive), allowing commercial use, modification, and distribution with minimal restrictions.
Quickstart
from edx_rest_api_client.client import OAuthAPIClient
client = OAuthAPIClient('https://lms.root', 'client_id', 'client_secret')
response = client.get('https://some.url', timeout=(3.1, 0.5))
Verify before relying
- Whether the package works outside a Django environment or if Django is a hard requirement.
- Current test coverage and stability guarantees for production use beyond the 'Production/Stable' classifier.
Package facts
| License | Apache permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesPyJWTedx-django-utilsrequests |
| Maintenance | Actively maintained 128 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 82,528 / month, #14,158 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 4.2Framework :: Django :: 5.2Intended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3.12Topic :: Internet |
Evidence: edx_rest_api_client-7.0.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “edx rest api client”
- edx-rest-api-clientProvides OAuth2 and JWT utilities for communicating with Open edX…
- edx-enterpriseA Django application that provides enterprise features to the Open…
- XBlockXBlock is a Python component architecture for building and embedding…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also edx-drf-extensions · openedx-events · requests-oauthlib · ovh · python-alfresco-api · edx-django-utils · pyxero · requests-oauth2client · python-upwork-oauth2 · eniris