Skolmaten
The skolmaten python package provides a convenient way to fetch school food menu information for Swedish schools connected to skolmaten.se.
Installation
pip install skolmaten
Usage
Provide year and week as parameters to at.
>>> from skolmaten import SchoolFood
>>> food = SchoolFood(school="0b4d4d77-7b27-4591-a03e-28309e039b1e")
>>> food.at(2025, 10) # returns skolmaten json data
You school id can be found in the URL of the school's page on skolmaten.se. For example, the school with id 0b4d4d77-7b27-4591-a03e-28309e039b1e has the URL https://skolmaten.se/menu/fbcb1b38-978c-42b9-a1ef-71798654e1d9?school=0b4d4d77-7b27-4591-a03e-28309e039b1e.
License
This package is not in any way related to the makers of skolmaten.se and is licensed under the WTFPL license.
Metadata
Release files for Skolmaten 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| skolmaten-0.1.3.tar.gz | 2.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| skolmaten-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.0 kB
Release files / skolmaten-0.1.3.tar.gz
| Download URL | skolmaten-0.1.3.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f754ff05fd966a5e71f5314bc623f8a7a4a13b4858cb2205209095451dbe4231
|
|
BLAKE2b-256 checksum How to use checksums |
ab6014f65bfaa00747d26067f63e1616ed0fa11b1b78c65dae41e566118bd576
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.9 Linux/6.8.0-1021-azure
|
Release files / skolmaten-0.1.3-py3-none-any.whl
| Download URL | skolmaten-0.1.3-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e84b1fa2ca5b29f5491fd5f44e193d742bbf2c6ddaaa53a97fb1257f5c01b6a
|
|
BLAKE2b-256 checksum How to use checksums |
39385d1cfcba8e785f258b57baa2b3b266a8425d939213ddcc80c8339218e6ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.9 Linux/6.8.0-1021-azure
|