{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/6"},{"label":"Physics","url":"https://skillfed.io/packages/category/scientific-engineering-physics"},{"label":"Games/Entertainment","url":"https://skillfed.io/packages/category/games-entertainment"}],"enrichment":{"capability":"Pymunk is a 2D rigid body physics simulation library for Python, providing collision detection, body dynamics, and constraint solving built on the Chipmunk2D engine.","skillfed_tags":["game-physics","simulation","2d-graphics"],"use_cases":["Add realistic gravity, collisions, and rigid body dynamics to a game without implementing physics from scratch","Simulate mechanical systems, pendulums, or constraint-based structures for research or educational demonstrations","Prototype 2D physics interactions in a notebook or standalone script for algorithm validation","Build interactive physics sandboxes where users can create and manipulate bodies and constraints in real time","Test collision detection and response logic for game level design or agent navigation"],"what_it_does":"Pymunk wraps the Chipmunk2D physics engine in a Pythonic API, letting you simulate 2D rigid bodies, collisions, and constraints without writing C code. You create a Space (simulation container), add bodies with shapes, set gravity and other properties, then step the simulation forward in time. It's designed to integrate with game frameworks or run standalone for physics demos and scientific simulations.\n\nThe library has been actively maintained since 2007 and is used in published research, game competition winners, and autonomous vehicle simulations. It requires Python 3.9 or later and depends only on cffi; binary wheels are available for Windows, macOS, and Linux on multiple architectures, making installation straightforward via pip.","worth_installing":"Yes. Pymunk is a mature, actively maintained library with no known vulnerabilities, permissive MIT licensing, and a single lightweight dependency. Install friction is medium but manageable via prebuilt wheels. It is the right choice if you need 2D rigid body physics in Python\u2014especially for games or simulations\u2014and want to avoid implementing collision and constraint solvers yourself."},"id":"pymunk","links":{"html":"https://skillfed.io/packages/pymunk","md":"https://skillfed.io/packages/pymunk.md","pypi":"https://pypi.org/project/pymunk/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-17","license_spdx":"MIT","license_treatment":"permissive","name":"pymunk","python_support":"supports_current","summary":"Pymunk is a easy-to-use pythonic 2D physics library"},"popularity":{"monthly_downloads":379140,"position":7111,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"7.3.0"}
