{"id":26809,"library":"botostubs","title":"Botostubs","description":"Generates and provides IDE stubs for the entire boto3 API, enabling autocomplete and documentation in any editor. Current version 0.15.1.23.10, versioned to match boto3 releases. Updates are released irregularly per boto3 minor version bumps.","status":"active","version":"0.15.1.23.10","language":"python","source_language":"en","source_url":"https://github.com/jeshan/botostubs","tags":["aws","boto3","stubs","autocomplete","ide"],"install":[{"cmd":"pip install botostubs","lang":"bash","label":"Latest"}],"dependencies":[],"imports":[{"note":"No common incorrect import; the package provides a single entry point.","wrong":"","symbol":"botostubs","correct":"import botostubs"}],"quickstart":{"code":"import boto3\nimport botostubs\n\n# Access key and secret key set via environment variables or IAM role\ns3 = boto3.client('s3')\n# IDE now shows stubs for s3 methods\nresponse = s3.list_buckets()\nprint(response['Buckets'])","lang":"python","description":"Import botostubs at the top of your script to enable type hints and autocomplete for any boto3 client or resource."},"warnings":[{"fix":"Ensure botostubs version corresponds to your installed boto3 version. Check botostubs version on PyPI vs boto3.","message":"Stubs are generated for the boto3 version that matches the botostubs version. Using a mismatched boto3 version may cause incomplete or inaccurate stubs.","severity":"gotcha","affected_versions":"all"},{"fix":"Upgrade to the latest botostubs that matches your boto3 version.","message":"The library versioning scheme changed; older versions (e.g., 0.14.x) may not generate stubs for newer boto3 services.","severity":"deprecated","affected_versions":"<0.15"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Ensure you import boto3 as well: import boto3; import botostubs","cause":"Import botostubs does not replace boto3's client/resource; it only adds stubs when imported alongside boto3.","error":"'botostubs' has no attribute 'client'"},{"fix":"Upgrade/downgrade botostubs to match your boto3 version: pip install botostubs==<boto3_version>","cause":"Mismatch between botostubs and boto3 versions.","error":"RuntimeError: botostubs stubs not compatible with installed boto3 version"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}