pytweening
A collection of tweening (aka easing) functions.
Decision gist · record as of 2026-08-14
Yes, with conditions. PyTweening is a stable, dependency-free library with a permissive license and broad Python support, making it suitable for animation and graphics work. However, high install friction (source-only distribution) and dormant maintenance (906 days since last release) are drawbacks. Install it if you need easing functions and can tolerate a build step; consider alternatives if you require active maintenance or pre-built wheels.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- High install friction due to source-only distribution; no wheels provided.
- High install friction: the package is distributed as a source tarball with no pre-built wheels, requiring compilation or setup on each installation.
- Maintenance is dormant—last release was 906 days ago, though the repository remains active and the code is marked Production/Stable.
License · maintenance · safety
MIT (permissive) — MIT license (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.
last release 2024-02-20 (906 days) · last repo commit 2024-02-20 · 128 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,983,593 downloads/mo, #2,801 on PyPI
Alternatives
Verify before relying
import pytweening
# Easing function: map progress (0.0–1.0) to eased value
print(pytweening.easeInQuad(0.5)) # 0.25
# Line interpolation
print(pytweening.getLine(0, 0, 5, 10))
# Coordinate iteration
for x, y in pytweening.iterLinear(0, 0, 100, 150, 0.1):
print(x, y)- Whether the source tarball build succeeds reliably across all claimed Python versions (2.7, 3.4–3.12) on modern systems.
- Current status of Python 2.7 support given its end-of-life; whether 2.7 classifier is maintained or vestigial.
What it is and what it does
PyTweening is a pure-Python library of easing functions used in animation and motion graphics. It takes a normalized progress value between 0.0 and 1.0 and returns an eased output value, allowing smooth, non-linear motion curves (linear, quadratic, cubic, sine, elastic, bounce, and others). The library also includes utilities for line drawing via Bresenham's algorithm and point interpolation along lines, plus iterators to generate coordinate sequences between two points.
The package has no runtime dependencies and is designed for game development, animation frameworks, and any scenario where smooth motion curves are needed. It supports a wide range of Python versions from 2.7 through 3.12, though maintenance is dormant (last release 906 days ago). The code is marked Production/Stable and carries an MIT license.
Use it for
- Animate object position or property changes in games or graphics applications using easing curves.
- Generate smooth camera pan or zoom transitions in interactive media.
- Create timed UI animations (fade-ins, slide-outs, scale transitions) with non-linear motion.
- Draw lines or trace paths on a 2D grid using the Bresenham line algorithm.
- Interpolate coordinates along a line segment for sprite movement or particle effects.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
PyTweening is a stable, dependency-free library with a permissive license and broad Python support, making it suitable for animation and graphics work. However, high install friction (source-only distribution) and dormant maintenance (906 days since last release) are drawbacks. Install it if you need easing functions and can tolerate a build step; consider alternatives if you require active maintenance or pre-built wheels.
Install
pytweening on PyPI
Before you install
High install friction: the package is distributed as a source tarball with no pre-built wheels, requiring compilation or setup on each installation. Maintenance is dormant—last release was 906 days ago, though the repository remains active and the code is marked Production/Stable.
High install friction due to source-only distribution; no wheels provided.
License in practice
MIT license (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.
Quickstart
import pytweening
# Easing function: map progress (0.0–1.0) to eased value
print(pytweening.easeInQuad(0.5)) # 0.25
# Line interpolation
print(pytweening.getLine(0, 0, 5, 10))
# Coordinate iteration
for x, y in pytweening.iterLinear(0, 0, 100, 150, 0.1):
print(x, y)
Verify before relying
- Whether the source tarball build succeeds reliably across all claimed Python versions (2.7, 3.4–3.12) on modern systems.
- Current status of Python 2.7 support given its end-of-life; whether 2.7 classifier is maintained or vestigial.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Dormant 906 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,983,593 / month, #2,801 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: MacOS XEnvironment :: Win32 (MS Windows)Environment :: X11 ApplicationsIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: pytweening-1.2.0.tar.gz
Tags
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 › “easing functions animation”
- pytweeningPyTweening provides a collection of easing (tweening) functions that…
- terminaltexteffectsRenders animated visual effects for text displayed in the terminal,…
- haloHalo displays animated spinners in the terminal to indicate progress…
Give your agent the search over MCP, or paste the wish link into any chat.
More Graphics packages
Pillow adds image processing capabilities to Python, providing file format support, efficient pixel data handling, and image manipulation operations.
Install it if you need to work with images in Python—it is the de facto standard for this task.
fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.
Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.
Enables matplotlib figures to display inline directly within Jupyter notebooks and IPython environments instead of in separate windows.
PyMuPDF extracts, renders, converts, and manipulates PDF and other document formats (XPS, EPUB, images, Office files via Pro) with high performance, providing text, tables, images, and metadata with precise layout information.
The AGPL license requires careful review if you are building proprietary software—commercial licensing is available from Artifex.
pypdfium2 is a Python binding to PDFium that enables PDF rendering, inspection, manipulation, and creation through a ctypes interface to Google's PDFium library.
Install it if you need PDF rendering, inspection, or manipulation in Python; the medium install friction is offset by comprehensive platform support.
Altair is a declarative Python library for creating interactive statistical visualizations by writing simple, readable code that compiles to Vega-Lite specifications.
See also pyquaternion · pytransform3d · piecewise-rational · terminaltexteffects · py-expression-eval · manim · fast-simplification · opensimplex · affine