pyIntradel
A python connector for waste collection for province of Liège. This connector is using screen scraping to collect following data (for the current year), in json:
- "Green bin" (organic waste) and "black bin" residual waste
- Total weight
- Number of collections
- details of all the collections
- chip number
- starting date (01/01 of the current year)
- Recypark
- details of all the visits
- (01/01 of the current year)
Here is an example of json:
[
{
"name": "ORGANIQUE",
"start_date": "01-01-2022",
"id": "123456",
"details":
[
{
"date": "20-01-2022",
"detail": "34.0"
},
{
"date": "17-02-2022",
"detail": "27.0"
},
{
"date": "07-04-2022",
"detail": "36.0"
}
],
"total": "97"
},
{
"name": "RESIDUEL",
"start_date": "01-01-2022",
"id": "78810",
"details":
[
{
"date": "20-01-2022",
"detail": "14.5"
},
{
"date": "07-04-2022",
"detail": "11.5"
},
{
"date": "21-04-2022",
"detail": "11.5"
}
],
"total": "37.5"
},
{
"name": "RECYPARC",
"start_date": "01-01-2022",
"id": "RECYPARC",
"details":
[
{
"date": "14-04-2022",
"detail": "Encombrants (0.35 m³), Petits Bruns (0.00 pièce)"
}
],
"total": "1"
}
]
Usage
The town parameter is the name of the town, you can check it here: towns
The intradel.be login form is now protected by an invisible reCAPTCHA, which can reject a plain login/password POST (this notably happens when the browser blocks third-party cookies, e.g. in private browsing, but can also affect this library). As a workaround, you can authenticate once in a real browser, then reuse the resulting session cookie instead of login/password.
Python module
import aiohttp
from pyintradel import api
async with aiohttp.ClientSession() as sess:
# Using login/password
await api.get_data(sess, login, password, town)
# Using a session cookie captured from an already logged-in browser
await api.get_data(sess, cookie=cookie)
Command line
python3 -m pyintradel.main user passw town
# or
python3 -m pyintradel.main --cookie "PHPSESSID=..."
Release files for pyIntradel 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyintradel-0.0.7.tar.gz | 222.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyintradel-0.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:229.6 kB
Release files / pyintradel-0.0.7.tar.gz
| Download URL | pyintradel-0.0.7.tar.gz |
|---|---|
| Size | 222.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a44f6ccf3defb6f517a5ed133e84c64641b8b866ae0885d30306bebdab2f166
|
|
BLAKE2b-256 checksum How to use checksums |
5a94ca991e982502046a1623d69e3d29dd32c362bce7f519c6ebd5739a099b9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 15, 2026.
Transparency logRelease files / pyintradel-0.0.7-py3-none-any.whl
| Download URL | pyintradel-0.0.7-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
df01f5e2e052b3b0972df610390e4d434e893af30da9001b7e0eaddae67cc9b3
|
|
BLAKE2b-256 checksum How to use checksums |
fb5d1999b4fdbef41c470c8b9f0ec793b7ebc08c7622a4e88747a075c6039f5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 15, 2026.
Transparency log