Skip to main content

DynDict

Python test PyPI - Downloads

Dynamic Dictionary class for Python adds support for add operation for dictionary classes.

Demo

Python 3.8.3 (default, May 17 2020, 18:15:42) 
[GCC 10.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from dyndict import dyndict
>>> dyn = dyndict()
>>> dyn
{}
>>> dyn += {'a': 1}
>>> dyn
{'a': 1}
>>> dyn += {'b': 1}
>>> dyn
{'a': 1, 'b': 1}
>>> dyn += {'b': 1}
>>> dyn
{'a': 1, 'b': 2}
>>> dyn += {'list': []}
>>> dyn
{'a': 1, 'b': 2, 'list': []}
>>> dyn += {'list': [1, 2, 3]}
>>> dyn
{'a': 1, 'b': 2, 'list': [1, 2, 3]}
>>> dyn += {'list': [{'z': 26}]}
>>> dyn
{'a': 1, 'b': 2, 'list': [1, 2, 3, {'z': 26}]}
>>> dyn['a']
1
>>> dyn['list'][3]
{'z': 26}

Installation

pip install dyndict

Metadata

Release files for dyndict 20.7.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dyndict 20.7.3
File Size Uploaded
dyndict-20.7.3.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dyndict 20.7.3
File Interpreter ABI Platform
dyndict-20.7.3-py3-none-any.whl Python 3 none any Details

Total release size: 7.1 kB

Release files / dyndict-20.7.3.tar.gz

Download URL dyndict-20.7.3.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0f368b4b6480339ad065a422a37568d9898c47a702deda1f37c1e8c6bb239a62
BLAKE2b-256 checksum
How to use checksums
081d693e46ac608b8b3b275848f813fe7c2ff260bffa2c98629149f5c9e0c0b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

Release files / dyndict-20.7.3-py3-none-any.whl

Download URL dyndict-20.7.3-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ac2f38755a197cfba2c94b0b717f68bfe9f1cd4e02c6af60ba4414581409595
BLAKE2b-256 checksum
How to use checksums
59c78407472bf8acd85e8028b4ac3c8d775e4a469bb2095b9a85e86fa593169f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

Release history Release notifications | RSS feed

This release

20.7.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page