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:<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
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!
Metadata
Release files for easy-tools 3.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| easy_tools-3.5.tar.gz | 5.3 kB | Details |
Release files / easy_tools-3.5.tar.gz
| Download URL | easy_tools-3.5.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
18476345f5c6dc53bf8e3b96aa66982188c9467dcb6f0e019065ef960f05fbd0
|
|
BLAKE2b-256 checksum How to use checksums |
ea4d02798fa5e151b2f70178280954a09a98e4cb7f0e982125f9ccb0e56fa101
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|