rectangle-packer-2.0.6


توضیحات

Pack a set of rectangles into a bounding box with minimum area
ویژگی مقدار
سیستم عامل POSIX :: Linux
نام فایل rectangle-packer-2.0.6
نام rectangle-packer
نسخه کتابخانه 2.0.6
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Daniel Andersson
ایمیل نویسنده daniel.4ndersson@gmail.com
آدرس صفحه اصلی https://github.com/Penlect/rectangle-packer
آدرس اینترنتی https://pypi.org/project/rectangle-packer/
مجوز MIT
================ rectangle-packer ================ Fast rectangle packing for Python. Given a set of rectangles with fixed orientations, ``rectangle-packer`` finds an enclosing bounding box with small area and no overlaps. Installation ============ .. code:: sh python3 -m pip install rectangle-packer Quick start =========== .. code:: python import rpack sizes = [(58, 206), (231, 176), (35, 113), (46, 109)] positions = rpack.pack(sizes) print(positions) The output contains ``(x, y)`` coordinates for each rectangle's lower-left corner. Documentation and source ======================== * Documentation: https://rectangle-packer.readthedocs.io/en/latest/ * Source code: https://github.com/Penlect/rectangle-packer


زبان مورد نیاز

مقدار نام
>=3.9 Python


نحوه نصب


نصب پکیج whl rectangle-packer-2.0.6:

    pip install rectangle-packer-2.0.6.whl


نصب پکیج tar.gz rectangle-packer-2.0.6:

    pip install rectangle-packer-2.0.6.tar.gz