skillfed

pyobjc-framework-GameplayKit

Wrappers for the framework GameplayKit on macOS

pyobjc-framework-gameplaykit v12.2.2 655.5K downloads/30d#5,514 on PyPI803
Permissive license MIT Active released

What it is and what it does

This package wraps Apple's GameplayKit framework, making it accessible from Python on macOS. GameplayKit provides game development primitives like entity-component architecture, spatial partitioning, pathfinding algorithms, and AI behavior trees—tools typically used in game engines to manage game logic and entity behavior. The wrapper is part of the PyObjC project, which bridges Python and Objective-C frameworks on macOS.

The package depends on pyobjc-core, pyobjc-framework-Cocoa, and pyobjc-framework-SpriteKit, meaning it integrates into a larger ecosystem of macOS framework bindings. It is intended for developers building games or interactive applications on macOS who want to use Python instead of Swift or Objective-C. The bindings do not include their own documentation; users must refer to Apple's GameplayKit documentation and PyObjC's general bridge documentation to understand how to translate between Python and the underlying framework.

Use it for:

  • Build 2D or 3D games on macOS using Python, leveraging GameplayKit's entity-component system for game object management.
  • Implement AI agents and behavior trees in Python for macOS games or simulations using GameplayKit's AI utilities.
  • Prototype game mechanics and pathfinding algorithms on macOS without leaving the Python ecosystem.
  • Integrate GameplayKit with SpriteKit-based graphics (via pyobjc-framework-SpriteKit) for complete 2D game development in Python.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides Python bindings to Apple's GameplayKit framework on macOS, enabling access to game development utilities like entity-component systems, pathfinding, and AI behavior trees from Python code.

Yes, if you are developing games or interactive applications on macOS and prefer Python over Swift or Objective-C. The package is actively maintained, has no known vulnerabilities, and carries a permissive MIT license. The main constraint is that it only runs on macOS and requires Python 3.10+; install friction is moderate due to platform-specific wheels and multiple PyObjC dependencies, but this is expected for framework bindings.

Install

pyobjc-framework-gameplaykit on PyPI

pip

pip install pyobjc-framework-gameplaykit

uv

uv add pyobjc-framework-gameplaykit

poetry

poetry add pyobjc-framework-gameplaykit

Installing pyobjc-framework-GameplayKit

Before you install

Medium friction: platform-specific wheels for macOS only (requires Python 3.10+), with three runtime dependencies on other PyObjC framework packages. Active maintenance with a recent release (3 days old) and steady repository activity.

License in practice

MIT license permits commercial and private use with minimal restrictions—suitable for most projects as long as you retain the license notice.

Quickstart

pip install pyobjc-framework-gameplaykit

import GameplayKit
# Access GameplayKit classes and functions via the GameplayKit module

macOS only; requires Python 3.10 or later and a macOS system with the GameplayKit framework available.

Verify before relying

  • Whether the GameplayKit bindings cover the full framework API or only a subset.
  • Performance characteristics and overhead of the Python-to-Objective-C bridge for real-time game loops.
  • Compatibility with specific macOS versions beyond the wheel metadata hints.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.10)
Install friction medium — platform-specific wheel
Runtime dependencies 3 — pyobjc-core, pyobjc-framework-Cocoa, pyobjc-framework-SpriteKit
Maintenance actively maintained — 3 days since the last release
Last repo commit
First released
Downloads 655,531/month — #5,514 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pyobjc_framework_gameplaykit-12.2.2-cp310-cp310-macosx_10_9_universal2.whl; pyobjc_framework_gameplaykit-12.2.2-cp311-cp311-macosx_10_9_universal2.whl; pyobjc_framework_gameplaykit-12.2.2-cp312-cp312-macosx_10_13_universal2.whl; pyobjc_framework_gameplaykit-12.2.2-cp313-cp313-macosx_10_13_universal2.whl; pyobjc_framework_gameplaykit-12.2.2-cp313-cp313t-macosx_10_13_universal2.whl; pyobjc_framework_gameplaykit-12.2.2-cp314-cp314-macosx_10_15_universal2.whl; pyobjc_framework_gameplaykit-12.2.2-cp314-cp314t-macosx_10_15_universal2.whl; pyobjc_framework_gameplaykit-12.2.2-cp315-cp315-macosx_10_15_universal2.whl; pyobjc_framework_gameplaykit-12.2.2-cp315-cp315t-macosx_10_15_universal2.whl

Keywords: PyObjC, GameplayKit

Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: MacOS X :: CocoaIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: MacOS :: MacOS XProgramming Language :: Objective CProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Programming Language :: Python :: Free Threading :: 3 - StableProgramming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: User Interfaces

Tags

macos gameplaykit python bindingspyobjc gameplaykit wrapperpython game development macosobjective-c gameplaykit bridgemacos game ai pathfinding python
macos-onlygame-developmentobjc-bridge

More Python Modules packages

idna

Converts domain names between Unicode and…

permissive · top 100 on PyPI

setuptools

Setuptools is a Python build backend and…

permissive · top 100 on PyPI

PyYAML

PyYAML parses and emits YAML 1.1 data format,…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

annotated-types

Provides reusable metadata objects for use with…

permissive · top 100 on PyPI

typing-inspection

Provides runtime tools to inspect and…

permissive · top 100 on PyPI

pyobjc-framework-GameSave

Provides Python bindings for macOS's GameSave…

permissive · top 15,000 on PyPI

pyobjc-framework-ClassKit

Provides Python bindings to Apple's ClassKit…

permissive · top 15,000 on PyPI

pyobjc-framework-GameKit

Provides Python bindings to Apple's GameKit…

permissive · top 15,000 on PyPI

pyobjc-framework-SpriteKit

Provides Python bindings to macOS's SpriteKit…

permissive · top 15,000 on PyPI

pyobjc-framework-GameCenter

Provides Python bindings to Apple's GameCenter…

permissive · top 15,000 on PyPI

pyobjc-framework-GameController

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-Vision

Provides Python bindings to macOS's Vision…

permissive · top 5,000 on PyPI

pyobjc-framework-CoreAudioKit

Provides Python bindings for macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-SafetyKit

Provides Python bindings to macOS's SafetyKit…

permissive · top 15,000 on PyPI

pyobjc-framework-ScreenSaver

Provides Python bindings to macOS's ScreenSaver…

permissive · top 15,000 on PyPI