jupyter notebook

FK-FIXME:

FK-TODO:
- add google captcha to batchCodeTable.html
- Symptomhistogramm

anacron job:
sudo cp src/intensivstationen_howbadismybatch.sh /etc/cron.daily/intensivstationen_howbadismybatch

conda create --name howbadismybatch-venv python=3.9
conda activate howbadismybatch-venv
ipython kernel install --user --name=howbadismybatch-venv-kernel
jupyter kernelspec list
conda env export --from-history > environment.yml
conda env create -f environment.yml

update howbadismybatch-venv:
conda activate howbadismybatch-venv
conda env update --file environment.yml --prune

www.HowBadIsMyBatch.info
/etc/apache2/sites-available/HowBadIsMyBatch.conf

https://datatables.net/examples/api/row_details.html
https://www.datatables.net/blog/2017-03-31

Profiling:
==========
from SymptomByBatchcodeTableFactory import SymptomByBatchcodeTableFactory
import cProfile
cProfile.run(
    'SymptomByBatchcodeTableFactory.createSymptomByBatchcodeTable(international_VAERSVAX_Covid19, international_VAERSSYMPTOMS)',
    'tmp/restats')

import pstats
from pstats import SortKey

p = pstats.Stats('tmp/restats')
p.strip_dirs().sort_stats(SortKey.CUMULATIVE).print_stats()
