Git Product home page Git Product logo

acl's People

Contributors

apsknight avatar kaustavbhattacharya07 avatar madhavtummala avatar paladitya avatar rk36 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

acl's Issues

File for Caching the old data.

with open(sys.exec_prefix + "\\attendance_past.txt", "r") as f:

with open(sys.exec_prefix + "\\attendance_past.txt", "w") as f:

@PalAditya What exactly is the intention behind this line?
File paths in Windows and *Nix are a little different.

The file path points to /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7\\attendance_past.txt.
Here first \ is taken as an escape character and the cache file with the name 3.7\attendance_past.txt is created at /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/.

This is bad for two reasons

  1. Need for sudo as mentioned in #4 (comment) only because the file path points to a root location.
  2. The cached file should be specific to a user, so it should be stored inside his/her home directory.

I don't think this was the intention in mind while writing the code, although it works as expected.

Setup continuous deployment to PyPi

Currently, acl can be installed by pip install acl-iitbbs but it isn't in CD with this repo as of now. Look for the possibility to make it CD with this repo.

Incorporate proper testing

Right now, all the travis script does is check if the help function in acl is working or not, so a totally broken implementation of the actual code (fetching attendance) can easily pass.

We need to implement stronger test cases via Pytest and CodeCov.

@apsknight @MadhavChoudhary should we look into something like pycodestyle/pylint to enforce proper formatting as well?

Incorrect Results for missed classes

The 'result' dictionary returned in 'missedClassScrapper.py'' should contain a list of values of all the subjects of which classes are missed. Currently only one subject is showing and the rest are overwritten.

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.