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
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
Open-source linguistic ethnography tool for framing public opinion in mediatized groups.

Open-source linguistic ethnography tool for framing public opinion in mediatized groups. Table of Contents Installing Quickstart Links Installing Pyth

Qualichat 7 Jun 02, 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
🐸 Identify anything. pyWhat easily lets you identify emails, IP addresses, and more. Feed it a .pcap file or some text and it'll tell you what it is! 🧙‍♀️

🐸 Identify anything. pyWhat easily lets you identify emails, IP addresses, and more. Feed it a .pcap file or some text and it'll tell you what it is! 🧙‍♀️

Brandon 5.6k Jan 03, 2023
汉字转拼音(pypinyin)

汉字拼音转换工具(Python 版) 将汉字转为拼音。可以用于汉字注音、排序、检索(Russian translation) 。 基于 hotoo/pinyin 开发。 Documentation: http://pypinyin.rtfd.io/ GitHub: https://github.co

Huang Huang 4.2k Jan 03, 2023
Getting git-style versioning working on RDFlib

Getting git-style versioning working on RDFlib

Gabe Fierro 1 Feb 01, 2022
Free & simple way to encipher text

VenSipher VenSipher is a free medium through which text can be enciphered. It can convert any text into an unrecognizable secret text that can only be

3 Jan 28, 2022
This repository contains scripts to control a RGB text fan attached to a Raspberry Pi.

RGB Text Fan Controller This repository contains scripts to control a RGB text fan attached to a Raspberry Pi. Setup The Raspberry Pi and RGB text fan

Luke Prior 1 Oct 01, 2021
🍋 A Python package to process food

Pyfood is a simple Python package to process food, in different languages. Pyfood's ambition is to be the go-to library to deal with food, recipes, on

Local Seasonal 8 Apr 04, 2022
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
Split large XML files into smaller ones for easy upload

Split large XML files into smaller ones for easy upload. Works for WordPress Posts Import and other XML files.

Joseph Adediji 1 Jan 30, 2022
Python port of Google's libphonenumber

phonenumbers Python Library This is a Python port of Google's libphonenumber library It supports Python 2.5-2.7 and Python 3.x (in the same codebase,

David Drysdale 3.1k Dec 29, 2022
utoken is a multilingual tokenizer that divides text into words, punctuation and special tokens such as numbers, URLs, XML tags, email-addresses and hashtags.

utoken utoken is a multilingual tokenizer that divides text into words, punctuation and special tokens such as numbers, URLs, XML tags, email-addresse

Ulf Hermjakob 11 Jan 05, 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
Convert ebooks with few clicks on Telegram!

E-Book Converter Bot A bot that converts e-books to various formats, powered by calibre! It currently supports 34 input formats and 19 output formats.

Youssif Shaaban Alsager 45 Jan 05, 2023
Text to ASCII and ASCII to text

Text2ASCII Description This python script (converter.py) contains two functions: encode() is used to return a list of Integer, one item per character

4 Jan 22, 2022
Python library for creating PEG parsers

PyParsing -- A Python Parsing Module Introduction The pyparsing module is an alternative approach to creating and executing simple grammars, vs. the t

Pyparsing 1.7k Dec 27, 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
Search for terms(word / table / field name or any) under Snowflake schema names

snowflake-search-terms-in-ddl-views Search for terms(word / table / field name or any) under Snowflake schema names Version : 1.0v How to use ? Run th

Igal Emona 1 Dec 15, 2021
JSON and CSV data for Swahili dictionary with over 16600+ words

kamusi JSON and CSV data for swahili dictionary with over 16600+ words. This repo consists of data from swahili dictionary with about 16683 words toge

Jordan Kalebu 8 Jan 13, 2022