Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/DeepLabCut/DeepLabCut
/ chunked
Function
chunked
tools/trim_lines.py:56–58 ·
view source on GitHub ↗
(items: list[str], size: int = 50)
Source
from the content-addressed store, hash-verified
54
55
56
def
chunked(items: list[str], size: int = 50):
57
for
i in range(0, len(items), size):
58
yield
items[i : i + size]
59
60
61
def
main() -> int:
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected