Giter Club home page Giter Club logo

qrunch's Introduction

qrunch

tkinter for making flash cards out of your quizzes; made for crunching from question banks, effectively

Setup

Ensure to have Python 3.x installed with path variables enabled

After cloning/downloading the repo, run pip install -r requirements.txt

Usage

The HTML Processor

compProcessor.py uses BeautifulSoup4 to create a sensible JSON file out of the HTML question refernce. The question data is originally obtained from the uni portal as an export of the HTML table. The table's data patterns were recognized to have <span> data tags in each table row for the options to a question so converting them into an array of options to a particular question became easy.

The Quiz App

If your question data file has the answers set already, run player.pyw by double clicking it and make option choices from the visible items

Right answer is highlighted green, wrong in red

The JSON Editor App

If your answers are to be set manually, run setter_random.pyw or setter_sequential.pyw by double clicking; Select an option and click save to save the option value to the bank file (output.json) You may also wish to manually make changes to the output.json file's answer field by changing it to a value desired (starting from 1).

Note: the "mark" field generated from setter programs are an indicator of whether a question has been visited.

Suggest changes/features in Issues

Meta

Upcoming improvements โ€”

  • File refactoring
  • Extended features
  • Better UI
  • Improved data pre-processing

qrunch's People

Contributors

hsad1644 avatar

Watchers

 avatar

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.