Metadata-Version: 2.4
Name: partition-while
Version: 0.1.0
Summary: Partition a list by a condition on the sublists.
Author-email: Daniele Gregori <dangregori@gmail.com>
License: MIT
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# partition-while

The function partition-while splits a collection into sublists comprised of consecutive elements which satisfy a given condition.

For example:

```python
from partition_while.core import partition_while

print(partition_while([1,2,3,4,5,6,7,8,9,10], lambda x: sum(x) <= 10))
```
