Tools to extract questionaire of finalexam.eu and provide interactive questionaire with summary

Related tags

Text Processingask-me
Overview

AskMe

This script is completely terminal based. No user interface is added. You can get the command line options by using the --help argument.

Make sure the config.yml is placed in the same directory. The configuration is needed to access all necessary information.

Extracting data: python ./ExtractQuestions.py extracted_data.yml or python ./ExtractQuestions.py --json extracted_data.json

Using questionaire: python ./AskMe.py extracted_data.yml or python ./AskMe.py --json extracted_data.json

Requirements

You will need Python with the Numpy and PyYaml library.

Linux

  1. Install packages python and python-pip:
    • Ubuntu: sudo apt install python python-pip
    • Arch: sudo pacman install python python-pip
  2. Check your install via pip3 --version and python --version
  3. Install Numpy: sudo pip3 install numpy
  4. Install Numpy: sudo pip3 install pyyaml
  5. Run the script via python AskMe.py

Windows

  1. Install python (latest release): https://www.python.org/downloads/windows/
  2. Check your install via pip3 --version and python --version
  3. Install numpy: pip3 install numpy
  4. Install Numpy: sudo pip3 install pyyaml
  5. Run the script via python AskMe.py in terminal or double click the script
    • If double click opens the script in a text editor, then right-click the file -> Open With... -> Python

Mac

  1. Install python (latest release): https://www.python.org/downloads/mac-osx/
  2. Check your install via pip3 --version and python --version
  3. Install numpy: pip3 install Numpy
  4. Install Numpy: sudo pip3 install pyyaml
  5. Run the script via python AskMe.py in terminal
    • Maybe the script is executable. I can't check it because of missing access to apple devices.
    • If the script is not executable, you can build the executable via pyinstaller.

Build executable on Windows/Mac/Linux

  1. Install pyinstaller:
    • Linux: sudo pip3 install pyinstaller
    • Windows: pip3 install pyinstaller
    • Mac: pip3 install pyinstaller
  2. Run pyinstaller --onefile AskMe.py
  3. Check created dist directory for executable

Extract questions from website

  1. Use your web browser to visit finalexam.eu
  2. Login with your credentials
  3. Open web console
  4. Go to storage and extract your cookie string
  5. Enter your cookie string into the config.yaml
  6. Start ExtractQuestions.py and you will receive all questions as yaml or json
Owner
David Loewe
B. Sc. Mathematics, M. Sc. Informatics, Software Developer/Engineer, Location-independent, Open-minded
David Loewe
A query extract python package

A query extract python package

Fayas Noushad 4 Nov 28, 2021
Bidirectionally transformed strings

bistring The bistring library provides non-destructive versions of common string processing operations like normalization, case folding, and find/repl

Microsoft 352 Dec 19, 2022
Migrates translations to the REDCap native Multi-Language Management system

Automates much of the process of moving translations from the old Multilingual external module to the newer built-in Multi-Language Management (MLM) page.

UCI MIND 3 Sep 27, 2022
This is REST-API for Indonesian Text Summarization using Non-Negative Matrix Factorization for the algorithm to summarize documents and FastAPI for the framework.

Indonesian Text Summarization Using FastAPI This is REST-API for Indonesian Text Summarization using Non-Negative Matrix Factorization for the algorit

Viqi Nurhaqiqi 2 Nov 03, 2022
Maiden & Spell community player ranking based on tournament data.

MnSRank Maiden & Spell community player ranking based on tournament data. Why? 2021 just ended and this seemed like a cool idea. Elo doesn't work well

Jonathan Lee 1 Apr 20, 2022
Extract knowledge from raw text

Extract knowledge from raw text This repository is a nearly copy-paste of "From Text to Knowledge: The Information Extraction Pipeline" with some cosm

Raphael Sourty 10 Dec 03, 2022
Question answering on russian with XLMRobertaLarge as a service

QA Roberta Ru SaaS Question answering on russian with XLMRobertaLarge as a service. Thanks for the model to Alexander Kaigorodov. Stack Flask Gunicorn

Gladkikh Prohor 21 Jul 04, 2022
a python package that lets you add custom colors and text formatting to your scripts in a very easy way!

colormate Python script text formatting package What is colormate? colormate is a python library that lets you add text formatting to your scripts, it

Rodrigo 2 Dec 14, 2022
"Complexity" of Flags of the countries of the world

"Complexity" of Flags of the countries of the world Flags (png) from: https://flagcdn.com/w2560.zip https://flagpedia.net/download/images run: chmod +

Alexander Lelchuk 1 Feb 10, 2022
A python Tk GUI that creates, writes text and attaches images into a custom spreadsheet file

A python Tk GUI that creates, writes text and attaches images into a custom spreadsheet file

Mirko Simunovic 13 Dec 09, 2022
strbind - lapidary text converter for translate an text file to the C-style string

strbind strbind - lapidary text converter for translate an text file to the C-style string. My motivation is fast adding large text chunks to the C co

Mihail Zaytsev 1 Oct 22, 2021
Code Jam for creating a text-based adventure game engine and custom worlds

Text Based Adventure Jam Author: Devin McIntyre Our goal is two-fold: Create a text based adventure game engine that can parse a standard file format

HTTPChat 4 Dec 26, 2021
A minimal code sceleton for a textadveture parser written in python.

Textadventure sceleton written in python Use with a map file generated on https://www.trizbort.io Use the following Sockets for walking directions: n

1 Jan 06, 2022
Export solved codewars kata challenges to a text file.

Codewars Kata Exporter Note:this is not totally my work.i've edited the project to make more easier and faster for me.you can find the original work h

Oussama Ben Sassi 4 Aug 13, 2021
Auto translate Localizable.strings for multiple languages in Xcode

auto_localize Auto translate Localizable.strings for multiple languages in Xcode Usage put your origin Localizable.strings file in folder pip3 install

Wesley Zhang 13 Nov 22, 2022
A generator library for concise, unambiguous and URL-safe UUIDs.

Description shortuuid is a simple python library that generates concise, unambiguous, URL-safe UUIDs. Often, one needs to use non-sequential IDs in pl

Stavros Korokithakis 1.8k Dec 31, 2022
Widevine KEY Extractor in Python

Widevine Client 3 This was originally written by T3rry7f. This repo is slightly modified version of his repo. This only works on standard Windows! Usa

Vank0n (SJJeon) 68 Dec 29, 2022
Paranoid text spacing in Python

pangu.py Paranoid text spacing for good readability, to automatically insert whitespace between CJK (Chinese, Japanese, Korean) and half-width charact

Vinta Chen 194 Nov 19, 2022
Fuzzy String Matching in Python

FuzzyWuzzy Fuzzy string matching like a boss. It uses Levenshtein Distance to calculate the differences between sequences in a simple-to-use package.

SeatGeek 8.8k Jan 08, 2023
Vastasanuli - Vastasanuli pelaa Sanuli-peliä.

Vastasanuli Vastasanuli pelaa SANULI -peliä. Se ei aina voita. Käyttö Tarttet Pythonin (3.6+). Aja make (tai lataa words.txt muualta) Asentele vaaditt

Aarni Koskela 1 Jan 06, 2022