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

Uploaded Python 3

File details

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

File metadata

  • Download URL: tutor_contrib_pok-19.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 70b51329a9e8d35e2c91e60a3a48f6d49e34ab210c2f3464d14d1dac9ab8af7c
MD5 892bf43eccf2cafa769b2e5c9144a40b
BLAKE2b-256 54205c46bb5476e69c19a23f851949f68cd06874c4802da8fc50cb9935112407

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tutor_contrib_pok-19.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ba5068461962f92e8067aa8226a4dcb7fdb4747bf596e45e36da4a5eb9957b87
MD5 2bd2aa215db74617cc06e388476a5985
BLAKE2b-256 86033e190cb3b51996365fc6ea5a3dbed39b7534af00337353a7ec7ad9874e10

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