Convenience facilities for working with pyobjc (MacOSX Objective C facilities). See also: https://pyobjc.readthedocs.io/en/latest/index.html
Latest release 20240622: Initial PyPI release supporting upcoming cs.app.osx.spaces.
apple = <cs.app.osx.objc.AutoBundles object at 0x10c3d3070>
An object whose attributes autoload {prefix}{attrname}.
The default prefix is DEFAULT_BUNDLE_ID_PREFIX ('com.apple.').
Class AutoBundles
An object whose attributes autoload {prefix}{attrname}.
The default prefix is DEFAULT_BUNDLE_ID_PREFIX ('com.apple.').
Class Bundle(cs.obj.SingletonMixin)
Wrapper class for an NSBundle.
Instances have the following attributes:
_bundle: the underlyingNSBundleinstance_bundle_id: the identifier of the underlying bundle, eg'com.apple.HIServices'_ns: a dictionary containing all the functions from the bundle
The functions from the bundle are available as attributes on the Bundle.
Function cg(func)
A decorator to provide a cg_conn keyword argument if missing,
containing the default Core graphics connection.
Example:
@cg
def do_some_graphics(blah, *, cg_conn, ...):
...
Function convertNSDate(d: objc.NSDate) -> datetime.datetime
Convert an NSDate into a datetime.
Function convertNSDateComponents(d: objc.NSDateComponents) -> datetime.datetime
Convert an NSDateComponents into a datetime.
Function convertObjCtype(o)
Convert an object containing an ObjC object into the equivalent Python type.
Current conversions:
None->NoneNSDate,NSDateComponents->datetimeABMultiValueCoreDataWrapper->listwith members convertedint->intobjc._pythonify.OC_PythonInt->intobjc._pythonify.OC_PythonFloat-> float- dictionries with
.keys()->dict
Release Log
Release 20240622: Initial PyPI release supporting upcoming cs.app.osx.spaces.
Release files for cs.app.osx.objc 20240622
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cs.app.osx.objc-20240622.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cs.app.osx.objc-20240622-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.6 kB
Release files / cs.app.osx.objc-20240622.tar.gz
| Download URL | cs.app.osx.objc-20240622.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65680beef1441317624f00d6787dc4944f71d05b467281d25374416bbab14f66
|
|
BLAKE2b-256 checksum How to use checksums |
22cd47fdf74c0b8ff61e08fb92439e4a0d6d15c14b217507d686145c169aa83a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.6
|
Release files / cs.app.osx.objc-20240622-py3-none-any.whl
| Download URL | cs.app.osx.objc-20240622-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ed06d1e6aab1c2a201089cfc3a561be6daeb87a50b7742646a65345f629ea23
|
|
BLAKE2b-256 checksum How to use checksums |
1f539f780be0f45a27384672ec9a4a957dc207631d7ebe50057219071f53e1f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.6
|