Skip to main content

A small example package to get raw data from NIJZ vaccinations dashboard

Project description

cepimose

PyPI version Tests Tests for Sledilnik.org

Small library to parse raw data from NIJZ's PowerBI dashboards embedded in NIJZ stats page:

Examples

Prepare environment

python -mvenv env
. ./env/bin/activate
pip install cepimose

Examples

import pandas as pd
import cepimose

data = cepimose.vaccinations_by_day()
df = pd.DataFrame.from_dict(data)
print(df)

data = cepimose.vaccinations_by_age()
df = pd.DataFrame.from_dict(data)
print(df)

data = cepimose.vaccines_supplied_and_used()
df = pd.DataFrame.from_dict(data)
print(df)

Changelog

0.0.4

Added vaccines_supplied_by_manufacturer()

0.0.3

Added vaccinations_by_region()

0.0.2

Initial release

Dev

git clone https://github.com/sledilnik/py-cepimose
cd py-cepimose
pipenv install -d # install dependencies (including dev)
pipenv run test # run all tests
pipenv run testForSledilnik # run just tests for sledilnik.org
pipenv shell # run virtualenv shell
pipenv run fmt # format the code (also available as VS Code task)

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

cepimose-0.1.34.tar.gz (32.3 kB view details)

Uploaded Source

Built Distribution

cepimose-0.1.34-py3-none-any.whl (23.7 kB view details)

Uploaded Python 3

File details

Details for the file cepimose-0.1.34.tar.gz.

File metadata

  • Download URL: cepimose-0.1.34.tar.gz
  • Upload date:
  • Size: 32.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.12

File hashes

Hashes for cepimose-0.1.34.tar.gz
Algorithm Hash digest
SHA256 bfb24e3c51cbc7bc297a46ec5033cb9475e62d79e346c620e6bd6f74bbe5bd99
MD5 6aa8500ceda048dc15ef9493d9701eb5
BLAKE2b-256 fb64a286df18e9c6320807333eb48affaca8b9a1b325e13f074a9b07f93fe488

See more details on using hashes here.

File details

Details for the file cepimose-0.1.34-py3-none-any.whl.

File metadata

  • Download URL: cepimose-0.1.34-py3-none-any.whl
  • Upload date:
  • Size: 23.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.12

File hashes

Hashes for cepimose-0.1.34-py3-none-any.whl
Algorithm Hash digest
SHA256 40fb7ce55bd4fcb6697fe3b146daac83102bbbf5e9815ce5ecd323458bdfaa83
MD5 6b1f34b64bf044adf7af01d4d0c90fa8
BLAKE2b-256 4bc8c7304602c9cdc97dc1dc42620c63d31c4b1d337d1257263b9bea42b10d12

See more details on using hashes here.

Supported by

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