Code Monkey home page Code Monkey logo

olx-utils's Introduction

PyPI version Build Status codecov

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.

olx-utils's People

Contributors

fghaas avatar arbrandes avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.