[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#711359: ITP: python-first -- simple function that returns the first true value from an iterable



Package: wnpp
Severity: wishlist
Owner: Julien Danjou <acid@debian.org>

* Package name    : python-first
  Version         : 2.0.0
  Upstream Author : Hynek Schlawack
* URL             : https://pypi.python.org/pypi/first
* License         : MIT
  Programming Lang: Python
  Description     : simple function that returns the first true value from an iterable

A MIT licensed Python package with a simple function that returns the
first true value from an iterable, or None if there is none. If you need
more power, you can also supply a key function that is used to judge the
truth value of the element or a default value if None doesn’t fit your
use case.


Reply to: