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.0.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.0-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tutor_contrib_pok-19.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 027454fcf899f1a66d7bdeff9a57947c7fa8e3682838bb3473e1cfe2f84ad17c
MD5 0bf9d4ac7117c9bb90ac6f0732af00b6
BLAKE2b-256 ffc6d8f8bab1af90313d4aff8e410a94804ac715e884d0021526b0467e3e56d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tutor_contrib_pok-19.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c70a652ae2a7e6eacf16495e5bcef53af0adb263af3946dfea3caf75e1588fac
MD5 e5987be3ae53e1d322ca215bae641b63
BLAKE2b-256 fad1be0d9c99239c8dd4ad528a4cb25c8e6f1eab273b4d77d5a9ca62fb12e6a1

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