Skip to main content

This repository was previously hosted under the hastexo GitHub organization, and moved to cleura in December 2025 as part of a routine repository consolidation.

OLX Utilities

A set of tools to facilitate courseware development using the Open Learning XML (OLX) format.

OLX is sometimes tediously repetitive, and this package enables courseware authors to apply the DRY principle when writing OLX content. It allows you to create templates (using Mako), which in turn enable you to

  • define OLX fragments only once, to reuse them as often as you want (this comes in very handy in using the stackamole XBlock),
  • write courseware content in Markdown,
  • do anything else you would like to do using your own plugins.

Install

Install the olx-utils package from PyPI:

pip install olx-utils

Apply templates to a course

In order to create a new course run named newrun, starting on May 1, 2026 and ending on October 31, 2027, change into your courseware checkout and run:

olx new-run -b newrun 2026-05-01 2027-10-31

The -b option causes your rendered OLX to be added to a new Git branch named run/newrun, which you can then import into your Open edX content store.

You can also invoke olx new-run as new_run.py. However, this is deprecated and its use is discouraged. new_run.py will go away in a future release.

License

This package is licensed under the GNU Affero GPL; see LICENSE for details.

Metadata

Release files for olx-utils 0.6.0

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

Source distribution (sdist)

Source distribution for olx-utils 0.6.0
File Size Uploaded Provenance Actions
olx_utils-0.6.0.tar.gz 514.1 kB With provenance Details for olx_utils-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for olx-utils 0.6.0
File Interpreter ABI Platform Actions
olx_utils-0.6.0-py3-none-any.whl Python 3 none any Details for olx_utils-0.6.0-py3-none-any.whl

Total release size: 541.2 kB

Release files / olx_utils-0.6.0.tar.gz

Download URL olx_utils-0.6.0.tar.gz
Size 514.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e840a69ec089d9711ec6b41e58aa9d6482e642cbab47208b98ac0ac667077841
BLAKE2b-256 checksum
How to use checksums
3c29c5120f3292aced9c1dd343afb3472da72a9fbaaa35e5b7d5ab737badd5a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / olx_utils-0.6.0-py3-none-any.whl

Download URL olx_utils-0.6.0-py3-none-any.whl
Size 27.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3805f1ca7eadde8e10569a42f69a9677e0bf57813fb408c60253bf6236390bed
BLAKE2b-256 checksum
How to use checksums
f34962daae474d2624532bb812358c762e70d54fde6fb74e2c95092c2c124346
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Security for olx-utils 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for olx_utils-0.6.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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