Skip to main content

Tutor plugin to integrate POK certificates into Open edX

Project description

Tutor plugin to integrate POK certificates into Open edX

About POK

POK revolutionizes credential management with powerful analytics and branding capabilities.

Smart Credentials

Track the real impact of your credentials with real-time metrics. See how many are viewed, shared on LinkedIn, or downloaded. Understand how they create career opportunities and improve your strategy based on concrete data.

Brand Customization

Customize every aspect of your credential experience - from pages to emails - with your logo, colors, and messages. Support for AI-powered automatic translations ensures a consistent brand experience globally.

Actionable Insights

Capture leads from your branded pages, access valuable insights on credential interactions, and download reports with one click. Our learning paths and analytics dashboards help improve user retention and drive growth.

Installation

pip install git+https://github.com/aulasneo/tutor-contrib-pok

Usage

tutor plugins enable pok

After enabling the plugin, enable POK globally by creating and enabling the module_pok.enable waffle flag in the LMS:

  • In the LMS Django Admin: Waffle -> Flags

  • Create a flag named module_pok.enable and set it to “Active” (global ON)

By default, POK certificates are disabled until this flag is turned on. You can also set course or organization-specific overrides in the waffle flags configuration for more granular control.

Configuration

The following settings can be configured in your Tutor environment:

  • POK_API_KEY: (Required) The API key for authenticating with the POK service. This key is used to validate requests between your Open edX instance and POK.

  • POK_TEMPLATE_ID: (Optional) The default template ID to use for certificates when no course-specific template is specified. If not set, you’ll need to configure templates for each course individually.

Example configuration in config.yml:

POK_API_KEY: "your-api-key-here"
POK_TEMPLATE_ID: "default-template-id"  # Optional

Django Admin Configuration

After installation, two new sections will be available in the Django admin interface under “POK”:

  1. Certificate Templates

    • Map POK templates to specific courses

    • Fields:

      • Course: Select the course for this template

      • Template ID: The POK template ID to use

      • Emission Type (Optional):

        • ‘POK’ for standard PDF certificates (default)

        • ‘Blockchain’ for NFT certificates

      • Page ID (Optional): Custom page ID if defined in your POK site

  2. POK Certificates

    • View and manage issued POK certificates

To access these settings:

  1. Log in to the Django admin interface

  2. Navigate to the “POK” section

  3. Click on “Certificate templates” to manage course-specific templates

  4. Click on “POK certificates” to view issued certificates

Version Management

This project uses bump2version to manage version numbers. The version is maintained in tutorpok/__about__.py.

To install bump2version:

pip install bump2version

To bump the version:

  • For bug fixes (0.0.x): bump2version patch

  • For new features (0.x.0): bump2version minor

  • For breaking changes (x.0.0): bump2version major

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tutor_contrib_pok-19.1.2.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tutor_contrib_pok-19.1.2-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

Details for the file tutor_contrib_pok-19.1.2.tar.gz.

File metadata

  • Download URL: tutor_contrib_pok-19.1.2.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for tutor_contrib_pok-19.1.2.tar.gz
Algorithm Hash digest
SHA256 916d5418762fee7083ad23980768ab264c4bdf98f18fbd55cd164c7f727769a9
MD5 4ba713de903d7a7a879e2dfab83a53b3
BLAKE2b-256 7869543daee82ea1831acf48a905e7ca21890dd4ae48c5b7ca0ba88a519e50c0

See more details on using hashes here.

File details

Details for the file tutor_contrib_pok-19.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for tutor_contrib_pok-19.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 540123263e7bf240496e78bf475b2e123618d4b05a8c479426a70a1ff9463e9e
MD5 bd24020bf3290c1644694811981b1b99
BLAKE2b-256 8f7858c7ec8b1ab3a1f04d9045c4ebe99d637adaef0b6efbb0eb28e22fa13c50

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page