Группа :: Development/Python3
Пакет: python3-module-first
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Текущая версия: 2.0.2-alt1
Время сборки: 1 октября 2022, 16:48 ( 84.2 недели назад )
Размер архива: 9905 b
Домашняя страница: https://pypi.org/project/first/
Лицензия: MIT
О пакете: The function you always missed in Python: return the first value of an iterable
Описание:
Список всех майнтейнеров, принимавших участие
в данной и/или предыдущих сборках пакета: Список rpm-пакетов, предоставляемый данным srpm-пакетом:
ACL:
Время сборки: 1 октября 2022, 16:48 ( 84.2 недели назад )
Размер архива: 9905 b
Домашняя страница: https://pypi.org/project/first/
Лицензия: MIT
О пакете: The function you always missed in Python: return the first value of an iterable
Описание:
first is an 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.
N.B. I'm using the term "true" consistently with Python docs for any()
and all() - it means that the value evaluates to true like: True, 1,
"foo", or [None]. But not: None, False, [], or 0. In JavaScript, they
call this "truthy".
Текущий майнтейнер: Anton Zhukharev 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.
N.B. I'm using the term "true" consistently with Python docs for any()
and all() - it means that the value evaluates to true like: True, 1,
"foo", or [None]. But not: None, False, [], or 0. In JavaScript, they
call this "truthy".
Список всех майнтейнеров, принимавших участие
в данной и/или предыдущих сборках пакета: Список rpm-пакетов, предоставляемый данным srpm-пакетом:
- python3-module-first