More routines for operating on iterables and data structures, beyond itertools
Python’s itertools library is a gem - you can compose elegant solutions for a variety of problems with the functions it provides. In easy-tools we collect additional building blocks, recipes, and routines for working with Python iterables.
To get started, install the library with pip:
pip install easy-tools
- The recipes (modules/functions) included in this package are:<br>
- .triplet_occurrence<br> .doublet_occurrence<br> .equilibrium_point<br> .non_divisible_subset_len<br> .leaders_to_left<br> .leaders_to_right<br> .largest_number_possible<br> .divisible_pairs
>>> from easy_tools import largest_number_possible >>> iterable = [98, 9, 26] >>> largest_number_possible(iterable) 99826
You can use help function to get the detailed description of a function.
easy-tools is maintained by @jayanth. If you have a problem or suggestion, please file a bug or pull request in this repository. Happy Pythoning!
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size easy_tools-3.5.tar.gz (5.3 kB)||File type Source||Python version None||Upload date||Hashes View|