Collection-related helpers.
Project description
coveo-itertools
Another spin on iteration goodness.
dict lookup
A one-liner function to retrieve a value from a dictionary:
from typing import Dict, Any
from coveo_itertools.lookups import dict_lookup
example: Dict[str, Any] = {'nested': {'key': {'lookup': True}}}
assert dict_lookup(example, 'nested', 'key', 'lookup') == True
assert dict_lookup(example, 'not', 'there', default=None) is None
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file coveo_itertools-4.0.tar.gz.
File metadata
- Download URL: coveo_itertools-4.0.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4354557776265a5e7b7d8d0ef660aa1b2ac0958142735373ce9bb6564ae0a9cc
|
|
| MD5 |
27406f6eca33634ef5143e13f3eb50be
|
|
| BLAKE2b-256 |
d764ccb23db99d9b76b8845b887c738000455402aa7267794ee76836f93e317f
|
Provenance
The following attestation bundles were made for coveo_itertools-4.0.tar.gz:
Publisher:
coveo-itertools.yml on coveooss/coveo-python-oss
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coveo_itertools-4.0.tar.gz -
Subject digest:
4354557776265a5e7b7d8d0ef660aa1b2ac0958142735373ce9bb6564ae0a9cc - Sigstore transparency entry: 2165079332
- Sigstore integration time:
-
Permalink:
coveooss/coveo-python-oss@68ac49e218f5955a2775103dba55b07aaaef42f1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/coveooss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
coveo-itertools.yml@68ac49e218f5955a2775103dba55b07aaaef42f1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file coveo_itertools-4.0-py3-none-any.whl.
File metadata
- Download URL: coveo_itertools-4.0-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6bd511e4625855048f0c8d108ae30516e938d5c312b516e71965ed33cb5923b
|
|
| MD5 |
acb6b03a54366c00fc56a4885b6b8d66
|
|
| BLAKE2b-256 |
bdc169aa27d2a708692ab034b7d916cfa83d754f4b65728adfdd4d928fd01bb0
|
Provenance
The following attestation bundles were made for coveo_itertools-4.0-py3-none-any.whl:
Publisher:
coveo-itertools.yml on coveooss/coveo-python-oss
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coveo_itertools-4.0-py3-none-any.whl -
Subject digest:
e6bd511e4625855048f0c8d108ae30516e938d5c312b516e71965ed33cb5923b - Sigstore transparency entry: 2165079338
- Sigstore integration time:
-
Permalink:
coveooss/coveo-python-oss@68ac49e218f5955a2775103dba55b07aaaef42f1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/coveooss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
coveo-itertools.yml@68ac49e218f5955a2775103dba55b07aaaef42f1 -
Trigger Event:
push
-
Statement type: