Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

Files for wwu, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size wwu-0.0.2-py3-none-any.whl (4.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size wwu-0.0.2.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page