first: Return the First True Value from an Iterable
JSON →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.
Traffic · last 30 days ↓80% vs prev 7d
total hits 12
actors 6 distinct systems
last hit 5d ago Script
top countries 🇺🇸 United States · 🇫🇷 France · 🇸🇬 Singapore · 🇩🇪 Germany · 🇨🇦 Canada
API endpoints
full doc /v1/registry/first
install /v1/registry/first/install
compatibility /v1/registry/first/compatibility