Skip to main content

More routines for operating on iterables and data structures, beyond itertools

Project description

Easy Tools

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.


Getting started

To get started, install the library with pip:

pip install easy-tools

The recipes (modules/functions) included in this package are:

doublet_occurrence

triplet_occurrence

equilibrium_point

non_divisible_subset_len

leaders_to_left

divisible_pairs

leaders_to_right

largest_number_possible

For example,

>>> 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.

>>> help(function_name)

Development

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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

easy_tools-3.7.tar.gz (5.4 kB view details)

Uploaded Source

File details

Details for the file easy_tools-3.7.tar.gz.

File metadata

  • Download URL: easy_tools-3.7.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2

File hashes

Hashes for easy_tools-3.7.tar.gz
Algorithm Hash digest
SHA256 f3829269fca67af5d32284a73bcd9ec496f2f0a8e31968e0a0833cf2407a499c
MD5 27e241e0f6a4e1feb4174bcd54620823
BLAKE2b-256 e2660a2824d2235118142c63a4be89837760d18e9609470722df99a962a40a9e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page