Skip to main content

PyPI version Build Status

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 hastexo 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, 2017 and ending on October 31, 2017, simply change into your courseware checkout and run:

olx new-run -b newrun 2019-01-01 2019-12-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.4.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.4.0
File Size Uploaded
olx-utils-0.4.0.tar.gz 509.9 kB Details

Release files / olx-utils-0.4.0.tar.gz

Download URL olx-utils-0.4.0.tar.gz
Size 509.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e81b3b627b26bae1eec14d9dcd7c7b387883a37201e1dc7a1602ee38d92e3336
BLAKE2b-256 checksum
How to use checksums
14044ecc5c04cd98338b9c69c098e1f8c1e0cec92060296490f2cd18350b9f42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.4.0 This release

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

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