$npx skillfedfor your agent

pymunk

Pymunk is a easy-to-use pythonic 2D physics library

Worth itPyPI LibrariesReleased Jun 2026379.1K downloads / moMITPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — pymunk-7.3.0-cp310-cp310-macosx_10_9_x86_64.whl · pymunk-7.3.0-cp310-cp310-macosx_11_0_arm64.whl · pymunk-7.3.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
v7.3.0 · released 2026-06-17 · Python >=3.9 · 1 runtime deps: cffi

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—especially for games or simulations—and want to avoid implementing collision and constraint solvers yourself.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later; binary wheels available for common platforms, but compilation from source requires a C compiler.
  • Medium install friction due to compiled wheels for multiple platforms and Python versions.
  • Active maintenance with recent release (58 days ago) and 1062 repository stars.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions—suitable for games, simulations, and research projects without licensing concerns.

last release 2026-06-17 (58 days) · last repo commit 2026-07-06 · 1,062 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 379,140 downloads/mo, #7,111 on PyPI

Verify before relying

pip install pymunk

import pymunk

space = pymunk.Space()
space.gravity = 0, -981
body = pymunk.Body()
body.position = 50, 100
poly = pymunk.Poly.create_box(body)
poly.mass = 10
space.add(body, poly)
space.step(0.02)
  • Whether performance is suitable for real-time game loops at typical frame rates
  • Stability and API compatibility guarantees across minor version updates
  • Whether constraint types and joint options cover specific simulation needs
Same gist for agents: .md · .json

What it is and 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.

The 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.

Use it for

  • 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

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

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—especially for games or simulations—and want to avoid implementing collision and constraint solvers yourself.

Install

pymunk on PyPI

Before you install

Medium install friction due to compiled wheels for multiple platforms and Python versions. Active maintenance with recent release (58 days ago) and 1062 repository stars. Single runtime dependency (cffi) is lightweight.

Requires Python 3.9 or later; binary wheels available for common platforms, but compilation from source requires a C compiler.

License in practice

MIT license permits commercial and private use with minimal restrictions—suitable for games, simulations, and research projects without licensing concerns.

Quickstart

pip install pymunk

import pymunk

space = pymunk.Space()
space.gravity = 0, -981
body = pymunk.Body()
body.position = 50, 100
poly = pymunk.Poly.create_box(body)
poly.mass = 10
space.add(body, poly)
space.step(0.02)

Verify before relying

  • Whether performance is suitable for real-time game loops at typical frame rates
  • Stability and API compatibility guarantees across minor version updates
  • Whether constraint types and joint options cover specific simulation needs

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.9
Install frictionMedium. Platform-specific wheel
Runtime dependencies
1 package
cffi
MaintenanceActively maintained 58 days since the last release
Last repo commit
First released
Downloads379,140 / month, #7,111 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Games/EntertainmentTopic :: Scientific/Engineering :: PhysicsTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: pygame

Evidence: pymunk-7.3.0-cp310-cp310-macosx_10_9_x86_64.whl; pymunk-7.3.0-cp310-cp310-macosx_11_0_arm64.whl; pymunk-7.3.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; pymunk-7.3.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; pymunk-7.3.0-cp310-cp310-musllinux_1_2_aarch64.whl; pymunk-7.3.0-cp310-cp310-musllinux_1_2_x86_64.whl; pymunk-7.3.0-cp310-cp310-win32.whl; pymunk-7.3.0-cp310-cp310-win_amd64.whl; pymunk-7.3.0-cp311-cp311-macosx_10_9_x86_64.whl; pymunk-7.3.0-cp311-cp311-macosx_11_0_arm64.whl; pymunk-7.3.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; pymunk-7.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; pymunk-7.3.0-cp311-cp311-musllinux_1_2_aarch64.whl; pymunk-7.3.0-cp311-cp311-musllinux_1_2_x86_64.whl; pymunk-7.3.0-cp311-cp311-win32.whl; pymunk-7.3.0-cp311-cp311-win_amd64.whl; pymunk-7.3.0-cp312-cp312-macosx_10_13_x86_64.whl; pymunk-7.3.0-cp312-cp312-macosx_11_0_arm64.whl; pymunk-7.3.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; pymunk-7.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Tags

Capabilities
2d physics simulation pythonrigid body physics librarycollision detection 2dgame physics enginepymunk chipmunk2d physics gamesphysics constraints solver
Topics
game-physicssimulation2d-graphics
PyPI keywords
pygame2dphysicsrigid body

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “2d physics simulation python”

  • pymunkPymunk is a 2D rigid body physics simulation library for Python,…
  • Box2DBox2D is a Python binding to the Box2D C++ physics engine, providing…
  • python-motion-planningImplements motion planning algorithms including path planners for N-D…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also Box2D · pybullet · libpinocchio · pin · mujoco · mujoco-warp · pyglet · quimb · newton · nashpy