$npx skillfedfor your agent

descope

Descope Python SDK

Worth itPyPI Python ModulesReleased Aug 20261.9M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — descope-2.11.2-py3-none-any.whl
v2.11.2 · released 2026-08-10 · Python <4.0,>=3.9 · 4 runtime deps: httpx, certifi, pyjwt, email-validator

Yes. Active maintenance, low install friction, no known vulnerabilities, permissive MIT license, and broad Python version support (3.9–3.14) make it a safe choice. Install it if you are building a backend service that needs to integrate Descope's authentication and user management APIs.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires DESCOPE_PROJECT_ID environment variable or explicit project_id parameter; optional DESCOPE_AUTH_MANAGEMENT_KEY for disabled authentication APIs.
  • Low install friction with a pure Python wheel.
  • Active maintenance—released 4 days ago with recent commits.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; suitable for most projects.

last release 2026-08-10 (4 days) · last repo commit 2026-08-14 · 73 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,893,477 downloads/mo, #3,457 on PyPI

Verify before relying

pip install descope

from descope import DescopeClient, DeliveryMethod

descope_client = DescopeClient(project_id="your-project-id")
masked_address = descope_client.otp.sign_up(
    method=DeliveryMethod.EMAIL,
    login_id="user@example.com",
    user={"name": "User Name"}
)
  • Whether Flask decorator support requires separate installation or is bundled by default.
  • Rate limiting specifics and quota enforcement behavior.
  • Whether the SDK handles token refresh automatically or requires manual management.
Same gist for agents: .md · .json

What it is and what it does

Descope is a Python SDK that wraps Descope's backend authentication and user management APIs. It handles multiple authentication flows—OTP, magic links, enchanted links, OAuth, SAML/OIDC SSO, TOTP, and password-based auth—plus session validation, role and permission checks, tenant management, and audit logging. The SDK depends on httpx for HTTP calls, pyjwt for token handling, certifi for TLS, and email-validator for address validation.

You initialize it with a project ID and optional management key, then call methods like `otp.sign_up()`, `magiclink.verify()`, or `descope_client.manage_users.create()` to drive authentication workflows or administer users and permissions. It's designed for backend services that need to integrate Descope's hosted authentication without building HTTP calls directly.

Use it for

  • Add passwordless OTP or magic-link sign-up/sign-in to a Python web service.
  • Validate session JWTs and check user roles/permissions on incoming requests.
  • Manage users, tenants, and access keys programmatically from your backend.
  • Integrate SAML or OIDC SSO into a Python application via Descope.
  • Implement cross-device authentication flows using enchanted links.
  • Query audit logs and manage fine-grained authorization policies.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Active maintenance, low install friction, no known vulnerabilities, permissive MIT license, and broad Python version support (3.9–3.14) make it a safe choice. Install it if you are building a backend service that needs to integrate Descope's authentication and user management APIs.

Install

descope on PyPI

Before you install

Low install friction with a pure Python wheel. Active maintenance—released 4 days ago with recent commits. Supports current Python versions (3.9 through 3.14).

Requires DESCOPE_PROJECT_ID environment variable or explicit project_id parameter; optional DESCOPE_AUTH_MANAGEMENT_KEY for disabled authentication APIs.

License in practice

MIT license permits commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

pip install descope

from descope import DescopeClient, DeliveryMethod

descope_client = DescopeClient(project_id="your-project-id")
masked_address = descope_client.otp.sign_up(
    method=DeliveryMethod.EMAIL,
    login_id="user@example.com",
    user={"name": "User Name"}
)

Verify before relying

  • Whether Flask decorator support requires separate installation or is bundled by default.
  • Rate limiting specifics and quota enforcement behavior.
  • Whether the SDK handles token refresh automatically or requires manual management.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4.0,>=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
httpxcertifipyjwtemail-validator
MaintenanceActively maintained 4 days since the last release
Last repo commit
First released
Downloads1,893,477 / month, #3,457 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: descope-2.11.2-py3-none-any.whl

Tags

Capabilities
authentication api clientuser management sdkotp and magic linksso saml oidcsession validationpython auth backenddescope integration
Topics
authenticationidentity-managementapi-client

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 › “otp and magic link”

  • descopeDescope SDK provides Python backend access to Descope's user…
  • django-magiclinkAdds passwordless email-based authentication to Django applications…
  • supabase-authA Python client library for Supabase Auth that handles user…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
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
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also stytch · python3-saml · social-auth-core · supabase-auth · djangosaml2idp2 · authy · django-magiclink · social-auth-app-django · django-auth-adfs · flask-oidc