About Anaconda Help Download Anaconda

Minimal library that enables partitioning of iterable objects in a concise manner.

Installers

  • linux-s390x v1.7.0
  • linux-aarch64 v1.7.0
  • osx-arm64 v1.7.0
  • linux-64 v1.7.0
  • osx-64 v1.7.0
  • linux-ppc64le v1.7.0
  • win-64 v1.7.0

conda install

To install this package run one of the following:
conda install sfe1ed40::parts

Description

This library provides a function for partitioning iterable data structure instances. When the number of parts is specified explicitly, it is treated as a strict requirement and an exception is raised when it cannot be satisfied. When a length for all parts (or each part) is specified explicitly, a best-effort approach is used: as many parts of the specified length are retrieved as possible, with the possibility that some parts at the end of the partition sequence have a shorter (but still non-zero) length.


© 2025 Anaconda, Inc. All Rights Reserved. (v4.0.6) Legal | Privacy Policy