pyobjc-framework-CoreML 12.0__tar.gz → 12.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/Lib/CoreML/_metadata.py +124 -1
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/Lib/pyobjc_framework_CoreML.egg-info/PKG-INFO +5 -6
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/Lib/pyobjc_framework_CoreML.egg-info/SOURCES.txt +2 -2
- pyobjc_framework_coreml-12.2/Lib/pyobjc_framework_CoreML.egg-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_coreml-12.2/Lib/pyobjc_framework_CoreML.egg-info/requires.txt +2 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/Modules/pyobjc-compat.h +24 -50
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PKG-INFO +5 -6
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/metadata/CoreML.fwinfo +33 -33
- pyobjc_framework_coreml-12.0/metadata/raw/arm64-26.0.fwinfo → pyobjc_framework_coreml-12.2/metadata/raw/arm64-26.5.fwinfo +1815 -96
- pyobjc_framework_coreml-12.0/metadata/raw/x86_64-26.0.fwinfo → pyobjc_framework_coreml-12.2/metadata/raw/x86_64-26.5.fwinfo +1815 -96
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/pyobjc_setup.py +4 -5
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/setup.py +1 -1
- pyobjc_framework_coreml-12.0/Lib/pyobjc_framework_CoreML.egg-info/pyobjc-build-info.txt +0 -3
- pyobjc_framework_coreml-12.0/Lib/pyobjc_framework_CoreML.egg-info/requires.txt +0 -2
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/Lib/CoreML/__init__.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/Lib/pyobjc_framework_CoreML.egg-info/dependency_links.txt +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/Lib/pyobjc_framework_CoreML.egg-info/not-zip-safe +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/Lib/pyobjc_framework_CoreML.egg-info/top_level.txt +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/License.txt +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/MANIFEST.in +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/Modules/_CoreML.m +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/Modules/_CoreML_protocols.m +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/Modules/pyobjc-api.h +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/__init__.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_coreml.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlallcomputedevices.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlbatchprovider.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlcomputedeviceprotocol.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlcomputeplan.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlcomputeplancost.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlcomputeplandeviceusage.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlcustomlayer.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlcustommodel.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mldictionaryfeatureprovider.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlfeaturedescription.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlfeatureprovider.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlfeaturetype.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlfeaturevalue.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlfeaturevalue_mlimageconversion.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlimagesizeconstrainttype.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlmodel.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlmodel_mlmodelcompilation.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlmodel_mlstate.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlmodelasset.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlmodelcollection.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlmodelconfiguration.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlmodelerror.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlmodelmetadatakeys.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlmodelstructure.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlmodelstructureneuralnetwork.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlmodelstructureneuralnetworklayer.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlmodelstructurepipeline.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlmodelstructureprogram.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlmodelstructureprogramargument.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlmodelstructureprogrambinding.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlmodelstructureprogramblock.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlmodelstructureprogramfunction.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlmodelstructureprogramnamedvaluetype.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlmodelstructureprogramoperation.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlmodelstructureprogramvalue.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlmodelstructureprogramvaluetype.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlmultiarray.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlmultiarrayshapeconstrainttype.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlpredictionoptions.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlreshapefrequencyhint.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlstate.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mltask.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlupdateprogressevent.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlupdateprogresshandlers.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlupdatetask.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/PyObjCTest/test_mlwritable.py +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/metadata/metadata.ini +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/pyproject.toml +0 -0
- {pyobjc_framework_coreml-12.0 → pyobjc_framework_coreml-12.2}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file is generated by objective.metadata
|
|
2
2
|
#
|
|
3
|
-
# Last update: Thu
|
|
3
|
+
# Last update: Thu May 28 21:26:32 2026
|
|
4
4
|
#
|
|
5
5
|
# flake8: noqa
|
|
6
6
|
|
|
@@ -745,18 +745,141 @@ objc.registerNewKeywordsFromSelector(
|
|
|
745
745
|
objc.registerNewKeywordsFromSelector(
|
|
746
746
|
"MLArrayBatchProvider", b"initWithFeatureProviderArray:"
|
|
747
747
|
)
|
|
748
|
+
objc.registerNewKeywordsFromSelector("MLCPUComputeDevice", b"init")
|
|
749
|
+
objc.registerNewKeywordsFromSelector("MLComputePlan", b"init")
|
|
750
|
+
objc.registerNewKeywordsFromSelector("MLComputePlanCost", b"init")
|
|
751
|
+
objc.registerNewKeywordsFromSelector("MLComputePlanDeviceUsage", b"init")
|
|
748
752
|
objc.registerNewKeywordsFromSelector(
|
|
749
753
|
"MLDictionaryFeatureProvider", b"initWithDictionary:error:"
|
|
750
754
|
)
|
|
755
|
+
objc.registerNewKeywordsFromSelector("MLGPUComputeDevice", b"init")
|
|
756
|
+
objc.registerNewKeywordsFromSelector("MLImageConstraint", b"init")
|
|
757
|
+
objc.registerNewKeywordsFromSelector("MLKey", b"init")
|
|
758
|
+
objc.registerNewKeywordsFromSelector("MLMetricKey", b"init")
|
|
759
|
+
objc.registerNewKeywordsFromSelector("MLModelAsset", b"init")
|
|
760
|
+
objc.registerNewKeywordsFromSelector("MLModelCollection", b"init")
|
|
761
|
+
objc.registerNewKeywordsFromSelector("MLModelCollectionEntry", b"init")
|
|
762
|
+
objc.registerNewKeywordsFromSelector("MLModelStructure", b"init")
|
|
763
|
+
objc.registerNewKeywordsFromSelector("MLModelStructureNeuralNetwork", b"init")
|
|
764
|
+
objc.registerNewKeywordsFromSelector("MLModelStructureNeuralNetworkLayer", b"init")
|
|
765
|
+
objc.registerNewKeywordsFromSelector("MLModelStructurePipeline", b"init")
|
|
766
|
+
objc.registerNewKeywordsFromSelector("MLModelStructureProgram", b"init")
|
|
767
|
+
objc.registerNewKeywordsFromSelector("MLModelStructureProgramArgument", b"init")
|
|
768
|
+
objc.registerNewKeywordsFromSelector("MLModelStructureProgramBinding", b"init")
|
|
769
|
+
objc.registerNewKeywordsFromSelector("MLModelStructureProgramBlock", b"init")
|
|
770
|
+
objc.registerNewKeywordsFromSelector("MLModelStructureProgramFunction", b"init")
|
|
771
|
+
objc.registerNewKeywordsFromSelector("MLModelStructureProgramNamedValueType", b"init")
|
|
772
|
+
objc.registerNewKeywordsFromSelector("MLModelStructureProgramOperation", b"init")
|
|
773
|
+
objc.registerNewKeywordsFromSelector("MLModelStructureProgramValue", b"init")
|
|
774
|
+
objc.registerNewKeywordsFromSelector("MLModelStructureProgramValueType", b"init")
|
|
751
775
|
objc.registerNewKeywordsFromSelector(
|
|
752
776
|
"MLMultiArray", b"initWithDataPointer:shape:dataType:strides:deallocator:error:"
|
|
753
777
|
)
|
|
754
778
|
objc.registerNewKeywordsFromSelector("MLMultiArray", b"initWithPixelBuffer:shape:")
|
|
755
779
|
objc.registerNewKeywordsFromSelector("MLMultiArray", b"initWithShape:dataType:error:")
|
|
756
780
|
objc.registerNewKeywordsFromSelector("MLMultiArray", b"initWithShape:dataType:strides:")
|
|
781
|
+
objc.registerNewKeywordsFromSelector("MLNeuralEngineComputeDevice", b"init")
|
|
782
|
+
objc.registerNewKeywordsFromSelector("MLParameterKey", b"init")
|
|
783
|
+
objc.registerNewKeywordsFromSelector("MLState", b"init")
|
|
784
|
+
objc.registerNewKeywordsFromSelector("MLTask", b"init")
|
|
785
|
+
objc.registerNewKeywordsFromSelector("MLUpdateProgressHandlers", b"init")
|
|
757
786
|
objc.registerNewKeywordsFromSelector(
|
|
758
787
|
"MLUpdateProgressHandlers", b"initForEvents:progressHandler:completionHandler:"
|
|
759
788
|
)
|
|
789
|
+
objc.registerNewKeywordsFromSelector("MLUpdateTask", b"init")
|
|
790
|
+
|
|
791
|
+
objc.registerNewKeywords(
|
|
792
|
+
"MLFeatureValue",
|
|
793
|
+
("CGImage", "constraint", "options", "error"),
|
|
794
|
+
"featureValueWithCGImage_constraint_options_error_",
|
|
795
|
+
)
|
|
796
|
+
objc.registerNewKeywords(
|
|
797
|
+
"MLFeatureValue",
|
|
798
|
+
("CGImage", "orientation", "constraint", "options", "error"),
|
|
799
|
+
"featureValueWithCGImage_orientation_constraint_options_error_",
|
|
800
|
+
)
|
|
801
|
+
objc.registerNewKeywords(
|
|
802
|
+
"MLFeatureValue",
|
|
803
|
+
(
|
|
804
|
+
"CGImage",
|
|
805
|
+
"orientation",
|
|
806
|
+
"pixelsWide",
|
|
807
|
+
"pixelsHigh",
|
|
808
|
+
"pixelFormatType",
|
|
809
|
+
"options",
|
|
810
|
+
"error",
|
|
811
|
+
),
|
|
812
|
+
"featureValueWithCGImage_orientation_pixelsWide_pixelsHigh_pixelFormatType_options_error_",
|
|
813
|
+
)
|
|
814
|
+
objc.registerNewKeywords(
|
|
815
|
+
"MLFeatureValue",
|
|
816
|
+
("CGImage", "pixelsWide", "pixelsHigh", "pixelFormatType", "options", "error"),
|
|
817
|
+
"featureValueWithCGImage_pixelsWide_pixelsHigh_pixelFormatType_options_error_",
|
|
818
|
+
)
|
|
819
|
+
objc.registerNewKeywords(
|
|
820
|
+
"MLFeatureValue", ("dictionary", "error"), "featureValueWithDictionary_error_"
|
|
821
|
+
)
|
|
822
|
+
objc.registerNewKeywords("MLFeatureValue", ("double",), "featureValueWithDouble_")
|
|
823
|
+
objc.registerNewKeywords(
|
|
824
|
+
"MLFeatureValue",
|
|
825
|
+
("imageAtURL", "constraint", "options", "error"),
|
|
826
|
+
"featureValueWithImageAtURL_constraint_options_error_",
|
|
827
|
+
)
|
|
828
|
+
objc.registerNewKeywords(
|
|
829
|
+
"MLFeatureValue",
|
|
830
|
+
("imageAtURL", "orientation", "constraint", "options", "error"),
|
|
831
|
+
"featureValueWithImageAtURL_orientation_constraint_options_error_",
|
|
832
|
+
)
|
|
833
|
+
objc.registerNewKeywords(
|
|
834
|
+
"MLFeatureValue",
|
|
835
|
+
(
|
|
836
|
+
"imageAtURL",
|
|
837
|
+
"orientation",
|
|
838
|
+
"pixelsWide",
|
|
839
|
+
"pixelsHigh",
|
|
840
|
+
"pixelFormatType",
|
|
841
|
+
"options",
|
|
842
|
+
"error",
|
|
843
|
+
),
|
|
844
|
+
"featureValueWithImageAtURL_orientation_pixelsWide_pixelsHigh_pixelFormatType_options_error_",
|
|
845
|
+
)
|
|
846
|
+
objc.registerNewKeywords(
|
|
847
|
+
"MLFeatureValue",
|
|
848
|
+
("imageAtURL", "pixelsWide", "pixelsHigh", "pixelFormatType", "options", "error"),
|
|
849
|
+
"featureValueWithImageAtURL_pixelsWide_pixelsHigh_pixelFormatType_options_error_",
|
|
850
|
+
)
|
|
851
|
+
objc.registerNewKeywords("MLFeatureValue", ("int64",), "featureValueWithInt64_")
|
|
852
|
+
objc.registerNewKeywords(
|
|
853
|
+
"MLFeatureValue", ("multiArray",), "featureValueWithMultiArray_"
|
|
854
|
+
)
|
|
855
|
+
objc.registerNewKeywords(
|
|
856
|
+
"MLFeatureValue", ("pixelBuffer",), "featureValueWithPixelBuffer_"
|
|
857
|
+
)
|
|
858
|
+
objc.registerNewKeywords("MLFeatureValue", ("sequence",), "featureValueWithSequence_")
|
|
859
|
+
objc.registerNewKeywords("MLFeatureValue", ("string",), "featureValueWithString_")
|
|
860
|
+
objc.registerNewKeywords("MLFeatureValue", ("type",), "undefinedFeatureValueWithType_")
|
|
861
|
+
objc.registerNewKeywords(
|
|
862
|
+
"MLModel",
|
|
863
|
+
("contentsOfURL", "configuration", "error"),
|
|
864
|
+
"modelWithContentsOfURL_configuration_error_",
|
|
865
|
+
)
|
|
866
|
+
objc.registerNewKeywords(
|
|
867
|
+
"MLModel", ("contentsOfURL", "error"), "modelWithContentsOfURL_error_"
|
|
868
|
+
)
|
|
869
|
+
objc.registerNewKeywords(
|
|
870
|
+
"MLModelAsset",
|
|
871
|
+
("specificationData", "blobMapping", "error"),
|
|
872
|
+
"modelAssetWithSpecificationData_blobMapping_error_",
|
|
873
|
+
)
|
|
874
|
+
objc.registerNewKeywords(
|
|
875
|
+
"MLModelAsset",
|
|
876
|
+
("specificationData", "error"),
|
|
877
|
+
"modelAssetWithSpecificationData_error_",
|
|
878
|
+
)
|
|
879
|
+
objc.registerNewKeywords("MLModelAsset", ("URL", "error"), "modelAssetWithURL_error_")
|
|
880
|
+
objc.registerNewKeywords("MLSequence", ("type",), "emptySequenceWithType_")
|
|
881
|
+
objc.registerNewKeywords("MLSequence", ("int64Array",), "sequenceWithInt64Array_")
|
|
882
|
+
objc.registerNewKeywords("MLSequence", ("stringArray",), "sequenceWithStringArray_")
|
|
760
883
|
expressions = {}
|
|
761
884
|
|
|
762
885
|
# END OF FILE
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-CoreML
|
|
3
|
-
Version: 12.
|
|
3
|
+
Version: 12.2
|
|
4
4
|
Summary: Wrappers for the framework CoreML on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -17,7 +17,6 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
|
17
17
|
Classifier: Programming Language :: Python
|
|
18
18
|
Classifier: Programming Language :: Python :: 3
|
|
19
19
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.10
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.11
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.12
|
|
@@ -25,14 +24,14 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.14
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.15
|
|
27
26
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
|
-
Classifier: Programming Language :: Python :: Free Threading ::
|
|
27
|
+
Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
|
|
29
28
|
Classifier: Programming Language :: Objective C
|
|
30
29
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
31
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
32
|
-
Requires-Python: >=3.
|
|
31
|
+
Requires-Python: >=3.10
|
|
33
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
34
|
-
Requires-Dist: pyobjc-core>=12.
|
|
35
|
-
Requires-Dist: pyobjc-framework-Cocoa>=12.
|
|
33
|
+
Requires-Dist: pyobjc-core>=12.2
|
|
34
|
+
Requires-Dist: pyobjc-framework-Cocoa>=12.2
|
|
36
35
|
Dynamic: author
|
|
37
36
|
Dynamic: author-email
|
|
38
37
|
Dynamic: classifier
|
|
@@ -22,12 +22,14 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
22
22
|
* Start of compiler definitions
|
|
23
23
|
*
|
|
24
24
|
*/
|
|
25
|
+
#if 0
|
|
25
26
|
#ifndef __has_feature
|
|
26
27
|
#define __has_feature(x) 0
|
|
27
28
|
#endif
|
|
28
29
|
#ifndef __has_extension
|
|
29
30
|
#define __has_extension(x) __has_feature(x)
|
|
30
31
|
#endif
|
|
32
|
+
#endif
|
|
31
33
|
|
|
32
34
|
#if __has_extension(c_static_assert)
|
|
33
35
|
#define STATIC_ASSERT(test, message) _Static_assert(test, message)
|
|
@@ -55,46 +57,10 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
55
57
|
/*
|
|
56
58
|
*
|
|
57
59
|
* Start of compiler support helpers
|
|
58
|
-
*
|
|
59
|
-
* XXX: Are these needed?
|
|
60
60
|
*/
|
|
61
61
|
|
|
62
|
-
#ifdef __GNUC__
|
|
63
62
|
#define unlikely(x) __builtin_expect(!!(x), 0)
|
|
64
63
|
#define likely(x) __builtin_expect(!!(x), 1)
|
|
65
|
-
#else
|
|
66
|
-
#define likely(x) x
|
|
67
|
-
#define likely(x) x
|
|
68
|
-
#endif
|
|
69
|
-
|
|
70
|
-
/* On some versions of GCC <limits.h> defines LONG_LONG_MAX but not LLONG_MAX, compensate.
|
|
71
|
-
*/
|
|
72
|
-
#ifndef LLONG_MIN
|
|
73
|
-
#ifdef LONG_LONG_MIN
|
|
74
|
-
#define LLONG_MIN LONG_LONG_MIN
|
|
75
|
-
#define LLONG_MAX LONG_LONG_MAX
|
|
76
|
-
#define ULLONG_MAX ULONG_LONG_MAX
|
|
77
|
-
#endif
|
|
78
|
-
#endif
|
|
79
|
-
|
|
80
|
-
/*
|
|
81
|
-
*
|
|
82
|
-
* End of compiler support helpers
|
|
83
|
-
*
|
|
84
|
-
* XXX: These two are no longer needed, all supported platforms
|
|
85
|
-
* are 64-bit
|
|
86
|
-
*/
|
|
87
|
-
|
|
88
|
-
#if __LP64__
|
|
89
|
-
#define Py_ARG_NSInteger "l"
|
|
90
|
-
#define Py_ARG_NSUInteger "k"
|
|
91
|
-
#else
|
|
92
|
-
#define Py_ARG_NSInteger "i"
|
|
93
|
-
#define Py_ARG_NSUInteger "I"
|
|
94
|
-
#endif
|
|
95
|
-
|
|
96
|
-
#define PyObjC__STR(x) #x
|
|
97
|
-
#define PyObjC_STR(x) PyObjC__STR(x)
|
|
98
64
|
|
|
99
65
|
/*
|
|
100
66
|
*
|
|
@@ -131,20 +97,6 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
131
97
|
|
|
132
98
|
extern int PyObjC_Cmp(PyObject* o1, PyObject* o2, int* result);
|
|
133
99
|
|
|
134
|
-
/*
|
|
135
|
-
* A micro optimization: when using Python 3.3 or later it
|
|
136
|
-
* is possible to access a 'char*' with an ASCII representation
|
|
137
|
-
* of a unicode object without first converting it to a bytes
|
|
138
|
-
* string (if the string can be encoded as ASCII in the first
|
|
139
|
-
* place.
|
|
140
|
-
*
|
|
141
|
-
* This slightly reduces the object allocation rate during
|
|
142
|
-
* attribute access.
|
|
143
|
-
*
|
|
144
|
-
* XXX: Use PyUnicode_AsUTF8 instead.
|
|
145
|
-
*/
|
|
146
|
-
extern const char* _Nullable PyObjC_Unicode_Fast_Bytes(PyObject* object);
|
|
147
|
-
|
|
148
100
|
#ifdef __clang__
|
|
149
101
|
|
|
150
102
|
#ifndef Py_LIMITED_API
|
|
@@ -286,6 +238,23 @@ static inline PyObject* _Nullable PyList_GetItemRef(PyObject* l, Py_ssize_t i)
|
|
|
286
238
|
Py_XINCREF(result);
|
|
287
239
|
return result;
|
|
288
240
|
}
|
|
241
|
+
|
|
242
|
+
static inline int
|
|
243
|
+
PyDict_SetDefaultRef(PyObject* p, PyObject* key, PyObject* default_value,
|
|
244
|
+
PyObject* _Nonnull* _Nullable result)
|
|
245
|
+
{
|
|
246
|
+
*result = PyDict_SetDefault(p, key, default_value);
|
|
247
|
+
if (*result == NULL) {
|
|
248
|
+
return -1;
|
|
249
|
+
}
|
|
250
|
+
Py_INCREF(*result);
|
|
251
|
+
|
|
252
|
+
/* This does not follow the spec, should return 1 when the key was already
|
|
253
|
+
* in the dict. That part of the API is not used in PyObjC though.
|
|
254
|
+
*/
|
|
255
|
+
return 0;
|
|
256
|
+
}
|
|
257
|
+
|
|
289
258
|
#endif
|
|
290
259
|
|
|
291
260
|
#if PY_VERSION_HEX < 0x030c0000
|
|
@@ -392,6 +361,11 @@ PyUnstable_TryIncRef(PyObject* op __attribute__((__unused__)))
|
|
|
392
361
|
}
|
|
393
362
|
#endif
|
|
394
363
|
|
|
364
|
+
#if PY_VERSION_HEX < 0x030f00a7
|
|
365
|
+
#define PyAnyDict_CheckExact PyDict_CheckExact
|
|
366
|
+
#define PyAnyDict_Check PyDict_Check
|
|
367
|
+
#endif
|
|
368
|
+
|
|
395
369
|
NS_ASSUME_NONNULL_END
|
|
396
370
|
|
|
397
371
|
#endif /* PyObjC_COMPAT_H */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-CoreML
|
|
3
|
-
Version: 12.
|
|
3
|
+
Version: 12.2
|
|
4
4
|
Summary: Wrappers for the framework CoreML on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -17,7 +17,6 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
|
17
17
|
Classifier: Programming Language :: Python
|
|
18
18
|
Classifier: Programming Language :: Python :: 3
|
|
19
19
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.10
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.11
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.12
|
|
@@ -25,14 +24,14 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.14
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.15
|
|
27
26
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
|
-
Classifier: Programming Language :: Python :: Free Threading ::
|
|
27
|
+
Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
|
|
29
28
|
Classifier: Programming Language :: Objective C
|
|
30
29
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
31
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
32
|
-
Requires-Python: >=3.
|
|
31
|
+
Requires-Python: >=3.10
|
|
33
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
34
|
-
Requires-Dist: pyobjc-core>=12.
|
|
35
|
-
Requires-Dist: pyobjc-framework-Cocoa>=12.
|
|
33
|
+
Requires-Dist: pyobjc-core>=12.2
|
|
34
|
+
Requires-Dist: pyobjc-framework-Cocoa>=12.2
|
|
36
35
|
Dynamic: author
|
|
37
36
|
Dynamic: author-email
|
|
38
37
|
Dynamic: classifier
|
|
@@ -219,19 +219,19 @@
|
|
|
219
219
|
"1": {
|
|
220
220
|
"callable": {
|
|
221
221
|
"arguments": {
|
|
222
|
-
"0": { "
|
|
223
|
-
"1": { "
|
|
222
|
+
"0": { "type": "^v" },
|
|
223
|
+
"1": { "type": "@" }
|
|
224
224
|
},
|
|
225
|
-
"retval": { "
|
|
225
|
+
"retval": { "type": "v" }
|
|
226
226
|
}
|
|
227
227
|
},
|
|
228
228
|
"2": {
|
|
229
229
|
"callable": {
|
|
230
230
|
"arguments": {
|
|
231
|
-
"0": { "
|
|
232
|
-
"1": { "
|
|
231
|
+
"0": { "type": "^v" },
|
|
232
|
+
"1": { "type": "@" }
|
|
233
233
|
},
|
|
234
|
-
"retval": { "
|
|
234
|
+
"retval": { "type": "v" }
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
}
|
|
@@ -243,10 +243,10 @@
|
|
|
243
243
|
"3": {
|
|
244
244
|
"callable": {
|
|
245
245
|
"arguments": {
|
|
246
|
-
"0": { "
|
|
247
|
-
"1": { "
|
|
246
|
+
"0": { "type": "^v" },
|
|
247
|
+
"1": { "type": "@" }
|
|
248
248
|
},
|
|
249
|
-
"retval": { "
|
|
249
|
+
"retval": { "type": "v" }
|
|
250
250
|
}
|
|
251
251
|
},
|
|
252
252
|
"4": { "type_modifier": "o" }
|
|
@@ -279,10 +279,10 @@
|
|
|
279
279
|
"3": {
|
|
280
280
|
"callable": {
|
|
281
281
|
"arguments": {
|
|
282
|
-
"0": { "
|
|
283
|
-
"1": { "
|
|
282
|
+
"0": { "type": "^v" },
|
|
283
|
+
"1": { "type": "@" }
|
|
284
284
|
},
|
|
285
|
-
"retval": { "
|
|
285
|
+
"retval": { "type": "v" }
|
|
286
286
|
}
|
|
287
287
|
},
|
|
288
288
|
"4": { "type_modifier": "o" }
|
|
@@ -295,10 +295,10 @@
|
|
|
295
295
|
"3": {
|
|
296
296
|
"callable": {
|
|
297
297
|
"arguments": {
|
|
298
|
-
"0": { "
|
|
299
|
-
"1": { "
|
|
298
|
+
"0": { "type": "^v" },
|
|
299
|
+
"1": { "type": "@" }
|
|
300
300
|
},
|
|
301
|
-
"retval": { "
|
|
301
|
+
"retval": { "type": "v" }
|
|
302
302
|
}
|
|
303
303
|
},
|
|
304
304
|
"4": { "type_modifier": "o" }
|
|
@@ -315,19 +315,19 @@
|
|
|
315
315
|
"1": {
|
|
316
316
|
"callable": {
|
|
317
317
|
"arguments": {
|
|
318
|
-
"0": { "
|
|
319
|
-
"1": { "
|
|
318
|
+
"0": { "type": "^v" },
|
|
319
|
+
"1": { "type": "@" }
|
|
320
320
|
},
|
|
321
|
-
"retval": { "
|
|
321
|
+
"retval": { "type": "v" }
|
|
322
322
|
}
|
|
323
323
|
},
|
|
324
324
|
"2": {
|
|
325
325
|
"callable": {
|
|
326
326
|
"arguments": {
|
|
327
|
-
"0": { "
|
|
328
|
-
"1": { "
|
|
327
|
+
"0": { "type": "^v" },
|
|
328
|
+
"1": { "type": "@" }
|
|
329
329
|
},
|
|
330
|
-
"retval": { "
|
|
330
|
+
"retval": { "type": "v" }
|
|
331
331
|
}
|
|
332
332
|
}
|
|
333
333
|
}
|
|
@@ -533,11 +533,11 @@
|
|
|
533
533
|
"0": {
|
|
534
534
|
"callable": {
|
|
535
535
|
"arguments": {
|
|
536
|
-
"0": { "
|
|
537
|
-
"1": { "
|
|
538
|
-
"2": { "
|
|
536
|
+
"0": { "type": "^v" },
|
|
537
|
+
"1": { "type": "n^v", "c_array_length_in_arg": 2 },
|
|
538
|
+
"2": { "type": "q" }
|
|
539
539
|
},
|
|
540
|
-
"retval": { "
|
|
540
|
+
"retval": { "type": "v" }
|
|
541
541
|
}
|
|
542
542
|
},
|
|
543
543
|
"5": { "type_modifier": "o" }
|
|
@@ -550,12 +550,12 @@
|
|
|
550
550
|
"0": {
|
|
551
551
|
"callable": {
|
|
552
552
|
"arguments": {
|
|
553
|
-
"0": { "
|
|
554
|
-
"1": { "
|
|
555
|
-
"2": { "
|
|
556
|
-
"3": { "
|
|
553
|
+
"0": { "type": "^v" },
|
|
554
|
+
"1": { "type": "N^v", "c_array_length_in_arg": 2 },
|
|
555
|
+
"2": { "type": "q" },
|
|
556
|
+
"3": { "type": "@" }
|
|
557
557
|
},
|
|
558
|
-
"retval": { "
|
|
558
|
+
"retval": { "type": "v" }
|
|
559
559
|
}
|
|
560
560
|
},
|
|
561
561
|
"5": { "type_modifier": "o" }
|
|
@@ -569,10 +569,10 @@
|
|
|
569
569
|
"4": {
|
|
570
570
|
"callable": {
|
|
571
571
|
"arguments": {
|
|
572
|
-
"0": { "
|
|
573
|
-
"1": { "
|
|
572
|
+
"0": { "type": "^v" },
|
|
573
|
+
"1": { "type": "^v" }
|
|
574
574
|
},
|
|
575
|
-
"retval": { "
|
|
575
|
+
"retval": { "type": "v" }
|
|
576
576
|
}
|
|
577
577
|
},
|
|
578
578
|
"5": { "type_modifier": "o" }
|