Skip to main content

A script for the compilation of PollEverywhere history CSV files into more usable forms.

Project description

PollEvHistoryCompiler

Have you ever wanted to compile your Poll Everywhere history into a more usable form? This project allows you to use a script to load it into almost any form you want! You can filter by presenter, and use different types of encodings so that you can load polls with almost any data in them. Right now most of the support is for Multiple choice type polls.

Installation

There are two approaches to the installation of this package/script. Clone the repository, and within the root folder run:

pip install .

Install the package from PyPI:

pip install pollev-history-compiler

Usage

It works as follows as a command-line script.

pollev-compiler <INPUT CSV> <TRANSFORM (json, yaml, toml, etc.)> --output-file <OUTPUT PATH (dir)> <OPTIONS>

If no output path is supplied, the script will use the

Good options include presenter name:

pollev-compiler <INPUT CSV> <TRANSFORM (json, yaml, toml, etc.)>  --output-file <OUTPUT PATH (dir)> --presenter <NAME> <OPTIONS>

Remove hidden questions from the result:

pollev-compiler <INPUT CSV> <TRANSFORM (json, yaml, toml, etc.)>  --output-file <OUTPUT PATH (dir)> --remove_hidden

Remove image-related questions from the result:

pollev-compiler <INPUT CSV> <TRANSFORM (json, yaml, toml, etc.)>  --output-file <OUTPUT PATH (dir)> --remove_images

Markdown format is now supported!

pollev-compiler <INPUT CSV> markdown

This process uses markdownify to turn the pre-existing HTML functionality into a markdown file.

You can now use the --quiz_mode option in the html transform to turn the output to a interactable quiz that highlights your guesses, and your score on the quiz (correct over total). You can do this like:

pollev-compiler <INPUT CSV> html --quiz_mode

The output consists of a JavaScript file, CSS file, and HTML file. Without quiz mode, the JavaScript file isn't added.

Documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pollev-history-compiler-1.0.3.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pollev_history_compiler-1.0.3-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file pollev-history-compiler-1.0.3.tar.gz.

File metadata

  • Download URL: pollev-history-compiler-1.0.3.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pollev-history-compiler-1.0.3.tar.gz
Algorithm Hash digest
SHA256 5931ccddc4fb4ebb8a06360a8a48b21fbd946fc18d696d26b6478c8aa1a6b641
MD5 9205f3b455f498bd6056dd55bfe2f8b3
BLAKE2b-256 53edcb57bdb022456f70b67ae6ca2da7121a154081d43922da1b6a267b4307a7

See more details on using hashes here.

File details

Details for the file pollev_history_compiler-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for pollev_history_compiler-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 314e853e9236ac61822f29dbdc00b64c4656e91932f9198391f9bbe28f9ff4e1
MD5 babf52455ef4187379f3c8d31ddc0217
BLAKE2b-256 799800b4b9baeb5ea09c085586d254a2e0e3e050ab7d6e0ffff2a842fbb4fdb1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page