$npx skillfedfor your agent

edx-rest-api-client

Client utilities to access various Open edX Platform REST APIs.

With conditionsPyPI InternetReleased Apr 202682.5K downloads / moApachePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — edx_rest_api_client-7.0.0-py3-none-any.whl
v7.0.0 · released 2026-04-08 · 3 runtime deps: PyJWT, edx-django-utils, requests

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

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.
Same gist for agents: .md · .json

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.

With conditions

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

LicenseApache permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
PyJWTedx-django-utilsrequests
MaintenanceActively maintained 128 days since the last release
Last repo commit
First released
Downloads82,528 / month, #14,158 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone 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

Capabilities
edx rest api clientoauth2 client for edxopen edx api accessjwt authentication edxedx service communicationoauth2 token managementedx platform integration
Topics
edx-platformoauth2rest-client
PyPI keywords
edxrestapiclient

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 Worth it
PyPI · Internet · released Aug 2026

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.

permissive licensepure Python · 3.10+
1.5Bdownloads / mo
aiobotocore Worth it
PyPI · Internet · released Aug 2026

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.

Apache-2.0pure Python · 3.10+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
filelock Worth it
PyPI · Libraries · released Aug 2026

Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.

MITpure Python · 3.10+
717.1Mdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
googleapis-common-protos Worth it
PyPI · Internet · released Aug 2026

Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.

Apache-2.0pure Python · 3.10+
513.7Mdownloads / mo

See also edx-drf-extensions · openedx-events · requests-oauthlib · ovh · python-alfresco-api · edx-django-utils · pyxero · requests-oauth2client · python-upwork-oauth2 · eniris