Howe-style dicts
Project description
Overview
The judson project contains the judson function. This function creates a dictionary from two iterators of the same length using the howe project. The judson project is named for W. L. Judson, one of the inventors of the zipper.
Installation
To install judson, you can use pip. Open your terminal and run:
pip install judson
Example
# Import the judson function from the judson package
from judson import judson
# Example iterators (can be lists, tuples, or other iterables of the same length)
keys = ['name', 'age', 'location']
values = ['Alice', 30, 'New York']
# Use the judson function to combine them into a dictionary
result = judson(keys, values)
# Output the result
print(result)
# Output:
# {'name': 'Alice', 'age': 30, 'location': 'New York'}
License
This project is licensed under the MIT License.
Links
Credits
Author: Johannes
Thank you for using judson!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
judson-1.0.6.tar.gz
(2.8 kB
view hashes)
Built Distribution
judson-1.0.6-py3-none-any.whl
(3.4 kB
view hashes)