{"categories":[{"label":"Mathematics","url":"https://skillfed.io/packages/category/scientific-engineering-mathematics/3"}],"enrichment":{"capability":"Packs a set of rectangles with fixed orientations into a minimal-area bounding box with no overlaps, returning the (x, y) coordinates of each rectangle's lower-left corner.","skillfed_tags":["geometry","optimization","spatial-layout"],"use_cases":["Generate texture atlases for game engines by packing sprite sheets into minimal-area canvases.","Optimize UI layout in graphics applications by arranging rectangular elements with minimal wasted space.","Arrange rectangular bins or containers in warehouse or logistics planning simulations.","Pack rectangular images or tiles into a single image file for efficient storage and rendering.","Solve bin-packing problems in manufacturing or material-cutting scenarios."],"what_it_does":"rectangle-packer is a Python library that solves the 2D rectangle packing problem: given a collection of rectangles with fixed dimensions, it arranges them into a bounding box with minimal area and no overlaps. The package is implemented in C for performance and exposes a simple Python API that takes a list of (width, height) tuples and returns the (x, y) coordinates where each rectangle should be placed.\n\nThe library targets developers working on layout problems in graphics, game engines, texture atlasing, or any domain requiring efficient spatial arrangement of rectangular objects. It has no runtime dependencies and supports modern Python versions (3.9 through 3.14) across Linux, macOS, and Windows with precompiled wheels.","worth_installing":"Yes. The package is stable (Production/Stable status), actively maintained, has no known vulnerabilities, and solves a well-defined problem with a clean API. The medium install friction is offset by precompiled wheels for common platforms and Python versions. Install it if you need to pack rectangles efficiently."},"id":"rectangle-packer","links":{"html":"https://skillfed.io/packages/rectangle-packer","md":"https://skillfed.io/packages/rectangle-packer.md","pypi":"https://pypi.org/project/rectangle-packer/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-12","license_spdx":null,"license_treatment":"permissive","name":"rectangle-packer","python_support":"supports_current","summary":"Pack a set of rectangles into a bounding box with minimum area"},"popularity":{"monthly_downloads":207686,"position":9544,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.1.0"}
