{"id":24778,"library":"ubai-client","title":"Ubai Client","description":"Universal Binary Archiver Service client for Python. Version 1.2.1, monthly releases.","status":"active","version":"1.2.1","language":"python","source_language":"en","source_url":"https://github.com/ubai/ubai-client","tags":["archiver","binary","client","api"],"install":[{"cmd":"pip install ubai-client","lang":"bash","label":"Install via pip"}],"dependencies":[{"reason":"HTTP client for API calls","package":"requests","optional":false}],"imports":[{"note":"Old package name 'ubai' deprecated; correct import uses 'ubai_client'.","wrong":"from ubai import UbaiClient","symbol":"UbaiClient","correct":"from ubai_client import UbaiClient"}],"quickstart":{"code":"from ubai_client import UbaiClient\n\nclient = UbaiClient(api_key=os.environ.get('UBAI_API_KEY', ''))\nresult = client.archive('/path/to/binary')\nprint(result)","lang":"python","description":"Initialize client with API key and archive a binary file."},"warnings":[{"fix":"Replace 'import ubai' with 'import ubai_client' and update requirements to 'ubai-client>=1.0.0'.","message":"Package renamed from 'ubai' to 'ubai-client' in v1.0.0. Update imports and requirements.","severity":"breaking","affected_versions":"< 1.0.0"},{"fix":"Set UBAI_API_KEY environment variable or pass api_key kwarg to UbaiClient.","message":"API key must be set via environment variable or passed explicitly. Missing key raises UnauthorizedError.","severity":"gotcha","affected_versions":"all"},{"fix":"Use 'client.archive()' instead of 'client.archive_file()'.","message":"Method 'archive_file' renamed to 'archive' in v1.1.0.","severity":"deprecated","affected_versions":">= 1.0.0, < 1.1.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Install 'pip install ubai-client' and change import to 'from ubai_client import UbaiClient'.","cause":"Old module name 'ubai' no longer exists after package rename to 'ubai-client'.","error":"ModuleNotFoundError: No module named 'ubai'"},{"fix":"Use 'from ubai_client import UbaiClient' after installing ubai-client version 1.0.0+.","cause":"Mixing old package name with new import symbol.","error":"ImportError: cannot import name 'UbaiClient' from 'ubai'"},{"fix":"Set UBAI_API_KEY environment variable with a valid key.","cause":"API key not set or invalid.","error":"ubai_client.exceptions.UnauthorizedError: 401 - Invalid API key"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}