{"library":"first","type":"library","category":null,"description":"first is an MIT-licensed Python package with a single, simple function that efficiently returns the first 'truthy' value from an iterable, or `None` if no such value exists. It offers optional `key` function customization for complex truthiness evaluation and a `default` parameter for specifying a fallback value. Currently at version 2.0.2, the library maintains a stable, infrequent release cadence focused on core functionality and compatibility.","language":"python","status":"active","version":"2.0.2","tags":["utility","iterable","first","truthy","functional-programming"],"last_verified":"Fri May 22","install":[{"cmd":"pip install first","imports":["from first import first"]}],"homepage":null,"github":"http://github.com/hynek/first","docs":null,"changelog":null,"pypi":"https://pypi.org/project/first/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":0,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/first/compatibility"}}