GithubHelp home page GithubHelp logo

chobbes / docsduck Goto Github PK

View Code? Open in Web Editor NEW
3.0 5.0 0.0 13 KB

Haskell script to upload Moodle grade sheets into DocsDB automagically! Yay magic!

License: MIT License

Nix 5.53% Haskell 94.47%

docsduck's Introduction

DocsDuck

An ugly lil' Haskell program to deal with the even uglier DocsDB.

Installation

It should just install with cabal. You will probably want to install the Haskell Platform.

cabal install --bindir=/path/to/where/you/want/the/bin

If you have nix you can use nix-env -if . on the directory to install DocsDuck, or you can run nix-shell to drop yourself into a shell with all of the necessary dependencies, and run cabal install from there.

Usage

Download a grades sheet containing one set of marks from Moodle in the plain text CSV format, and then run DocsDuck as follows:

DocsDuck ccid docsdb-pass course-number grades.csv "docsdbassignmentname"

DocsDuck will then upload all of the marks to DocsDB and spit out the horrible HTML response so you can see if something went wrong. Make sure that the assignments are out of 100 marks on DocsDB. The assignment name may have a semicolon after any spaces.

Issues

This currently does not work for updating marks because I can't be bothered!

docsduck's People

Contributors

chobbes avatar roshanshariff avatar

Stargazers

 avatar  avatar Justin Hornosty avatar

Watchers

 avatar James Cloos avatar  avatar  avatar  avatar

docsduck's Issues

Updating Marks

Marks can be set, but updating them is currently not possible because DocsDB requires that the old marks be sent back to the server for some mysterious reason.

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.