Skip to content
Sections
>> Trisquel >> Packages >> etiona >> python >> python-first
etiona  ]
[ Source: python-first  ]

Package: python-first (2.0.0-2)

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.

Other Packages Related to python-first

  • depends
  • recommends
  • suggests
  • dep: python (<< 2.8)
    interactive high-level object-oriented language (default version)
    dep: python (>= 2.7.1-0ubuntu2)

Download python-first

Download for all available architectures
Architecture Package Size Installed Size Files
all 6.3 kB63 kB [list of files]