$npx skillfedfor your agent

pyquaternion

A fully featured, pythonic library for representing and using quaternions.

Worth itPyPI Python ModulesReleased Oct 20203.9M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pyquaternion-0.9.9-py2-none-any.whl · pyquaternion-0.9.9-py3-none-any.whl
v0.9.9 · released 2020-10-05 · 1 runtime deps: numpy

Yes. Pyquaternion is a stable, low-friction library with no known vulnerabilities, permissive licensing, and active repository maintenance. It fills a clear niche for quaternion math in Python. The main caveat is that the last release was in 2020; if you need support for very recent Python versions or active feature development, verify compatibility first, but for standard 3D rotation tasks it is a reliable choice.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction install with a single runtime dependency on numpy.
  • Actively maintained with recent commits; last release was over 5 years ago but the repository remains active and the package is widely used.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute this package freely provided you include the license notice.

last release 2020-10-05 (2139 days) · last repo commit 2026-05-07 · 366 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,939,911 downloads/mo, #2,441 on PyPI

Verify before relying

pip install pyquaternion

import pyquaternion
q = pyquaternion.Quaternion(axis=[0, 1, 0], degrees=90)
rotated = q.rotate([0, 0, 4])
  • Whether the package works reliably with Python versions beyond 3.8 (classifiers list 3.8 as the latest tested version).
  • Current status of the 2.7 support claim given modern Python ecosystem shifts.
Same gist for agents: .md · .json

What it is and what it does

Pyquaternion is a pure-Python library for working with quaternions—a mathematical representation of 3D rotations and orientations. It wraps numpy and provides a Pythonic interface for creating quaternions from axes and angles, rotating vectors, and interpolating smoothly between orientations. The library is designed for applications that need to represent and manipulate 3D rotations, such as animation, robotics, and 3D graphics, where quaternions offer numerical stability and smooth interpolation that Euler angles cannot provide.

The package is in Beta development status and has been actively maintained since its first release in 2016. It depends only on numpy for its numerical operations, making installation straightforward. The library supports both Python 2.7 and Python 3.x, though the latest release was in 2020 and the package has not received updates for several years despite the repository remaining active.

Use it for

  • Animate smooth transitions between 3D object orientations by interpolating quaternions rather than Euler angles.
  • Represent and compose rotations in robotics or motion-capture systems without gimbal lock issues.
  • Rotate 3D vectors or point clouds by quaternion-based transformations in graphics or scientific computing.
  • Build pose estimation or orientation tracking systems that need numerically stable rotation representations.
  • Perform geometric calculations involving 3D rotations in physics simulations or CAD-like applications.

Worth the install?

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

Worth it

Yes.

Pyquaternion is a stable, low-friction library with no known vulnerabilities, permissive licensing, and active repository maintenance. It fills a clear niche for quaternion math in Python. The main caveat is that the last release was in 2020; if you need support for very recent Python versions or active feature development, verify compatibility first, but for standard 3D rotation tasks it is a reliable choice.

Install

pyquaternion on PyPI

Before you install

Low friction install with a single runtime dependency on numpy. Actively maintained with recent commits; last release was over 5 years ago but the repository remains active and the package is widely used.

License in practice

MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute this package freely provided you include the license notice.

Quickstart

pip install pyquaternion

import pyquaternion
q = pyquaternion.Quaternion(axis=[0, 1, 0], degrees=90)
rotated = q.rotate([0, 0, 4])

Verify before relying

  • Whether the package works reliably with Python versions beyond 3.8 (classifiers list 3.8 as the latest tested version).
  • Current status of the 2.7 support claim given modern Python ecosystem shifts.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
numpy
MaintenanceActively maintained 2,139 days since the last release
Last repo commit
First released
Downloads3,939,911 / month, #2,441 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Topic :: Scientific/Engineering :: MathematicsTopic :: Scientific/Engineering :: PhysicsTopic :: Scientific/Engineering :: VisualizationTopic :: Software Development :: Embedded SystemsTopic :: Software Development :: Libraries :: Python Modules

Evidence: pyquaternion-0.9.9-py2-none-any.whl; pyquaternion-0.9.9-py3-none-any.whl

Tags

Capabilities
quaternion rotation library3d orientation representationsmooth rotation interpolationquaternion math python3d animation quaternionsaxis-angle rotationpose representation geometry
Topics
3d-geometryrotation-mathanimation
PyPI keywords
quaternionmathmathsphysicsorientationposegeometryvisualisationanimation

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 › “3d orientation representation”

  • pyquaternionProvides quaternion representation, manipulation, and rotation…
  • numpy-quaternionAdds a quaternion dtype to NumPy, enabling efficient quaternion…
  • cmeel-octomapProvides Python bindings to OctoMap, a 3D probabilistic mapping…

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

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also pytweening · transformations · euclid3 · numpy-quaternion · magiccube · pytransform3d · roma · transforms3d · affine · deskew