{"library":"pyobjc-framework-sharedwithyoucore","title":"Python Bindings for SharedWithYouCore Framework","description":"PyObjC is a bridge between Python and Objective-C, enabling Python scripts to use and extend Objective-C class libraries on macOS. The `pyobjc-framework-sharedwithyoucore` package provides Python wrappers for Apple's SharedWithYouCore framework, which allows applications to collaborate and share documents directly with Messages, Mail, and FaceTime apps. It is actively maintained, with new releases typically aligning with macOS SDK updates and Python version support. [3, 22]","language":"python","status":"active","last_verified":"Sat May 16","install":{"commands":["pip install pyobjc-framework-sharedwithyoucore"],"cli":null},"imports":["from SharedWithYouCore import SWCollaborationCoordinator","from SharedWithYouCore import SWStartCollaborationAction"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from Foundation import NSAutoreleasePool\nfrom SharedWithYouCore import SWCollaborationCoordinator\nimport objc\n\n# PyObjC requires an NSAutoreleasePool for many Cocoa operations\npool = NSAutoreleasePool.alloc().init()\n\ntry:\n    # Get the SWCollaborationCoordinator class\n    CoordinatorClass = SWCollaborationCoordinator\n\n    # Instantiate the coordinator\n    coordinator = CoordinatorClass.alloc().init()\n    \n    print(f\"Successfully instantiated SWCollaborationCoordinator: {coordinator}\")\n    print(f\"Is it an Objective-C object? {isinstance(coordinator, objc.objc_object)}\")\n\nexcept Exception as e:\n    print(f\"An error occurred: {e}\")\nfinally:\n    # Release the autorelease pool to clean up Cocoa objects\n    del pool\n","lang":"python","description":"This example demonstrates how to import a class from the `SharedWithYouCore` framework and instantiate a `SWCollaborationCoordinator` object. It also includes the necessary `NSAutoreleasePool` management, which is a common pattern in PyObjC applications. [13, 16]","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-sharedwithyoucore","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-sharedwithyoucore","exit_code":1,"wheel_type":null,"failure_reason":"build_error","import_side_effects":null,"install_time_s":2.8,"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-sharedwithyoucore","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-sharedwithyoucore","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.12-alpine","python_version":"3.12","os_libc":"alpine (musl)","variant":"pyobjc-framework-sharedwithyoucore","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-sharedwithyoucore","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-sharedwithyoucore","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-sharedwithyoucore","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-sharedwithyoucore","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-sharedwithyoucore","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}]}}