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 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
Um simulador de caixa registradora com database usando arquivos .txt

🛒 Caixa Registradora V2 ❓ - Como usar? Execute o caixa-registradora.py, nele vai ter um menu interativo, você pode cadastrar diversos produtos em um

Gabriel 0 Sep 25, 2022
Make writing easier!

Handwriter Make writing easier! How to Download and install a handwriting font, or create a font from your handwriting. Use a word processor like Micr

64 Dec 25, 2022
Python character encoding detector

Chardet: The Universal Character Encoding Detector Detects ASCII, UTF-8, UTF-16 (2 variants), UTF-32 (4 variants) Big5, GB2312, EUC-TW, HZ-GB-2312, IS

Character Encoding Detector 1.8k Jan 08, 2023
Little python script + dictionary to help solve Wordle puzzles

Wordle Solver Little python script + dictionary to help solve Wordle puzzles Usage Usage: ./wordlesolver.py [letters in word] [letters not in word] [p

Luke Stephens (hakluke) 4 Jul 24, 2022
ChirpText is a collection of text processing tools for Python 3.

ChirpText is a collection of text processing tools for Python 3. It is not meant to be a powerful tank like the popular NTLK but a small package which

Le Tuan Anh 5 Nov 30, 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
split Word file by chapter

split Word file by chapter we use the mircosoft word api to code this tool api url:https://docs.microsoft.com/zh-cn/dotnet/api/ if this tool is good f

wisdom under lemon trees 5 Nov 06, 2021
一款高性能敏感词(非法词/脏字)检测过滤组件,附带繁体简体互换,支持全角半角互换,汉字转拼音,模糊搜索等功能。

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

ToolGood 3.6k Jan 07, 2023
WorldCloud Orçamento de Estado 2022

World Cloud Orçamento de Estado 2022 What it does This script creates a worldcloud, masked on a image, from a txt file How to run it? Install all libr

Jorge Gomes 2 Oct 12, 2021
Goblin-sim - Procedural fantasy world generator

goblin-sim This project is an attempt to create a procedural goblin fantasy worl

3 May 18, 2022
A non-validating SQL parser module for Python

python-sqlparse - Parse SQL statements sqlparse is a non-validating SQL parser for Python. It provides support for parsing, splitting and formatting S

Andi Albrecht 3.1k Jan 04, 2023
Umamusume story patcher with python

umamusume-story-patcher How to use Go to your umamusume folder, usually C:\Users\user\AppData\LocalLow\Cygames\umamusume Make a mods folder and clon

8 May 07, 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
REST API for sentence tokenization and embedding using Multilingual Universal Sentence Encoder.

MUSE stands for Multilingual Universal Sentence Encoder - multilingual extension (supports 16 languages) of Universal Sentence Encoder (USE).

Dani El-Ayyass 47 Sep 05, 2022
Compute distance between sequences. 30+ algorithms, pure python implementation, common interface, optional external libs usage.

TextDistance TextDistance -- python library for comparing distance between two or more sequences by many algorithms. Features: 30+ algorithms Pure pyt

Life4 3k Jan 02, 2023
Implementation of hashids (http://hashids.org) in Python. Compatible with Python 2 and Python 3

hashids for Python 2.7 & 3 A python port of the JavaScript hashids implementation. It generates YouTube-like hashes from one or many numbers. Use hash

David Aurelio 1.4k Jan 02, 2023
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
Fixes mojibake and other glitches in Unicode text, after the fact.

ftfy: fixes text for you print(fix_encoding("(ง'⌣')ง")) (ง'⌣')ง Full documentation: https://ftfy.readthedocs.org Testimonials “My life is li

Luminoso Technologies, Inc. 3.4k Jan 08, 2023
Athens: a great tool for taking notes and organising knowldge

AthensSyncer Athens is a great tool for taking notes and organising knowldge. But it is a bummer that you cannot use it accross multiple devices. Well

6 Dec 14, 2022