dsciitbbs / acl Goto Github PK
View Code? Open in Web Editor NEWThis project forked from apsknight/acl
Attendance on Command Line
Home Page: https://dsciitbbs.github.io/acl
License: MIT License
This project forked from apsknight/acl
Attendance on Command Line
Home Page: https://dsciitbbs.github.io/acl
License: MIT License
Line 49 in 333ae0a
Line 89 in 333ae0a
@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
sudo
as mentioned in #4 (comment) only because the file path points to a root location.I don't think this was the intention in mind while writing the code, although it works as expected.
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.
Right now, a query is done for every day in the range. Tweak it so that we perform a binary search on the ranges and discard a range in which student was never absent.
See: #4
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?
Update asciinema in README with the latest missed class feature.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.