{"library":"logfire-api","type":"library","category":null,"description":"The `logfire-api` library is a lightweight shim for the Logfire SDK, designed for packages that want to offer opt-in integration with Logfire without a hard dependency. It provides a clone of the `logfire` package's Python API that performs no-op operations if `logfire` is not installed, but makes real calls when `logfire` is present. This allows users of an integrated package to decide whether to install and configure Logfire for observability. The current version is 4.31.0, with frequent releases aligning with the main Logfire SDK.","language":"python","status":"active","version":"4.31.0","tags":["observability","tracing","logging","metrics","shim","pydantic","opentelemetry"],"install":[{"cmd":"pip install logfire-api","imports":["import logfire_api as logfire"]}],"homepage":"https://logfire.pydantic.dev","github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/logfire-api/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":0.36,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/logfire-api/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":"verified"}}