{"id":19700323,"url":"https://github.com/dgelessus/objc-cffi","last_synced_at":"2025-08-11T00:52:34.234Z","repository":{"id":83045472,"uuid":"71170485","full_name":"dgelessus/objc-cffi","owner":"dgelessus","description":"A CFFI-based library for accessing the Objective-C runtime","archived":false,"fork":false,"pushed_at":"2016-10-23T00:11:14.000Z","size":29,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-29T13:41:30.930Z","etag":null,"topics":["cffi","objective-c","python","pythonista","pythonista-ios"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dgelessus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-10-17T18:51:03.000Z","updated_at":"2024-11-12T08:55:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"911898ea-e97e-4ac0-b227-069ae5b6eb94","html_url":"https://github.com/dgelessus/objc-cffi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dgelessus/objc-cffi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgelessus%2Fobjc-cffi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgelessus%2Fobjc-cffi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgelessus%2Fobjc-cffi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgelessus%2Fobjc-cffi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dgelessus","download_url":"https://codeload.github.com/dgelessus/objc-cffi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgelessus%2Fobjc-cffi/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269814273,"owners_count":24479358,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cffi","objective-c","python","pythonista","pythonista-ios"],"created_at":"2024-11-11T21:05:29.648Z","updated_at":"2025-08-11T00:52:34.201Z","avatar_url":"https://github.com/dgelessus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `objc-cffi`\n\nA CFFI-based library for accessing the Objective-C runtime. This library is meant for use in [Pythonista](http://omz-software.com/pythonista/) and requires Python 3.5 and CFFI 1.8 or later.\n\n## Features\n\n* Calling methods on Objective-C classes and objects using Python method call syntax\n* Getting and setting Objective-C properties using Python attribute syntax\n* Checking types of Objective-C objects using `isinstance` and `issubclass`\n* Easy use of Objective-C classes and protocols using the `objc.classes` and `objc.protocols` pseudo-modules\n* Automatic deduction of method signatures and property types from type encodings\n* Automatic conversion of Python to Objective-C objects when passed to methods\n* Conversion from and to most `objc_util` objects\n* Hiding of private and known deprecated methods in `dir` lists, for clean autocompletion in the interactive Python console\n* Access to class, protocol, method, property, and ivar metadata\n\n## Issues and missing features\n\n* Subscript syntax for Objective-C collections\n* Python iteration support for Objective-C collections and fast enumerations\n* Creation of custom Objective-C classes at runtime\n* Better `struct` support (methods taking or returning `struct`s currently require manual setting of `restype` or `argtypes` to be properly usable)\n* Performance optimizations (this library is quite slow compared to `objc_util`)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgelessus%2Fobjc-cffi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgelessus%2Fobjc-cffi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgelessus%2Fobjc-cffi/lists"}