dict-zip 0.6.0
pip install dict-zip
Latest version
Released:
zip and zip_longest for dict
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (Copyright 2019 Kitsu Yui Redistribution and use in source and binary forms, with or without modific...)
- Author: Yui KITSU
- Requires: Python >=3.9
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
- Topic
Project description
dict_zip
zip and zip_longest for dict.
Installation
$ pip install dict-zip
Usage
dict_zip
dict_zip
is zip
for dict.
>>> from dict_zip import dict_zip
>>> dict_zip({'a': 1, 'b': 2}, {'a': 3, 'b': 4})
{'a': (1, 3), 'b': (2, 4)}
dict_zip_longest
dict_zip_longest
is zip_longest
for dict.
It fills with fillvalue (default: None
) when argument dict doesn't have match key.
>>> from dict_zip import dict_zip_longest
>>> dict_zip_longest({'a': 1, 'b': 2, 'c': 4}, {'a': 3, 'b': 4})
{'a': (1, 3), 'b': (2, 4), 'c': (4, None)}
Type hints
dict_zip supports for type hints.
LICENSE
The 3-Clause BSD License. See also LICENSE file.
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (Copyright 2019 Kitsu Yui Redistribution and use in source and binary forms, with or without modific...)
- Author: Yui KITSU
- Requires: Python >=3.9
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
- Topic
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
File details
Details for the file dict_zip-0.6.0.tar.gz
.
File metadata
- Download URL: dict_zip-0.6.0.tar.gz
- Upload date:
- Size: 31.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 797d03bfcf0039ad280a242c9330f08a3f017b9e8387a8f0247aaf4c1f6d9237 |
|
MD5 | acad731297783bce9de8d4290d6bf3bc |
|
BLAKE2b-256 | 86eb7f2e7268a8e92d8da2c32cb90dcf0f0474f06d5ca40b7e3b2d1d16e53789 |
File details
Details for the file dict_zip-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: dict_zip-0.6.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e1586d88e9b3d3ee329e3cda0f450b4b1e9434917a82ba8d066c17c7afd9af0 |
|
MD5 | 9c5bcdd3f26f23d0bf056d6df69f6a18 |
|
BLAKE2b-256 | a09e4c62330ea01bc65b23c58942bcc99236646f1641c0d8212443589514cf6a |