hhs-vertretungsplan
Python parser for the Heinrich-Hertz-Schule, Hamburg, Vertretungsplan interface
Retrieves latest status of classes being substituted.
Ask your Elternvertreter for username and password.
Usage:
import aiohttp
import asyncio
import sys
from hhs_vertretungsplan_parser.vertretungsplan_parser import HHSVertretungsplanParser
async def main(user: str, password: str):
async with aiohttp.ClientSession() as session:
hhs = HHSVertretungsplanParser(session, user, password)
await hhs.load_data()
for vertretung in hhs.vertretungen:
print(f"Klasse {vertretung.klasse} hat am {vertretung.datum} in Stunde {vertretung.stunde} im Fach {vertretung.fach} bei {vertretung.vertreter} Vertretung.")
if (__name__ == '__main__'):
# on Windows add:
# asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
if len(sys.argv) == 3:
asyncio.run(main(sys.argv[1], sys.argv[2]))
else:
print(f"usage: python hhs-vertretungsplan.py <user> <password>")
Metadata
Release files for hhs-vertretungsplan-parser 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 | Actions |
|---|---|---|---|---|
| hhs-vertretungsplan-parser-0.1.4.tar.gz | 5.4 kB | Without provenance | Details for hhs-vertretungsplan-parser-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hhs_vertretungsplan_parser-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for hhs_vertretungsplan_parser-0.1.4-py3-none-any.whl |
Total release size: 11.5 kB
Release files / hhs-vertretungsplan-parser-0.1.4.tar.gz
| Download URL | hhs-vertretungsplan-parser-0.1.4.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb6f0deda43d23fe457f55d38dd8bee00630fcde0e9d8f49e82d28c95d5f809e
|
|
BLAKE2b-256 checksum How to use checksums |
df711f262a90ec51921a0f31b594c1990c398ed4b7b6aaef9c7d5da77ef1f759
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.4
|
Release files / hhs_vertretungsplan_parser-0.1.4-py3-none-any.whl
| Download URL | hhs_vertretungsplan_parser-0.1.4-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3c35ea8e772f31abde128d38760d379fc5ddaf4ab8effc010b6e69e6a806a04b
|
|
BLAKE2b-256 checksum How to use checksums |
5e60474ad44698321c0312da0aae26ac318bb6a0b45199a1ff76024ce140464d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.4
|
Security for hhs-vertretungsplan-parser 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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.