Coder Social home page Coder Social logo

didelcli's Introduction

didelcli

Build status Coverage status Pypi package

Didel for the command-line (work in progress).

Note on new features

This tool doesn’t cover all features of Didel, I only implemented what I needed, i.e. assignment submissions and some actions on courses.

Feel free to submit a pull request if you want to add another Didel feature support.

didelcli's People

Contributors

bfontaine avatar dependabot[bot] avatar tsalmon avatar

Stargazers

Loïc Runarvot avatar Julien Sagot avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

didelcli's Issues

Giving wrong course name cause an uncaught exception

When running courses:show option, if the course name is incorrect, it makes an uncaught exception.

$ didel courses:show LOV
Traceback (most recent call last):
  File "/usr/local/bin/didel", line 8, in <module>
    load_entry_point('didelcli==0.1.0', 'console_scripts', 'didel')()
  File "/Library/Python/2.7/site-packages/didel/cli.py", line 259, in run
    ret = DidelCli(argv).run()
  File "/Library/Python/2.7/site-packages/didel/cli.py", line 251, in run
    return fun(*argv)
  File "/Library/Python/2.7/site-packages/didel/cli.py", line 128, in action_courses_show
    course = self.get_course(code)
  File "/Library/Python/2.7/site-packages/didel/cli.py", line 42, in get_course
    return s.get_course(code)
  File "/Library/Python/2.7/site-packages/didel/student.py", line 38, in get_course
    c.fetch(self.session)
  File "/Library/Python/2.7/site-packages/didel/base.py", line 64, in fetch
    populate(soup, session)
  File "/Library/Python/2.7/site-packages/didel/courses.py", line 116, in populate
    header = soup.select('.courseInfos')[0]
IndexError: list index out of range

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.