Kolibri Dynamic Collections plugin
This is a Kolibri plugin for dynamic collections, which are a new way to bundle together content across multiple Kolibri channels. The plugin includes database models and utilities to manage dynamic collections, as well as an editor to create collections from a selection of channels and content nodes.
Usage
Install a release from pypi:
pip install kolibri-dynamic-collections-plugin
Enable the plugin in Kolibri:
kolibri plugin enable kolibri_dynamic_collections_plugin
Development
Getting started
Create a pipenv shell and then install additional dependencies using bootstrap.sh:
pipenv shell
./scripts/bootstrap.sh
Install kolibri-dynamic-collections-plugin in editable mode:
pip install -e .
To build front end code:
yarn build
Refer to the Usage instructions to enable the plugin.
Submitting changes
Before submitting changes, please be sure to run the pre-commit checks:
pre-commit run
If you can configure git to run these checks automatically:
pre-commit install -f --install-hooks
Creating a release
If you are releasing a new version, use bump-version with with major, minor, or patch. For example:
yarn bump-version patch
This creates a new commit and a git tag. Push this to the remote:
git push
git push --tags
Create a .whl file:
yarn dist
The file will be placed in the dist/ directory.
Finally, upload the .whl file to PyPi:
yarn release
Metadata
Release files for kolibri-dynamic-collections-plugin 1.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kolibri_dynamic_collections_plugin-1.5.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Release files / kolibri_dynamic_collections_plugin-1.5.1-py2.py3-none-any.whl
| Download URL | kolibri_dynamic_collections_plugin-1.5.1-py2.py3-none-any.whl |
|---|---|
| Size | 708.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
f5eb9ba95ea3f7fd958ac8dc51196a26416881e346d0a5ea0c752a6b08204b50
|
|
BLAKE2b-256 checksum How to use checksums |
2bcee0be3e81a61fa4efffad02062c7d49a86e79365ab3ddd3874f2137ddbabb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|