dict_and_union_with
A manual solution to the union operation on dictionaries, in Python
Inspired by union_with from Haskell.
Keep in mind that Python now has a union operator:
dict_one |= dict_two # union dict_two into dict_one
dict_union = dict_one | dict_two # dict_union is the union of dict_one and dict_two
In dict_and_union_with, these instructions become:
union_with(dict_one, dict_two) # union dict_two into dict_one
dict_union = union_all_with(dict_union, [dict_one, dict_two]) # dict_union is the union of dict_one and dict_two
Open source available on GitHub and PyPI.
Installation
Install from pip:
py -m pip install dict_and_union_with
Update to the latest version from pip:
py -m pip install --upgrade dict_and_union_with
Uninstall from pip:
py -m pip uninstall dict_and_union_with
Building from sources
Run this command from the package directory on your filesystem:
py -m build
Community
Open a new issue for support.
Metadata
Release files for dict-and-union-with 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dict_and_union_with-1.0.0.tar.gz | 14.9 kB | Without provenance | Details for dict_and_union_with-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dict_and_union_with-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for dict_and_union_with-1.0.0-py3-none-any.whl |
Total release size: 30.2 kB
Release files / dict_and_union_with-1.0.0.tar.gz
| Download URL | dict_and_union_with-1.0.0.tar.gz |
|---|---|
| Size | 14.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
13cc30c128c96115a3dd1dfc56f74cdcbb4f9d76209c612cc3641bab5bf2719b
|
|
BLAKE2b-256 checksum How to use checksums |
370acd1c13df21cc576f430f1ac793f9df5e5ca68a8b60b1aefec718a1898408
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.1
|
Release files / dict_and_union_with-1.0.0-py3-none-any.whl
| Download URL | dict_and_union_with-1.0.0-py3-none-any.whl |
|---|---|
| Size | 15.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f9a5df7b73915d4b3a1b04bd0079ffc4d229d43a904e5bdf6ba68153a9b42dc9
|
|
BLAKE2b-256 checksum How to use checksums |
879b1522297f666d77a50c6deea2b8e6829d1cd7c6d39169fb440ae9035dc196
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.1
|
Security for dict-and-union-with 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.