Filter dictionaries based on a list of field names.
Project description
dictfilter
installation
pip install dictfilter
usage
some_data = {
'name': 'Galactica',
'class': 'Battlestar',
'model': 'Jupiter',
}
result = query(some_data, ['name', 'class'])
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
dictfilter-1.0.0.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for dictfilter-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55efdda54b1a7a3e8628bb8a1e561dec73df209c5cf765a31a2efc1eea30d24f |
|
MD5 | 1afaba2d31ea00be136e3e6a360d404d |
|
BLAKE2b-256 | 76e2c9c1246edec9aeeb2dfd017e49513d2da0dff7e65f16592030c8dcf6cde0 |