{"library":"pyobjc-framework-fileprovider","title":"PyObjC Framework FileProvider","description":"PyObjC-framework-FileProvider provides Python bindings for Apple's FileProvider framework on macOS. It is part of the larger PyObjC project, which offers wrappers for most Objective-C frameworks, enabling Python developers to build macOS applications and interact with system APIs. The project is actively maintained, with new releases typically accompanying macOS SDK updates and adjustments for Python version support.","language":"python","status":"active","last_verified":"Sat May 16","install":{"commands":["pip install pyobjc-framework-fileprovider"],"cli":null},"imports":["import FileProvider"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import FileProvider\nimport Foundation\n\nprint(f\"FileProvider framework loaded: {FileProvider}\")\n\n# Access a class from the FileProvider framework.\n# For a real application, you would typically interact with FileProvider APIs\n# within a macOS application extension context.\n# This example merely demonstrates that the binding can load and access a class.\n\ntry:\n    manager_class = FileProvider.NSFileProviderManager\n    print(f\"Successfully accessed NSFileProviderManager class: {manager_class}\")\n\n    # Further interaction would depend on the specific FileProvider extension logic,\n    # which often involves running an application loop.\n    # For instance:\n    # from PyObjCTools import AppHelper\n    # AppHelper.runEventLoop()\n\nexcept AttributeError as e:\n    print(f\"Error accessing FileProvider class: {e}. This might indicate the class is not present in this macOS version or SDK.\")\nexcept Exception as e:\n    print(f\"An unexpected error occurred: {e}\")","lang":"python","description":"This quickstart demonstrates how to import the FileProvider framework and access a basic class. Note that full functionality of the FileProvider framework typically requires implementation within a macOS application extension, often involving an Objective-C runtime loop which PyObjC can integrate with.","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-fileprovider","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-fileprovider","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-fileprovider","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-fileprovider","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-fileprovider","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-fileprovider","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.13-alpine","python_version":"3.13","os_libc":"alpine (musl)","variant":"pyobjc-framework-fileprovider","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-fileprovider","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-fileprovider","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-fileprovider","exit_code":1,"wheel_type":null,"failure_reason":"build_error","import_side_effects":null,"install_time_s":3.5,"import_time_s":null,"mem_mb":null,"disk_size":null}]}}