Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ColdGrub1384/Apple-Frameworks-Python
Apple frameworks as Python scripts.
https://github.com/ColdGrub1384/Apple-Frameworks-Python
apple objective-c python
Last synced: 3 months ago
JSON representation
Apple frameworks as Python scripts.
- Host: GitHub
- URL: https://github.com/ColdGrub1384/Apple-Frameworks-Python
- Owner: ColdGrub1384
- Created: 2020-09-03T19:33:23.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-15T04:58:51.000Z (over 4 years ago)
- Last Synced: 2024-11-07T16:30:58.749Z (3 months ago)
- Topics: apple, objective-c, python
- Language: Python
- Homepage:
- Size: 1.64 MB
- Stars: 24
- Watchers: 6
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Apple Frameworks Python
This project contains +400 Python scripts, each one has the name of an Apple framework and declares all of its classes. It depends on [rubicon.objc](https://rubicon-objc.readthedocs.io/en/latest/).
The script `make_frameworks.py` generates every script from the loaded frameworks. It uses the Objective-C runtime to detect every registered class.
Private frameworks are prefixed with an underscore.
The script was executed from Pyto 13.0 on iOS 14.0 beta 6.
## Usage
```python
from Foundation import NSBundlebundle_path = str(NSBundle.mainBundle.bundleURL.path)
```