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)
Metadata
Release files for dict-converter 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dict-converter-0.1.2.tar.gz | 2.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dict_converter-0.1.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 4.0 kB
Release files / dict-converter-0.1.2.tar.gz
| Download URL | dict-converter-0.1.2.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8baac83e00b31c406e16bfba7c9dfdb3c6897ad997b55338e7ce2970a05a204e
|
|
BLAKE2b-256 checksum How to use checksums |
0d5d31e5884d304ab8c78d5e9723f4d4c52d7076cfa26038bb24f914d356da5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / dict_converter-0.1.2-py2.py3-none-any.whl
| Download URL | dict_converter-0.1.2-py2.py3-none-any.whl |
|---|---|
| Size | 1.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e89b24d49923d4b81fbb52fd6fc57c7b353b466fe9f8a0dee63ef72e74c61c5c
|
|
BLAKE2b-256 checksum How to use checksums |
730b173dc33ebeae0ef0737b3b377abaa0a0392f0f7d2abea6636e14a5af96af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|