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
Release history Release notifications | RSS feed
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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
wwu-0.0.2-py3-none-any.whl
(4.0 kB
view details)
File details
Details for the file wwu-0.0.2.tar.gz.
File metadata
- Download URL: wwu-0.0.2.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0287fa1a7d65b2ccb58bedb52d34e5301670222873ccdd59bbc1ce05fd6d1147
|
|
| MD5 |
0f0a74a67856cf1ae4f3b1290b3eca50
|
|
| BLAKE2b-256 |
d9e393216d54b6d17d9e89b88abcf05f33bca944227e21179aed439cf8cec827
|
File details
Details for the file wwu-0.0.2-py3-none-any.whl.
File metadata
- Download URL: wwu-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf93a76c2113b30209e77951822e712297bc22a2b037db0cb5b6aaf378576eb2
|
|
| MD5 |
44edca79708801adc1a307c04f9cd674
|
|
| BLAKE2b-256 |
02c3ab45142b4f60882ef8394a9f6674f99cd34bce34222cda3f728cdc7c5a7a
|