$npx skillfedfor your agent

PyRect

PyRect is a simple module with a Rect class for Pygame-like rectangular areas.

With conditionsPyPI GraphicsReleased Mar 20222.9M downloads / moBSDSource build

Decision gist · record as of 2026-08-14

sdist only — PyRect-0.2.0.tar.gz · builds from source
v0.2.0 · released 2022-03-16

Yes, if you need Pygame-like rect operations without Pygame and can tolerate a dormant package. The library is small, dependency-free, and stable for its core use case. However, install friction is high (source distribution only), and the last release was in 2022—verify that it meets your Python version and feature needs before committing. No known security vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Installation friction is high due to source distribution only (PyRect-0.2.0.tar.gz).
  • The package is dormant—last release was 2022-03-16, though the repository remains active with a recent commit on 2024-08-18.
  • No runtime dependencies.

License · maintenance · safety

BSD (permissive) — BSD license is permissive, allowing commercial and private use with minimal restrictions. You may use, modify, and distribute PyRect freely provided you retain the license notice.

last release 2022-03-16 (1612 days) · last repo commit 2024-08-18 · 13 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,895,059 downloads/mo, #2,834 on PyPI

Verify before relying

pip install pyrect

import pyrect
r = pyrect.Rect(0, 0, 10, 20)
print(r.width, r.height, r.center)
  • Whether the package is actively maintained or accepting contributions despite dormant status
  • Whether high install friction (source distribution only) reflects ongoing build/packaging constraints
  • Compatibility with modern Python versions beyond those explicitly listed in classifiers
Same gist for agents: .md · .json

What it is and what it does

PyRect is a lightweight, standalone implementation of a rectangular area class modeled after Pygame's Rect. It lets you create rectangles by specifying top-left corner coordinates, width, and height, then read and modify a rich set of derived attributes—edges (top, left, bottom, right), corners (topleft, topright, etc.), center points, and dimensions—with automatic recalculation of dependent values whenever you change one. The package supports both integer and floating-point coordinates (via an enableFloat flag) and maintains compatibility across Python 2 and 3.

You would use PyRect when you need geometric rectangle operations without importing the full Pygame library—for example, in game logic, UI layout, collision detection, or any code that manipulates rectangular regions. It has no external dependencies and is designed as a drop-in alternative for projects that don't need the rest of Pygame.

Use it for

  • Game development: manage rectangular collision areas and sprite bounds without a full game engine
  • UI layout: calculate and adjust rectangular regions for window or widget positioning
  • Geometric calculations: compute rectangle intersections, containment, and coordinate transformations
  • Collision detection: use rect attributes to test overlap and containment between game objects
  • Graphics rendering: define rectangular drawing areas and viewport regions in custom renderers

Worth the install?

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

With conditions

Yes, if you need Pygame-like rect operations without Pygame and can tolerate a dormant package.

The library is small, dependency-free, and stable for its core use case. However, install friction is high (source distribution only), and the last release was in 2022—verify that it meets your Python version and feature needs before committing. No known security vulnerabilities.

Install

pyrect on PyPI

Before you install

Installation friction is high due to source distribution only (PyRect-0.2.0.tar.gz). The package is dormant—last release was 2022-03-16, though the repository remains active with a recent commit on 2024-08-18. No runtime dependencies.

License in practice

BSD license is permissive, allowing commercial and private use with minimal restrictions. You may use, modify, and distribute PyRect freely provided you retain the license notice.

Quickstart

pip install pyrect

import pyrect
r = pyrect.Rect(0, 0, 10, 20)
print(r.width, r.height, r.center)

Verify before relying

  • Whether the package is actively maintained or accepting contributions despite dormant status
  • Whether high install friction (source distribution only) reflects ongoing build/packaging constraints
  • Compatibility with modern Python versions beyond those explicitly listed in classifiers

Package facts

LicenseBSD permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceDormant 1,612 days since the last release
Last repo commit
First released
Downloads2,895,059 / month, #2,834 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: MacOS XEnvironment :: Win32 (MS Windows)Intended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.5Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.1Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.2Programming Language :: Python :: 3.3Programming 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: PyRect-0.2.0.tar.gz

Tags

Capabilities
pygame rect class standalonerectangular area geometryrect coordinates and dimensionspygame-like rect without pygamerectangle position and sizerect collision and positioninggeometric rectangle math
Topics
geometrypygame-compatibleno-dependencies
PyPI keywords
pygamerectrectangularrectanglearea

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 › “pygame rect class standalone”

  • PyRectPyRect provides a Rect class for representing and manipulating…
  • pymunkPymunk is a 2D rigid body physics simulation library for Python,…
  • Box2DBox2D is a Python binding to the Box2D C++ physics engine, providing…

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

More Graphics packages

pillow Worth it
PyPI · Graphics · released Jul 2026

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.

MIT-CMUcompiled wheel · 3.10+
547.1Mdownloads / mo
fonttools Worth it
PyPI · Text Processing · released May 2026

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.

permissive licensepure Python · 3.10+
235.9Mdownloads / mo
matplotlib-inline Worth it
PyPI · Graphics · released May 2026

Enables matplotlib figures to display inline directly within Jupyter notebooks and IPython environments instead of in separate windows.

BSD-3-Clausepure Python · 3.9+
130.5Mdownloads / mo
pymupdf Worth it
PyPI · Libraries · released Aug 2026

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.

AGPLcompiled wheel · 3.10+
114.9Mdownloads / mo
pypdfium2 Worth it
PyPI · Libraries · released Aug 2026

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.

permissive licensecompiled wheel · 3.6+
76.9Mdownloads / mo
altair Worth it
PyPI · Graphics · released Jun 2026

Altair is a declarative Python library for creating interactive statistical visualizations by writing simple, readable code that compiles to Vega-Lite specifications.

BSD-3-Clausepure Python · 3.10+
54.5Mdownloads / mo

See also PyWinBox · rectpack · rectangle-packer · squarify · pyzbar · py3dbp · PyScreeze