Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

uisautomation/lecture-capture-csv-scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moved to https://gitlab.developers.cam.ac.uk/uis/devops/lecture-capture/lecture-capture-csv-scheduler

Schedule Opencast Events from CSV

This repository contains a small utility to schedule Opencast events from an input CSV.

This utility requires at least version 1.1 of the Opencast API. This version was first released in Opencast 6.

Installation

$ pip install git+https://github.com/uisautomation/lecture-capture-csv-scheduler
$ opencast_csv_schedule --help  # print usage summary

Usage

$ echo "super-secret-password" > opencast.password
$ opencast_csv_schedule \
    --input=schedule.csv --base-url=https://opencast.invalid/ \
    --user=some-opencast-user --password-file=opencast.password

Development

When developing this script, it is useful to combine a virtualenv with pip's concept of an "editable" install which uses symlinks instead of copies when installing:

$ git clone [email protected]:uisautomation/lecture-capture-csv-scheduler.git
$ cd lecture-capture-csv-scheduler
$ python3 -m virtualenv ./venv
$ source ./venv/bin/activate
$ pip install -e .

About

Schedule Opencast events from an input CSV

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages