{"library":"pyobjc-framework-avrouting","title":"PyObjC: AVRouting Framework","description":"PyObjC is a bridge between Python and Objective-C, enabling Python developers to write full-featured macOS applications and access Cocoa frameworks. The `pyobjc-framework-avrouting` package provides Python wrappers for Apple's `AVRouting` framework, which allows applications to integrate third-party devices and protocols into the system's media route picker. It is actively maintained with releases frequently aligned with new macOS SDK versions, and the current version is 12.1.","language":"python","status":"active","last_verified":"Sat May 16","install":{"commands":["pip install pyobjc-framework-avrouting"],"cli":null},"imports":["import AVRouting"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import AVRouting\nimport objc\n\ndef main():\n    # Instantiate a core AVRouting class. AVCustomRoutingController manages custom device routes.\n    # Actual functionality requires deeper integration with macOS services and delegates, \n    # typically within a full Cocoa application context, as per Apple's AVRouting documentation.\n    controller = AVRouting.AVCustomRoutingController.alloc().init()\n    \n    # Example of accessing a property (if available, consult Apple's docs for specifics)\n    # This particular property needs a delegate or further setup to be meaningful.\n    # For demonstration, we just show instantiation.\n    print(f\"AVRouting.AVCustomRoutingController instance created: {controller}\")\n\n    # To make sure PyObjC is properly initialized in a non-GUI context\n    # This is often handled implicitly in Cocoa applications, but good for standalone scripts.\n    objc.autoreleasepool(lambda: main_logic())\n\ndef main_logic():\n    # Your main PyObjC logic goes here\n    pass # The example already does the print in the outer main\n\nif __name__ == '__main__':\n    main()\n","lang":"python","description":"This quickstart demonstrates how to import the `AVRouting` framework and instantiate a basic class like `AVCustomRoutingController`. Full functionality of the `AVRouting` framework typically requires integration with other macOS services, UI elements like `AVRoutePickerView`, and the implementation of delegate protocols as detailed in Apple's `AVRouting` documentation.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":{"tag":null,"tag_description":null,"last_tested":"2026-05-16","installed_version":null,"pypi_latest":"12.1","is_stale":null,"summary":{"python_range":"3.10–3.9","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"results":[{"runtime":"python:3.10-alpine","python_version":"3.10","os_libc":"alpine (musl)","variant":"pyobjc-framework-avrouting","exit_code":1,"wheel_type":null,"failure_reason":"build_error","import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.10-slim","python_version":"3.10","os_libc":"slim (glibc)","variant":"pyobjc-framework-avrouting","exit_code":1,"wheel_type":null,"failure_reason":"build_error","import_side_effects":null,"install_time_s":2.9,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.11-alpine","python_version":"3.11","os_libc":"alpine (musl)","variant":"pyobjc-framework-avrouting","exit_code":1,"wheel_type":null,"failure_reason":"build_error","import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.11-slim","python_version":"3.11","os_libc":"slim (glibc)","variant":"pyobjc-framework-avrouting","exit_code":1,"wheel_type":null,"failure_reason":"build_error","import_side_effects":null,"install_time_s":3,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.12-alpine","python_version":"3.12","os_libc":"alpine (musl)","variant":"pyobjc-framework-avrouting","exit_code":1,"wheel_type":null,"failure_reason":"build_error","import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.12-slim","python_version":"3.12","os_libc":"slim (glibc)","variant":"pyobjc-framework-avrouting","exit_code":1,"wheel_type":null,"failure_reason":"build_error","import_side_effects":null,"install_time_s":3,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.13-alpine","python_version":"3.13","os_libc":"alpine (musl)","variant":"pyobjc-framework-avrouting","exit_code":1,"wheel_type":null,"failure_reason":"build_error","import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.13-slim","python_version":"3.13","os_libc":"slim (glibc)","variant":"pyobjc-framework-avrouting","exit_code":1,"wheel_type":null,"failure_reason":"build_error","import_side_effects":null,"install_time_s":2.5,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.9-alpine","python_version":"3.9","os_libc":"alpine (musl)","variant":"pyobjc-framework-avrouting","exit_code":1,"wheel_type":null,"failure_reason":"build_error","import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.9-slim","python_version":"3.9","os_libc":"slim (glibc)","variant":"pyobjc-framework-avrouting","exit_code":1,"wheel_type":null,"failure_reason":"build_error","import_side_effects":null,"install_time_s":3.4,"import_time_s":null,"mem_mb":null,"disk_size":null}]}}