{"id":27140,"library":"matrice-analytics","title":"matrice-analytics","description":"Post-processing analytics for Matrice.ai inference pipelines. Currently at version 0.1.234, released with no fixed schedule.","status":"active","version":"0.1.234","language":"python","source_language":"en","source_url":"https://github.com/matrice-ai/matrice-analytics","tags":["analytics","inference","post-processing","matrice"],"install":[{"cmd":"pip install matrice-analytics","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"Top-level import is correct; submodule path may not exist.","wrong":"from matrice_analytics.pipeline import AnalyticsPipeline","symbol":"AnalyticsPipeline","correct":"from matrice_analytics import AnalyticsPipeline"}],"quickstart":{"code":"from matrice_analytics import AnalyticsPipeline\nimport os\npipeline = AnalyticsPipeline(api_key=os.environ.get('MATRICE_API_KEY', ''))\nresult = pipeline.run(\"sample_data\")\nprint(result.summary())","lang":"python","description":"Initialize with API key from environment and run analytics on sample data."},"warnings":[{"fix":"Set MATRICE_API_KEY environment variable or pass api_key to constructor.","message":"The library expects an API key via environment variable 'MATRICE_API_KEY' or constructor argument. Missing key leads to runtime authentication error.","severity":"gotcha","affected_versions":"all"},{"fix":"Use .summary() method or access attributes directly on Result object instead of dict keys.","message":"Version 0.1.200 changed the default output format from dict to custom Result object. Old code relying on dict access will break.","severity":"breaking","affected_versions":">=0.1.200"},{"fix":"Replace calls to quick_analyze with pipeline.run().","message":"The function 'quick_analyze' is deprecated since version 0.1.150. Use 'AnalyticsPipeline.run()' instead.","severity":"deprecated","affected_versions":">=0.1.150"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Upgrade to latest version (pip install --upgrade matrice-analytics) and use 'from matrice_analytics import AnalyticsPipeline'.","cause":"Old import path or outdated package version.","error":"ImportError: cannot import name 'AnalyticsPipeline' from 'matrice_analytics'"},{"fix":"Set MATRICE_API_KEY environment variable or pass api_key='your_key' to AnalyticsPipeline().","cause":"Environment variable MATRICE_API_KEY not set or not passed to constructor.","error":"matrice_analytics.exceptions.AuthenticationError: API key not provided"},{"fix":"Use result.summary() or access attributes like result.accuracy instead of iterating over items.","cause":"Code expects dict but got Result object after upgrade to >=0.1.200.","error":"AttributeError: 'Result' object has no attribute 'items'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}