A set of useful features to make working with your code easier.
Project description
tricky - that's about python.
This module is simply a collection of useful code, utilities, and functions to simplify your work with the language and the tasks you solve.
Collection:
- Iterables module
tricky.iterables
- Typing
tricky.typing
(wip)
Examples:
tricky.iterables.filter_item
numbers = range(1000)
result: int = filter_item(
numbers, # the iterable
lambda number: number == 342, # condition to get your item
None, # the default value to return, if condition not met
)
print(result)
# 342
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tricky-0.0.5.tar.gz
(2.8 kB
view hashes)
Built Distribution
tricky-0.0.5-py3-none-any.whl
(3.0 kB
view hashes)