Commits on Source (89)
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Anton Akhmerov authored
Use SQLAlchemy cascades for deleting objects Closes #308 See merge request zesje/zesje!160
-
Ruben Young On authored
-
Ruben Young On authored
-
Ruben Young On authored
-
Ruben Young On authored
-
Ruben Young On authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Anton Akhmerov authored
Run Redis from Conda and add environment.yml Closes #237 and #313 See merge request zesje/zesje!152
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Ruben Young On authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Anton Akhmerov authored
Use PikePDF and split into pages before feeding to Wand Closes #322 See merge request zesje/zesje!161
-
Anton Akhmerov authored
Use pylibdmtx for datamatrix generation and fix datamatrix consistency Closes #323 and #319 See merge request zesje/zesje!158
-
Joseph Weston authored
-
Joseph Weston authored
-
Joseph Weston authored
-
Ruben Young On authored
-
Ruben Young On authored
-
Ruben Young On authored
-
Ruben Young On authored
-
Ruben Young On authored
-
Ruben Young On authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Hugo Kerstens authored
-
Ruben Young On authored
-
Ruben Young On authored
-
Ruben Young On authored
-
Ruben Young On authored
-
Ruben Young On authored
-
Ruben Young On authored
-
Ruben Young On authored
-
Ruben Young On authored
-
Ruben Young On authored
-
Ruben Young On authored
-
Ruben Young On authored
-
Ruben Young On authored
-
Ruben Young On authored
-
Ruben Young On authored
-
Ruben Young On authored
-
Ruben Young On authored
-
Hugo Kerstens authored
-
Ruben Young On authored
-
Anton Akhmerov authored
Check image dimensions for image extraction See merge request zesje/zesje!162
-
Anton Akhmerov authored
Use reportlab for generating solution pdf Closes #329 See merge request zesje/zesje!166
-
Ruben Young On authored
-
Ruben Young On authored
-
Ruben Young On authored
-
Ruben Young On authored
-
Ruben Young On authored
-
Ruben Young On authored
-
RABijl authored
-
RABijl authored
-
RABijl authored
-
RABijl authored
Showing
- .gitlab-ci.yml 4 additions, 2 deletions.gitlab-ci.yml
- Dockerfile 21 additions, 12 deletionsDockerfile
- README.md 7 additions, 10 deletionsREADME.md
- barcode_example_generator.py 19 additions, 16 deletionsbarcode_example_generator.py
- client/components/barcode_example.png 0 additions, 0 deletionsclient/components/barcode_example.png
- client/views/ExamEditor.jsx 1 addition, 0 deletionsclient/views/ExamEditor.jsx
- environment.yml 57 additions, 0 deletionsenvironment.yml
- package.json 1 addition, 1 deletionpackage.json
- redis.conf 2 additions, 0 deletionsredis.conf
- requirements-dev.txt 0 additions, 7 deletionsrequirements-dev.txt
- requirements.txt 0 additions, 34 deletionsrequirements.txt
- tests/conftest.py 9 additions, 1 deletiontests/conftest.py
- tests/data/single-image-a4.pdf 0 additions, 0 deletionstests/data/single-image-a4.pdf
- tests/data/two-images-a4.pdf 0 additions, 0 deletionstests/data/two-images-a4.pdf
- tests/test_database.py 140 additions, 1 deletiontests/test_database.py
- tests/test_images.py 95 additions, 0 deletionstests/test_images.py
- tests/test_scans.py 19 additions, 0 deletionstests/test_scans.py
- tests/test_three_corners.py 0 additions, 48 deletionstests/test_three_corners.py
- zesje/api/exams.py 6 additions, 20 deletionszesje/api/exams.py
- zesje/api/problems.py 13 additions, 6 deletionszesje/api/problems.py

| W: | H:
| W: | H:


environment.yml
0 → 100644
... | @@ -3,7 +3,7 @@ | ... | @@ -3,7 +3,7 @@ |
"main": "index.js", | "main": "index.js", | ||
"license": "AGPL-3.0", | "license": "AGPL-3.0", | ||
"scripts": { | "scripts": { | ||
"dev": "concurrently --kill-others --names \"WEBPACK,PYTHON,CELERY\" --prefix-colors \"bgBlue.bold,bgGreen.bold,bgRed.bold\" \"webpack-dev-server --hot --inline --progress --config webpack.dev.js\" \"ZESJE_SETTINGS=$(pwd)/zesje.dev.cfg python3 zesje\" \"ZESJE_SETTINGS=$(pwd)/zesje.dev.cfg celery -A zesje.celery worker -l info --autoscale=4,1 --max-tasks-per-child=16\"", | "dev": "concurrently --kill-others --names \"WEBPACK,PYTHON,CELERY,REDIS\" --prefix-colors \"bgBlue.bold,bgGreen.bold,bgRed.bold,bgYellow.bold\" \"webpack-dev-server --hot --inline --progress --config webpack.dev.js\" \"ZESJE_SETTINGS=$(pwd)/zesje.dev.cfg python3 zesje\" \"ZESJE_SETTINGS=$(pwd)/zesje.dev.cfg celery -A zesje.celery worker -l info --autoscale=4,1 --max-tasks-per-child=16\" \"redis-server redis.conf\"", | ||
"build": "webpack --config webpack.prod.js", | "build": "webpack --config webpack.prod.js", | ||
"ci": "yarn lint; yarn test", | "ci": "yarn lint; yarn test", | ||
"lint": "yarn lint:js; yarn lint:py", | "lint": "yarn lint:js; yarn lint:py", | ||
... | ... |
redis.conf
0 → 100644
requirements-dev.txt
deleted
100644 → 0
requirements.txt
deleted
100644 → 0
# Core components | |||
flask | |||
flask_restful | |||
flask_sqlalchemy | |||
sqlalchemy | |||
Flask-Migrate | |||
alembic | |||
pyyaml | |||
celery | |||
redis | |||
# General utilities | |||
numpy | |||
scipy | |||
# summary plot generation | |||
matplotlib | |||
seaborn | |||
# PDF generation | |||
pdfrw | |||
reportlab | |||
Wand | |||
Pillow # also scan processing | |||
pyStrich # TODO: can we replace this with stuff from pylibdmtx? | |||
# Scan processing | |||
opencv-python | |||
git+https://github.com/mstamy2/PyPDF2 | |||
pylibdmtx | |||
# Exporting | |||
pandas | |||
openpyxl # required for writing dataframes as Excel spreadsheets |
tests/data/single-image-a4.pdf
0 → 100644
File added
tests/data/two-images-a4.pdf
0 → 100644
File added
tests/test_images.py
0 → 100644