Welcome to BoxPacker’s documentation!

BoxPacker is an implementation of the “4D” bin packing/knapsack problem i.e. given a list of items, how many boxes do you need to fit them all in.

Especially useful for e.g. e-commerce contexts when you need to know box size/weight to calculate shipping costs, or even just want to know the right number of labels to print.

License

BoxPacker is licensed under the MIT license.

Warning

You are reading the documentation for BoxPacker v3 which is under development and has not been released yet. Everything contained in these pages and in the code is subject to change, and you are highly recommend to use v2 instead.