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
Repositori untuk belajar pemrograman Python dalam bahasa Indonesia

Python Repositori ini berisi kumpulan dari berbagai macam contoh struktur data, algoritma dan komputasi matematika yang diimplementasikan dengan mengg

Bellshade 111 Dec 19, 2022
Format Covid values to ASCII-Table (Only for Germany and Austria)

Covid-19-Formatter (Only for Germany and Austria) Dieses Script speichert die gemeldeten Daten des RKIs / BMSGPK und formatiert diese zu einer Asci Ta

56 Jan 22, 2022
A username generator made from French Canadian most common names.

This script is used to generate a username list using the most common first and last names in Quebec in different formats. It can generate some passwords using specific patterns such as Tremblay2020.

5 Nov 26, 2022
Repository containing the code for An-Gocair text normaliser

Scottish Gaelic Text Normaliser The following project contains the code and resources for the Scottish Gaelic text normalisation project. The repo can

3 Jun 28, 2022
Username reconnaisance tool that checks the availability of a specified username on over 200 websites.

Username reconnaisance tool that checks the availability of a specified username on over 200 websites. Installation & Usage Clone from Github: $ git c

Richard Mwewa 20 Oct 30, 2022
TextStatistics - Get a text file wich contains English text

TextStatistics This program get a text file wich contains English text. The program analyses the text, and print some information. For this program I

2 Nov 15, 2021
Python tool to make adding to your armory spreadsheet armory less of a pain.

Python tool to make adding to your armory spreadsheet armory slightly less of a pain by creating a CSV to simply copy and paste.

1 Oct 20, 2021
Microsoft's Cascadia Code font customized to my liking.

Microsoft's Cascadia Code font customized to my liking. Also includes some simple batch patch and bake scripts to batch patch glyphs and bake font features into fonts!

Frederik List 3 Jan 29, 2022
Fuzzy string matching like a boss. It uses Levenshtein Distance to calculate the differences between sequences in a simple-to-use package.

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

SeatGeek 1.2k Jan 01, 2023
Hotpotato is a recipe portfolio App that assists users to discover and comment new recipes.

Hotpotato Hotpotato is a recipe portfolio App that assists users to discover and comment new recipes. It is a fullstack React App made with a Redux st

Nico G Pierson 13 Nov 05, 2021
🚩 A simple and clean python banner generator - Banners

🚩 A simple and clean python banner generator - Banners

Kumar Vicku 12 Oct 09, 2022
Hamming code generation, error detection & correction.

Hamming code generation, error detection & correction.

Farhan Bin Amin 2 Jun 30, 2022
This is a text summarizing tool written in Python

Summarize Written by: Ling Li Ya This is a text summarizing tool written in Python. User Guide Some things to note: The application is accessible here

Marcus Lee 2 Feb 18, 2022
一款高性能敏感词(非法词/脏字)检测过滤组件,附带繁体简体互换,支持全角半角互换,汉字转拼音,模糊搜索等功能。

一款高性能非法词(敏感词)检测组件,附带繁体简体互换,支持全角半角互换,获取拼音首字母,获取拼音字母,拼音模糊搜索等功能。

ToolGood 3.6k Jan 07, 2023
CowExcept - Spice up those exceptions with cowexcept!

CowExcept - Spice up those exceptions with cowexcept!

James Ansley 41 Jun 30, 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
Python Q&A for Network Engineers

Q & A I am often asked questions about how to solve this or that problem, and I decided to post these questions and solutions here, in case it is also

Natasha Samoylenko 30 Nov 15, 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
This project is a small tool for processing url-containing texts delivered by HUAWEI Share on Windows.

hwshare_helper This project is a small tool for handling url-containing texts delivered by HUAWEI Share on Windows. config Before use, please install

1 Jan 19, 2022
A collection of pre-commit hooks for handling text files.

texthooks A collection of pre-commit hooks for handling text files. In particular, hooks for handling unicode characters which may be undesirable in a

Stephen Rosen 5 Oct 28, 2022