Skip to main content

mitol-django-digital-credentials

This is the Open Learning Django Digital Credentials app. Provides the following functionality:

  • Data models:
    • DigitalCredentialRequest - a one-time use credential request that is bound to a courseware object and a learner
    • LearnerDID - a record of which DID(s) are bound to any given user. This guarantees we won't allow a DID to be used for a different user once bound.
    • DigitalCredential - a record of the signed digital credential, the courseware object, and the learner whom it is for
  • Django admin UI for these models
  • /credentials/request/<uuid>/ API for requesting credentials
    • Requires OAuth2 authentication provided by django-oauth-toolkit

Getting started

pip install mitol-django-digital-credentials

Add the digital credentials app:

INSTALLED_APPS = [
    ...
    "mitol.digitalcredentials.apps.DigitalCredentialsApp",
]

Settings

Common Django settings

Digital Credentials app settings

  • MITOL_DIGITAL_CREDENTIALS_VERIFY_SERVICE_BASE_URL - the base url for the hosted sign-and-verify service
  • MITOL_DIGITAL_CREDENTIALS_BUILD_CREDENTIAL_FUNC - a function to build the credential document

Metadata

Release files for mitol-django-digital-credentials 2026.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mitol-django-digital-credentials 2026.4.2
File Size Uploaded Provenance Actions
mitol_django_digital_credentials-2026.4.2.tar.gz 9.0 kB With provenance Details for mitol_django_digital_credentials-2026.4.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mitol-django-digital-credentials 2026.4.2
File Interpreter ABI Platform Actions
mitol_django_digital_credentials-2026.4.2-py3-none-any.whl Python 3 none any Details for mitol_django_digital_credentials-2026.4.2-py3-none-any.whl

Total release size: 24.2 kB

Release files / mitol_django_digital_credentials-2026.4.2.tar.gz

Download URL mitol_django_digital_credentials-2026.4.2.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
20e3e17a28efeb24f9fb10762ea3798d14e3c29e75769c2048f52621752e7d5f
BLAKE2b-256 checksum
How to use checksums
475c227cf5a306bcb1201878d1a269c2bb065fc47a1d2533c39e90402fcc0b8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 28, 2026.

Transparency log

Release files / mitol_django_digital_credentials-2026.4.2-py3-none-any.whl

Download URL mitol_django_digital_credentials-2026.4.2-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cab2fcef7895fefaaf2b9d992c18a8861050a7f5163664344a656d405324929a
BLAKE2b-256 checksum
How to use checksums
b39ffc38e7f40e78c61ccf70a9cda5be3c21e1bf9748909b85d52f342e6d64d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 28, 2026.

Transparency log

Security for mitol-django-digital-credentials 2026.4.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mitol_django_digital_credentials-2026.4.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page