DRK Blood Barometer
A python library that extract the current levels of donated blood from the website of a given states DRK (German red cross) website.
Installation
pip install drkbloodbarometer
Usage
from drkbloodbarometer import DRKBloodBarometer
bb = DRKBloodBarometer("Baden-Würtemberg")
print(bb.bloodlevels)
print(bb.lastChange)
The result looks like this
{
"A+": {"level": 29.4, "warning": False, "rating": "Kritisch"},
"B+": {"level": 37.2, "warning": False, "rating": "Kritisch"},
"AB+": {"level": 38.4, "warning": False, "rating": "Kritisch"},
"0+": {"level": 16.2, "warning": False, "rating": "Bedrohlich"},
"A-": {"level": 16.2, "warning": False, "rating": "Bedrohlich"},
"B-": {"level": 29.4, "warning": False, "rating": "Kritisch"},
"AB-": {"level": 36.0, "warning": False, "rating": "Kritisch"},
"0-": {"level": 15.6, "warning": True, "rating": "Kritisch"},
}
2025-03-20 00:00:00
Supported states
Not all states offer a blood barometer, therefore not all are supported (yet).
-
Baden-Würtemberg: Yes
-
Berlin: Yes
-
Brandenburg: Yes
-
Bremen: Yes
-
Hamburg: Yes
-
Hessen: Yes
-
Mecklenburg-Vorpommern: Yes
-
Niedersachsen: Yes
-
Sachsen: Yes
-
Sachsen-Anhalt: Yes
-
Schleswig-Holstein: Yes
-
Thüringen: Yes
-
Bayern: No
-
Nordrhein-Westfalen: No
-
Rheinland-Pfalz: No
-
Saarland: No
Disclaimer
The author is not in any way affiliated with DRK. This library is neither offered nor supported by DRK. The authors do not take any liability for possible damages.
Metadata
Release files for drkbloodbarometer 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| drkbloodbarometer-0.1.4.tar.gz | 4.0 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| drkbloodbarometer-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.9 kB
Release files / drkbloodbarometer-0.1.4.tar.gz
| Download URL | drkbloodbarometer-0.1.4.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1779366702dd72afe4294bdd540b9b935780d521e01dc1244f34a2cfcff412c6
|
|
BLAKE2b-256 checksum How to use checksums |
5b605acffee6d03689b3ff9beea3736217fa1eb003026bd7466cb5efeefc0086
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 23, 2026.
Transparency logRelease files / drkbloodbarometer-0.1.4-py3-none-any.whl
| Download URL | drkbloodbarometer-0.1.4-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
482c1986b4678bb9b825ff94d096942236e683dd43c00d62c3222a4f364c1cdf
|
|
BLAKE2b-256 checksum How to use checksums |
524bd18a8cea41feaa120da6e3ccfe0a2351855835694855b61e89f7cd9fe24d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 23, 2026.
Transparency logSecurity for drkbloodbarometer 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for drkbloodbarometer-0.1.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 23, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.