You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zeroth bc001a9da6 test favicon 1 month ago
__pycache__ contextualise fixes and css nicer 8 months ago
pandoc pdfstuff 1 month ago
scores final css 8 months ago
static test favicon 1 month ago
templates test favicon 1 month ago
.gitignore Secret key generation on the device instead of storing it in git 2 months ago
README.md mobile navigation bar improvements + update to requirements.txt 1 month ago
config.py starting point 10 months ago
contextualise.py last score cover edit 1 month ago
contextualise_python2.py app adapted to python2 7 months ago
generate_links.py changes to fix bugs in generate_links 7 months ago
requirements.txt mobile navigation bar improvements + update to requirements.txt 1 month ago
textedit.py changes to fix bugs in generate_links 7 months ago
wordlist.json cleaning up the git repo 1 month ago

README.md

Pushing Scores

The Pushing Scores archival publication

The website was made using Flask, NLTK, Numpy, Pillow, pypandoc, PyPDF2, weasyprint and Python3 and is live at http://pushingscores.deplayer.nl/

How to use the scripts

All of the words on the website have been turned into links. This only needs to be done once, in advance of launching the application. In order to regenerate the links, you must run these two commands in the following order:

python3 textedit.py
python3 generate_links.py

The first script gathers all the files ending in .html, puts them in one single document, and creates wordlist.json, a dictionary that saves the sentences in which every single word appears. The second script goes over the same original files and replaces every word with an appropriate html tag.

Once these two steps have been made, the application can be run using the following command:

FLASK_APP=contextualise.py flask run

The generated scores can be found in scores/

The project was developed by Cristina Cochior and Julie Boschat Thorez, as part of Varia.