{"id":28229,"library":"spotilyzer","title":"Spotilyzer","description":"AWS Spot Fleet Analyzer that analyzes Spot Fleet requests and provides recommendations for improving cost efficiency and instance availability. Version 0.2.0, low activity.","status":"active","version":"0.2.0","language":"python","source_language":"en","source_url":"https://github.com/conrad-mukai/spotilyzer","tags":["aws","spot-instances","cost-optimization"],"install":[{"cmd":"pip install spotilyzer","lang":"bash","label":"PyPI"}],"dependencies":[{"reason":"AWS SDK for Python, required for API calls","package":"boto3","optional":false}],"imports":[{"note":"The library does not expose a class with that exact name; the module top-level functions are used.","wrong":"from spotilyzer import SpotFleetAnalyzer","symbol":"spotilyzer","correct":"import spotilyzer"}],"quickstart":{"code":"import boto3\nfrom spotilyzer import analyze_fleet\n\nsession = boto3.Session()\nclient = session.client('ec2')\n# Replace with your Spot Fleet request ID\nfleet_id = 'sfr-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'\nresult = analyze_fleet(client, fleet_id)\nprint(result)","lang":"python","description":"Initialize a boto3 EC2 client and analyze a Spot Fleet request by its ID."},"warnings":[{"fix":"Pass an EC2 client object: client = session.client('ec2')","message":"The analyze_fleet function expects a boto3 EC2 client, not a session or resource.","severity":"gotcha","affected_versions":">=0.1.0"},{"fix":"Ensure the fleet ID exists and the caller has DescribeSpotFleetRequests permissions.","message":"The library is in early development (0.2.0) and may have limited error handling for invalid fleet IDs.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Run 'pip install spotilyzer' and ensure you're using the same Python environment.","cause":"spotilyzer not installed or wrong Python environment","error":"ModuleNotFoundError: No module named 'spotilyzer'"},{"fix":"Use 'from spotilyzer import analyze_fleet' after checking you have version 0.2.0.","cause":"Imported incorrectly or old version without the function","error":"AttributeError: module 'spotilyzer' has no attribute 'analyze_fleet'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}