skip to navigation
skip to content

mochila 0.2.0

Provides collections and a powerful API to process data in those collections in a declarative way.

Collections are vital for implementing algorithms: they are the bread an butter of data aggregation and processing. For example, a collection can be used to represent the list of ingredients of a recipe. Then, you might want your algorithm to scale the ingredients to accommodate a different number of portions than the original recipe. The Mochila package provides a powerful API to process data in collections in a declarative way.



You can download and install the latest version of this software from the Python package index (PyPI) as follows:

pip install --upgrade mochila


Import the module and all or any of the collections you want to use:

from mochila import Sequence

s = Sequence([1,2,3])

The complete reference is hosted in Read the Docs.


Development of this happens on Bitbucket, and issues are tracked in Youtrack.

Bug reports, patches (including tests), and documentation are very welcome!

Contributing contains information on contributing to the project. Changelog ========= All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog]( and this project adheres to [Semantic Versioning](



  • Additional examples to the documentation


  • Fixed some of the method implementation to reduce the number of methods that modify the underlying collections.
  • Changed the the name of the changelog file and defined it’s format and contents

[0.1.0] - 2017-08-27

Initial release. Includes the first API implementation, tests and documentation.

File Type Py Version Uploaded on Size
mochila-0.2.0-py3-none-any.whl (md5) Python Wheel py3 2017-09-19 12KB
mochila-0.2.0.tar.gz (md5) Source 2017-09-19 23KB