{"id":24450,"library":"incidentio-client","title":"python-incidentio-client","description":"Python client for Incident.io, a platform for incident management. Version 0.56.4 supports Python <4, >=3.8.1. The client is auto-generated from the Incident.io OpenAPI spec and receives regular updates. Release cadence is approximately monthly but varies.","status":"active","version":"0.56.4","language":"python","source_language":"en","source_url":"https://github.com/expobrain/python-incidentio-client","tags":["incident-io","api-client","incident-management","auto-generated"],"install":[{"cmd":"pip install incidentio-client","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Used for data classes","package":"attrs","optional":false},{"reason":"HTTP client","package":"requests","optional":false},{"reason":"Date parsing","package":"python-dateutil","optional":false}],"imports":[{"note":"IncidentClient is in the client submodule, not the package root.","wrong":"from incidentio_client import IncidentClient","symbol":"IncidentClient","correct":"from incidentio_client.client import IncidentClient"}],"quickstart":{"code":"import os\nfrom incidentio_client.client import IncidentClient\napi_key = os.environ.get('INCIDENTIO_API_KEY', '')\nclient = IncidentClient(api_key=api_key)\n# Example: list incidents\nincidents = client.incidents.v1.list_incidents()\nprint(incidents)","lang":"python","description":"Initialize the client with an API key and list incidents. Replace with actual API key or set environment variable INCIDENTIO_API_KEY."},"warnings":[{"fix":"Pin version: `incidentio-client==0.56.4` in requirements.txt","message":"The client is auto-generated; method names and signatures can change between minor versions. Pin your dependency to avoid unexpected breakage.","severity":"breaking","affected_versions":">=0.35.0"},{"fix":"Use `from incidentio_client.client import IncidentClient` and initialize with `IncidentClient(api_key=...)`.","message":"Older versions (pre-0.35) used `from incidentio import Client` which is removed. Update imports to new pattern.","severity":"deprecated","affected_versions":"<0.35.0"},{"fix":"Explicitly pass `api_key` to `IncidentClient` or read from env var manually.","message":"The client expects the API key passed directly, not via a config file. Many users mistakenly try to set it via environment variable but the client does not auto-read it.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Install the correct package: `pip install incidentio-client`","cause":"Installed wrong package name: `pip install python-incidentio-client` (the GitHub repo name) but PyPI package is `incidentio-client`.","error":"ModuleNotFoundError: No module named 'incidentio_client'"},{"fix":"Use `from incidentio_client.client import IncidentClient`","cause":"Importing from wrong module. `Client` is not at the package root in newer versions.","error":"AttributeError: module 'incidentio_client' has no attribute 'Client'"},{"fix":"Ensure you pass a valid API key to `IncidentClient(api_key='...')`. Get one from your Incident.io dashboard.","cause":"Invalid or missing API key.","error":"incidentio_client.exceptions.ApiException: (401) Reason: Unauthorized"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}