{"id":27237,"library":"pismosendlogs","title":"PismoSendLogs","description":"A Python library to send logs to Pismo or other endpoints. Current version 0.2.0. In early development with no stable release cadence.","status":"active","version":"0.2.0","language":"python","source_language":"en","source_url":"https://github.com/pismo/pismosendlogs","tags":["logs","pismo","monitoring"],"install":[{"cmd":"pip install pismosendlogs","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"Common pattern for sending logs","symbol":"send_log","correct":"from pismosendlogs import send_log"},{"note":"Main logger class","symbol":"PismoLogger","correct":"from pismosendlogs import PismoLogger"}],"quickstart":{"code":"from pismosendlogs import send_log\nimport os\n\n# Use environment variable for API key\napi_key = os.environ.get('PISMO_API_KEY', '')\nsend_log(api_key=api_key, message=\"Hello, Pismo!\", level=\"info\")","lang":"python","description":"Sends a log message after setting API key via environment variable."},"warnings":[{"fix":"Pin to exact version and test on upgrade.","message":"Library is very early (0.2.0); API may change without notice.","severity":"gotcha","affected_versions":"all"},{"fix":"Check the source code directly on GitHub.","message":"No documentation beyond PyPI summary; rely on source code or trial and error.","severity":"gotcha","affected_versions":"all"},{"fix":"Use only documented public API; avoid internal functions.","message":"Some functions may accept parameters that will be removed in future versions.","severity":"deprecated","affected_versions":"0.2.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run: pip install pismosendlogs","cause":"Package not installed.","error":"ModuleNotFoundError: No module named 'pismosendlogs'"},{"fix":"Pass api_key to send_log() or set PISMO_API_KEY environment variable.","cause":"Missing required API key argument.","error":"TypeError: send_log() missing 1 required positional argument: 'api_key'"},{"fix":"Check installed version: pip show pismosendlogs. Use from pismosendlogs import Logger if available.","cause":"Older version or wrong class name (might be Logger).","error":"AttributeError: module 'pismosendlogs' has no attribute 'PismoLogger'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}