Skip to main content

基于内置 dict,它是对内置 dict 的增强。dict 能做的它能做,dict 不能做的它更能做。

Project description

LOGO Release Python Versions License Downloads

gqylpy-dict

gqylpy-dict 基于内置 dict,它是对内置 dict 的增强。dict 能做的它能做,dict 不能做的它更能做。

pip3 install gqylpy_dict

>>> from gqylpy_dict import gdict

>>> gdict == dict
True

>>> gdict is dict
False

>>> x = {'a': [{'b': 'B'}]}
>>> x = gdict(x)
>>> x.a[0].b
'B'

>>> x.deepget('a[0].b')
'B'

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

gqylpy_dict-1.1.1.tar.gz (11.0 kB view hashes)

Uploaded Source

Built Distribution

gqylpy_dict-1.1.1-py3-none-any.whl (13.1 kB view hashes)

Uploaded Python 3

Supported by

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