Skip to main content

jsdict

Javascript-style Dictionaries for Python

Usage

from jsdict import JsDict

d = JsDict({"key1": 2, "key2": 3})

print(d.key1)
# 2
print(d)
# {'key1': 2, 'key2': 3}

d.key3 = {"key4": 5}
print(d)
# {'key1': 2, 'key2': 3, 'key3': {'key4': 5}}

d.key3.key5 = 6
print(d)
# {'key1': 2, 'key2': 3, 'key3': {'key4': 5, 'key5': 6}}

Metadata

Release files for jsdict-py 1.0.1

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

Built distribution (wheel)

Table of built distributions (wheels) for jsdict-py 1.0.1
File Interpreter ABI Platform
jsdict_py-1.0.1-py3-none-any.whl Python 3 none any Details

Release files / jsdict_py-1.0.1-py3-none-any.whl

Download URL jsdict_py-1.0.1-py3-none-any.whl
Size 14.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1c5737b5354e2d619cc077f74c864c3664f1eb8be7ad68150fd4ffc9c029a278
BLAKE2b-256 checksum
How to use checksums
85b856fc5d98644c8f649fd182bc2f0cdc1cc397a1f19d88a709df32c10118b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file

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