aiorecollect
A Python 3, asyncio-based library for the ReCollect Waste API
What it is and what it does
aiorecollect is an asyncio-based Python client for the ReCollect Waste API, a service used by municipalities to publish waste pickup schedules. It wraps HTTP calls to ReCollect's endpoints and returns structured pickup events—each with a date, list of pickup types (trash, recycling, compost, etc.), and area name. The library depends on aiohttp for async HTTP transport, certifi for SSL verification, and yarl and frozenlist as aiohttp transitive dependencies.
You instantiate a Client with your municipality's Place and Service IDs (found in your waste calendar's iCal URL), then call async methods to fetch all pickup events, events within a date range, or the next upcoming pickup. The library supports optional connection pooling via an aiohttp ClientSession to reduce overhead when making many requests. It is actively maintained, supports Python 3.10–3.12, and has no known security vulnerabilities.
Use it for:
- Fetch waste pickup dates for a residential property and display them in a home automation dashboard.
- Build a reminder system that alerts users of upcoming trash or recycling collection days.
- Aggregate pickup schedules from multiple municipalities into a single calendar application.
- Integrate waste collection data into a smart home routine that adjusts schedules based on pickup types.
- Query historical or future pickup events to analyze collection patterns in a municipality.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Asyncio-based Python library for querying waste pickup schedules from the ReCollect Waste API, returning pickup dates, types, and area information.
Yes. The library is actively maintained, has no security vulnerabilities, uses permissive MIT licensing, and has low install friction. Install it if you need to programmatically access ReCollect waste schedules; skip it if your municipality does not use ReCollect or if you prefer synchronous HTTP calls.
Install
aiorecollect on PyPI
pip
pip install aiorecollectuv
uv add aiorecollectpoetry
poetry add aiorecollectInstalling aiorecollect
Before you install
Low install friction with four lightweight runtime dependencies. Actively maintained as of August 2026, with last commit on 2026-08-09 and supported on Python 3.10, 3.11, and 3.12.
License in practice
MIT license (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.
Quickstart
pip install aiorecollect
import asyncio
from aiorecollect import Client
async def main():
client = await Client("PLACE_ID", "SERVICE_ID")
events = await client.async_get_pickup_events()
print(events)
asyncio.run(main())
Requires Python 3.10 or later; you must obtain your ReCollect Place and Service IDs from your municipality's iCal subscription URL.
Verify before relying
- Whether the library handles rate limiting or connection failures gracefully beyond what aiohttp provides.
- Performance characteristics when querying large date ranges or high-frequency polling scenarios.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10,<4.0) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — aiohttp, certifi, frozenlist, yarl |
| Maintenance | actively maintained — 970 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 74,015/month — #14,889 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: aiorecollect-2023.12.0-py3-none-any.whl
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
aioridwellAn asyncio-based Python library for querying…
permissive · top 15,000 on PyPI
aioambientAn async Python library for querying Ambient…
permissive · top 15,000 on PyPI
pondpondPond is an object-pooling library that manages…
unclear · top 15,000 on PyPI
aiofloProvides an async Python library for…
permissive · top 15,000 on PyPI
pyairnowA thin async Python client for the EPA AirNow…
permissive · top 15,000 on PyPI
pyairvisualA thin async Python wrapper for the AirVisual…
permissive · top 15,000 on PyPI
aionotionaionotion is an asyncio-friendly Python library…
permissive · top 15,000 on PyPI
Send2TrashSends files and directories to the platform's…
permissive · top 1,000 on PyPI
pyvesyncAsynchronous Python library to discover,…
permissive · top 15,000 on PyPI
matrix-niomatrix-nio is an asyncio-based Python client…
unclear · top 5,000 on PyPI