DOCS / TUTORIAL

First packed container

Install one package, send one request on stdin and read the answer in order: the status, the containers, what was left behind and the score.

Docs for Packvium 1.11.x · contract stable since 1.0

01Install the engine for your runtime#

Python, PHP, Node and the browser each install one package and need nothing compiled. The pure Python and PHP libraries have zero runtime dependencies; the native core is optional and nothing depends on it.

02Send the smallest useful request#

Ask for the smallest thing that is still real: a handful of identical cubes and one container, as JSON on stdin. Every engine accepts the same document and must return the same placements.

03Read the answer in order#

The status says whether the answer is proven, the best found in the time allowed, or a refusal. The containers section holds every container the engine opened and every placement inside it. The unplaced items carry a reason each, and that reason, rather than the absence of a placement, is the answer to 'why not'. The score ranks the result.