PackAny (Yogurt Nodes)
Bundle 32 Values Down One Wire
- item1
- item2
- item3
- item4
- item5
- item6
- item7
- item8
- item9
- item10
- item11
- item12
- item13
- item14
- item15
- item16
- item17
- item18
- item19
- item20
- item21
- item22
- item23
- item24
- item25
- item26
- item27
- item28
- item29
- item30
- item31
- item32
- pack
Every ComfyUI power user eventually hits the wall: your workflow has grown so many parallel wires - a seed here, a strength there, a model name, a scale - that the graph looks like spaghetti and half the connections are just transport. YogurtPackAny is the "put everything in one box" node: up to 32 inputs, all * (any type), and a single pack output that carries them as one value.
item1throughitem32- all optional, all any-typed.packout - aPACK_TUPLEholding everything in order.
That's the whole node. No settings, no configuration. The trick is what you do with the other end: the same pack ships YogurtUnpackAny, which splits a PACK_TUPLE back into individual values. Pack here, unpack there, and a whole fan of wires collapses into two.
Why you'd bother
Two reasons, and they're both about readability.
First, cleanup. Take a cluster of "config values" that feed a group of nodes, pack them at the source, unpack them right before the consumer. The middle of the graph loses a dozen crossing wires. This is the same organizing impulse that made rgthree's Context nodes a staple - fewer visual wires means you can actually see the pipeline.
Second, modularity. When you package a sub-workflow, a single PACK_TUPLE in and out is a clean interface - the guts can change without re-wiring everything around it.
The one thing to internalize: order matters. PackAny preserves the order you connect, and UnpackAny hands values back in that same order. It's a tuple, not a dict - there are no names. Get the order wrong on one end and the wrong value lands in the wrong input, which is a fun bug to chase.
Install
Part of ComfyUI-YogurtNodes, a single-maintainer grab-bag that flies well under the community radar - no reddit threads, no drama, just a quiet collection of 152 practical nodes. ComfyUI Manager → search ComfyUI-YogurtNodes → install, or:
cd ComfyUI/custom_nodes
git clone https://github.com/yogurt7771/ComfyUI-YogurtNodes.git
cd ComfyUI-YogurtNodes
pip install -r requirements.txt
Restart ComfyUI; find it under "Yogurt Nodes" (display name "PackAny (Yogurt Nodes)").
If you're deciding between this and the same pack's dict nodes (YogurtToDict, YogurtDictMerge, etc.): reach for PackAny when the order is fixed and you just need transport, reach for a dict when you want named access to the fields on the far side. Named is safer; packed is simpler.
Inputs (32)
| Name | Type | Default | Description |
|---|---|---|---|
| item1opt | * | The 1th item to pack. | |
| item2opt | * | The 2th item to pack. | |
| item3opt | * | The 3th item to pack. | |
| item4opt | * | The 4th item to pack. | |
| item5opt | * | The 5th item to pack. | |
| item6opt | * | The 6th item to pack. | |
| item7opt | * | The 7th item to pack. | |
| item8opt | * | The 8th item to pack. | |
| item9opt | * | The 9th item to pack. | |
| item10opt | * | The 10th item to pack. | |
| item11opt | * | The 11th item to pack. | |
| item12opt | * | The 12th item to pack. | |
| item13opt | * | The 13th item to pack. | |
| item14opt | * | The 14th item to pack. | |
| item15opt | * | The 15th item to pack. | |
| item16opt | * | The 16th item to pack. | |
| item17opt | * | The 17th item to pack. | |
| item18opt | * | The 18th item to pack. | |
| item19opt | * | The 19th item to pack. | |
| item20opt | * | The 20th item to pack. | |
| item21opt | * | The 21th item to pack. | |
| item22opt | * | The 22th item to pack. | |
| item23opt | * | The 23th item to pack. | |
| item24opt | * | The 24th item to pack. | |
| item25opt | * | The 25th item to pack. | |
| item26opt | * | The 26th item to pack. | |
| item27opt | * | The 27th item to pack. | |
| item28opt | * | The 28th item to pack. | |
| item29opt | * | The 29th item to pack. | |
| item30opt | * | The 30th item to pack. | |
| item31opt | * | The 31th item to pack. | |
| item32opt | * | The 32th item to pack. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| pack | PACK_TUPLE | — |