Skip to main content

No project description provided

Project description

ndix ✨

PyPI - Python Version PyPI

A lightweight solution for nested dictionaries that are both

  • arbitrarily deep,
  • while having a pretty representation.

Usage:

$ pip install ndix ( or $ poetry add ndix )

Initialize nested dict:

from ndix import Dict
d = Dict.nest()

# Populate dict with arbitrary nesting:  
d['first']['second']['third']['fourth']['fifth'] = 100 

# check d:
d 
>>> {'first': {'second': {'third': {'fourth': {'fifth': 100}}}}}

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

ndix-0.1.2.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ndix-0.1.2-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file ndix-0.1.2.tar.gz.

File metadata

  • Download URL: ndix-0.1.2.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.3 Darwin/20.6.0

File hashes

Hashes for ndix-0.1.2.tar.gz
Algorithm Hash digest
SHA256 bb303eba18c17f20fabebba34e0187e1f088a7f8c2c58c1d706b2a347759bda7
MD5 3b402de35230a0cb0c394dd1cf3e5159
BLAKE2b-256 b85dfb09580cb7e45b44c0dadbb493be30d8cb492d9d1f608e90cb3424793080

See more details on using hashes here.

File details

Details for the file ndix-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: ndix-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.3 Darwin/20.6.0

File hashes

Hashes for ndix-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 508b7002e118ebc4bee27d54626d9398ff4ad2b1d937646c145248dc6b0a373b
MD5 c9e0795f081f8a167f2e5ccfb0883557
BLAKE2b-256 f512be9d29786897af6590227d3603f540ac5e94a2c35b6d4b39f9af64c46f13

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page