{"library":"pyobjc-framework-sharedwithyou","title":"PyObjC SharedWithYou Framework","description":"pyobjc-framework-sharedwithyou provides Python wrappers for Apple's SharedWithYou framework on macOS. It is part of the PyObjC project, a bidirectional bridge enabling Python scripts to interact with Objective-C libraries, including macOS Cocoa frameworks. The current version is 12.1 and it maintains an active release cadence, typically aligning with macOS SDK updates and Python version support.","language":"python","status":"active","last_verified":"Sat May 16","install":{"commands":["pip install pyobjc-framework-sharedwithyou"],"cli":null},"imports":["import SharedWithYou"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import Foundation\nimport SharedWithYou # Assuming SharedWithYou classes are directly exposed\n\n# This example demonstrates basic PyObjC interaction by creating a Foundation object.\n# Interactions with SharedWithYou classes would follow a similar pattern.\n\n# Create an instance of a Foundation object\nhello_string = Foundation.NSString.stringWith_('Hello from PyObjC SharedWithYou!')\nprint(f\"Created Objective-C string: {hello_string}\")\n\n# You would typically interact with SharedWithYou classes here.\n# For example, if there was a 'SWYCollaboration' class:\n# try:\n#     collaboration = SharedWithYou.SWYCollaboration.alloc().init()\n#     print(f\"Created SharedWithYou Collaboration object: {collaboration}\")\n# except AttributeError:\n#     print(\"SWYCollaboration class not found or initialized in this simple example.\")\n\nprint(\"PyObjC bridge is active and ready to interact with macOS frameworks.\")","lang":"python","description":"This quickstart demonstrates the fundamental interaction pattern with Objective-C frameworks using PyObjC, specifically showing how to import and interact with a basic Foundation object. Classes within the SharedWithYou framework would be imported and instantiated similarly through the `SharedWithYou` module.","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-sharedwithyou","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-sharedwithyou","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.11-alpine","python_version":"3.11","os_libc":"alpine (musl)","variant":"pyobjc-framework-sharedwithyou","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-sharedwithyou","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-sharedwithyou","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-sharedwithyou","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-sharedwithyou","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-sharedwithyou","exit_code":1,"wheel_type":null,"failure_reason":"build_error","import_side_effects":null,"install_time_s":2.6,"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-sharedwithyou","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-sharedwithyou","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}]}}