{"id":27285,"library":"pylertalertmanager","title":"Pylert Alert Manager","description":"Library to ease interaction with Alert Manager API. Current version 0.1.1, early development stage with occasional releases.","status":"active","version":"0.1.1","language":"python","source_language":"en","source_url":"https://github.com/ABORGT/PylertAlertManager.git","tags":["alertmanager","prometheus","alerts","api"],"install":[{"cmd":"pip install pylertalertmanager","lang":"bash","label":"default"}],"dependencies":[{"reason":"HTTP client for API calls","package":"requests","optional":false}],"imports":[{"note":"Standard import path as per README.","symbol":"AlertManager","correct":"from pylertalertmanager import AlertManager"}],"quickstart":{"code":"from pylertalertmanager import AlertManager\n\n# Assuming AM_URL and API_KEY env vars are set\nam = AlertManager(url='http://alertmanager:9093')\n# Or with API key: AlertManager(url='...', api_key='...')\nalerts = am.get_alerts()\nprint(alerts)","lang":"python","description":"Connect to AlertManager and fetch alerts."},"warnings":[{"fix":"Pin to exact version and test upgrades.","message":"The API may be unstable due to early development (v0.1.1). Expect breaking changes in methods and parameters.","severity":"gotcha","affected_versions":">=0.1.0,<1.0.0"},{"fix":"Check compatibility with your AlertManager version.","message":"The library uses Python 3.4+ but may not support newer AlertManager API versions.","severity":"gotcha","affected_versions":"all"},{"fix":"","message":"No deprecation notices as library is very early.","severity":"deprecated","affected_versions":"N/A"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use: from pylertalertmanager import AlertManager","cause":"Incorrect import path (e.g., import pylertalertmanager and using pylertalertmanager.AlertManager).","error":"AttributeError: module 'pylertalertmanager' has no attribute 'AlertManager'"},{"fix":"Run: pip install pylertalertmanager","cause":"Library not installed or wrong Python environment.","error":"ImportError: No module named 'pylertalertmanager'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}