python-first_2.0.0-2_all.deb


Advertisement

Description

python-first - simple function that returns the first true value from an iterable

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Universe amd64
Package name: python-first
Package version: 2.0.0
Package release: 2
Package architecture: all
Package type: deb
Installed size: 63 B
Download size: 6.26 KB
Official Mirror: archive.ubuntu.com
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.

Alternatives

    Download

    Source package: python-first

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install python-first deb package:
      # sudo apt-get install python-first

    Files

    • /usr/lib/python2.7/dist-packages/first.py
    • /usr/lib/python2.7/dist-packages/first-2.0.0.egg-info/PKG-INFO
    • /usr/lib/python2.7/dist-packages/first-2.0.0.egg-info/SOURCES.txt
    • /usr/lib/python2.7/dist-packages/first-2.0.0.egg-info/dependency_links.txt
    • /usr/lib/python2.7/dist-packages/first-2.0.0.egg-info/top_level.txt
    • /usr/share/doc/python-first/README.rst
    • /usr/share/doc/python-first/changelog.Debian.gz
    • /usr/share/doc/python-first/copyright
    • /usr/share/pyshared/first.py
    • /usr/share/pyshared/first-2.0.0.egg-info/PKG-INFO
    • /usr/share/pyshared/first-2.0.0.egg-info/SOURCES.txt
    • /usr/share/pyshared/first-2.0.0.egg-info/dependency_links.txt
    • /usr/share/pyshared/first-2.0.0.egg-info/top_level.txt

    Changelog

    2013-07-28 - Julien Danjou <acid@debian.org> python-first (2.0.0-2) unstable; urgency=low * Install all Python version to build (Closes: #718097) * Patch setup.py so install works in non-UTF-8 environment

    2013-06-06 - Julien Danjou <acid@debian.org> python-first (2.0.0-1) unstable; urgency=low * Initial release (Closes: #711359)

    Advertisement
    Advertisement