A chain-line dict converter in Python 3
Project description
dict-converter
===============
A chain-line dict converter in Python 3
Example
-------
>>> from dict_converter import DictConverter
>>> a = {'a': 'a', 'b': 'b', 0: 0}
>>> DictConverter(a).add(0, lambda s: s + 1).add(['a', 'b'], str.upper).result()
{'a':'A','b':'B', 0:1}
Install
-------
.. code-block:: shell
pip install condition_chain
Author
------
Yixian Du (duyixian1234@outlook.com)
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
dict-converter-0.1.2.tar.gz
(2.1 kB
view details)
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 dict-converter-0.1.2.tar.gz.
File metadata
- Download URL: dict-converter-0.1.2.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8baac83e00b31c406e16bfba7c9dfdb3c6897ad997b55338e7ce2970a05a204e
|
|
| MD5 |
7c3eb12ad16d3222207caef1afda3eff
|
|
| BLAKE2b-256 |
0d5d31e5884d304ab8c78d5e9723f4d4c52d7076cfa26038bb24f914d356da5d
|
File details
Details for the file dict_converter-0.1.2-py2.py3-none-any.whl.
File metadata
- Download URL: dict_converter-0.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 1.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e89b24d49923d4b81fbb52fd6fc57c7b353b466fe9f8a0dee63ef72e74c61c5c
|
|
| MD5 |
f06b7e68c7ba349be99b43a9e7f34553
|
|
| BLAKE2b-256 |
730b173dc33ebeae0ef0737b3b377abaa0a0392f0f7d2abea6636e14a5af96af
|