Python client for the Mozilla Data Collective API. Version 0.5.1 supports Python 3.11+. Provides async and sync access to data submission, retrieval, and management endpoints. Active development under Mozilla.
pip install datacollectiveNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Submit a measurement using the synchronous client.
Use `api_key='...'` instead of `api_token='...'`.
Replace `submit_batch(data)` with `submit_bulk(measurements=data)`.
Export DATACOLLECTIVE_API_KEY or pass `api_key` parameter.