Skip to main content

What is this?

Kolibri is a Learning Management System / Learning App designed to run on low-power devices, targeting the needs of learners and teachers in contexts with limited infrastructure. See learningequality.org/kolibri for more info.

Perseus is Khan Academy’s exercise question editor and renderer. See github.com/Khan/perseus for more info.

This package is a wrapper around Perseus which allows it to be embedded and used within Kolibri.

Installation

This plugin is bundled with Kolibri - it is unlikely that you need to install it.. If you are running a custom version, you can install it like this:

  1. Inside your Kolibri virtual environment:

    pip install kolibri-perseus-exercise-plugin
  2. Activate the plugin:

    kolibri plugin kolibri_exercise_perseus_plugin enable
  3. Restart Kolibri.

Getting started with development

  1. Clone this repo.

  2. Open terminal in your Kolibri repo.

  3. Run the following commands, with your Kolibri development virtual env enabled:

    make clean
    pip install -e .
    pip install -e <KOLIBRI-PERSEUS-PLUGIN-LOCAL-PATH>
    kolibri plugin kolibri_exercise_perseus_plugin enable
  4. Within the perseus plugin repo directory, run the following command, again using your kolibri dev virtualenv:

    cd kolibri_exercise_perseus_plugin
    yarn install
    cd ..
    make dist

Updating translation strings

Follow the directions in our Kolibri i18n docs.

Release process and versioning

The versioning and releasing of this kolibri_exercise_perseus_plugin plugin is independent of both Kolibri and Perseus. We use semantic versioning, and create release branches for each minor release.

How to publish to PyPi?

When publishing, you’ll need a GPG key to sign the package and associate it with your identity. You’ll need to have gpg on your path. Some resources that might be helpful:

You’ll also need an account on PyPi with access to the kolibri-exercise-perseus-plugin package

Next, follow these steps carefully:

  1. Follow the instructions above to installing the plugin for development.

  2. Run pip install twine.

  3. Update the version number in kolibri_exercise_perseus_plugin/__init__.py. Commit it to the perseus release branch. Tag a new release using github’s web UI.

  4. Check out the tagged commit and ensure that you have no local changes.

  5. Build the frontend assets and .whl file by running:

    make dist
  6. Check that there are CSS, JS, and JSON files when searching the wheel file for kolibri_exercise_perseus_plugin:

    unzip -vl dist/[GENERATED WHEEL FILE NAME] | grep exercise_perseus_render_module
  7. Sign and publish to PyPi:

    make release

Known issues

Development installation version not active

If you ran make dist or make pex on Kolibri with kolibri-exercise-perseus-plugin==x.x.x present in kolibri/requirements/base.txt, Kolibri will generate an kolibri_exercise_perseus_plugin instance inside its kolibri/dist folder and bundle it for further distribution. That means manually installing kolibri_exercise_perseus_plugin for development won’t take any effects. One way to fix this issue is to run make clean on Kolibri.

How can I contribute?

Thanks for your interest! Please see the contributing section of our online developer documentation.

Release files for kolibri-exercise-perseus-plugin 1.1.5

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

Built distribution (wheel)

Table of built distributions (wheels) for kolibri-exercise-perseus-plugin 1.1.5
File Interpreter ABI Platform
kolibri_exercise_perseus_plugin-1.1.5-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / kolibri_exercise_perseus_plugin-1.1.5-py2.py3-none-any.whl

Download URL kolibri_exercise_perseus_plugin-1.1.5-py2.py3-none-any.whl
Size 8.8 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
46dd840d620ed59cdf0792e9f03ebc2559f7bb0ba2cb2c24431356f192858e81
BLAKE2b-256 checksum
How to use checksums
786ecce6ceb7f04af741dd5c80a2137379545669be7d493e506e3d1fc3efab72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.6 CPython/2.7.12

Release history Release notifications | RSS feed

1.3.5

1 release file

1.3.4

1 release file

1.3.3

1 release file

1.3.2

1 release file

1.3.1

1 release file

1.3.0

1 release file

1.2.1

1 release file

1.2.0

1 release file

1.1.12

1 release file

1.1.11

1 release file

1.1.10

1 release file

1.1.9

1 release file

1.1.8

1 release file

1.1.7

1 release file

1.1.6

1 release file

This release

1.1.5 This release

1 release file

1.1.3

1 release file

1.1.2

1 release file

1.1.1

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.7.5

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.16

2 release files

0.6.15

2 release files

0.6.13

2 release files

0.6.12

2 release files

0.6.11

2 release files

0.6.10

2 release files

0.6.9

2 release files

0.6.8

2 release files

0.6.7

2 release files

0.6.6

2 release files

0.6.5

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

0.5.1

2 release files

0.5.0

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.9

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

1 release file

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

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