{"id":24196,"library":"panda","title":"Panda","description":"A Python implementation of the Panda REST interface (Panda video encoding API). Current version 0.3.1. Release cadence is low, no recent updates.","status":"maintenance","version":"0.3.1","language":"python","source_language":"en","source_url":"https://github.com/newmovie/panda","tags":["panda","video","encoding","rest","api","deprecated"],"install":[{"cmd":"pip install panda","lang":"bash","label":"Standard install"}],"dependencies":[],"imports":[{"note":"Direct import does not expose Panda class at module level","wrong":"import panda","symbol":"Panda","correct":"from panda import Panda"},{"note":"Also valid: import panda then use panda.Panda","wrong":"","symbol":"panda","correct":"import panda; panda.Panda"}],"quickstart":{"code":"import panda\n\n# Initialize client with API key (replace with your key)\nclient = panda.Panda(api_key=os.environ.get('PANDA_API_KEY', ''))\n\n# Upload a video\nvideo = client.videos.upload('/path/to/video.mp4')\nprint(f\"Uploaded video ID: {video['id']}\")","lang":"python","description":"Initialize a Panda client and upload a video."},"warnings":[{"fix":"Consider alternative video encoding services like AWS Elemental MediaConvert or Bitmovin.","message":"The Panda REST API has been deprecated by the service. The library may no longer work with current endpoints.","severity":"deprecated","affected_versions":"all"},{"fix":"Run with Python 2.7 or manually backport to Python 3 if needed.","message":"Python 2 only: The library has not been updated for Python 3 compatibility and uses old-style syntax.","severity":"deprecated","affected_versions":"0.3.1 and earlier"},{"fix":"Double-check your requirements.txt; use 'pip list | grep panda' to verify.","message":"Module name 'panda' conflicts with the popular data analysis library 'pandas'. Ensure correct package is installed.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'pip install panda' in the correct Python environment (Python 2 only).","cause":"Package not installed or installed in wrong environment.","error":"ImportError: No module named panda"},{"fix":"Use 'from panda import Panda' or 'import panda' then 'panda.Panda'.","cause":"Incorrect import pattern: 'import panda' then accessing 'panda.Panda' is correct, but using 'from panda import Panda' is also valid. If you used 'import panda' and then 'Panda' directly, it fails.","error":"AttributeError: 'module' object has no attribute 'Panda'"},{"fix":"Use 'panda.Panda('your_api_key')' instead of keyword argument.","cause":"Older version of the library may not support named parameter. Constructor expects positional args: Panda('api_key')","error":"TypeError: __init__() got an unexpected keyword argument 'api_key'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}