Skip to main content

Find the optimal way up to store your boxes.

Project description

WWU

Do you have limited storage space and a bunch of boxes to store? wwu tells you which way up will be best.

Boxes have 6 permutations in terms of storing them and currently wwu provides an indexed value of a permutation so you will only receive values in the range of 0 - 5.

Example

from wwu import Box

b = Box(10, 10, 20)  # Create a box with 10 x 10 x 20 dimensions.
b.wwu(10, 10, 20)  # Find the optimal permutation in storage space of 10 x 10 x 20

>>> 0

Installation

pip install wwu

Tests

pytest
========================================= test session starts ==========================================
platform linux -- Python 3.7.4, pytest-5.1.2, py-1.8.0, pluggy-0.12.0
rootdir: /var/home/Um9i/Documents/wwu
collected 2 items                                                                                      

tests/test_wwu.py ..                                                                             [100%]

========================================== 2 passed in 0.01s ===========================================

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wwu-0.0.2.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

wwu-0.0.2-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page