Skip to main content

What is this?

A python package that provides an alternative to dict that is much easier for lazy people to use.

How do I use this?

pip install super_map

from super_map import Map, LazyDict

item = Map()

# no error
item["value"]["subvalue"] = True

# prints true
print(item.value.subvalue == item["value"]["subvalue"]) # prints true

# dont need .items()
for each_key, each_value in item:
    print(each_key)

for each_key in item[Map.Keys]:
    print(each_key)

for each_key in item[Map.Values]:
    print(each_key)

value = item.a.b.c.d.e
if not value:
    # this prints out
    print("item.a.b.c.d.e doesn't exist")

item_as_dict = item[Map.Dict]

item.f.g.h += 1
print('will print out 1:', item.f.g.h)

Release files for super-map 1.3.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 super-map 1.3.3
File Size Uploaded
super_map-1.3.3.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for super-map 1.3.3
File Interpreter ABI Platform
super_map-1.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 13.7 kB

Release files / super_map-1.3.3.tar.gz

Download URL super_map-1.3.3.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5c7c74caed7da35c62565a1e797ddcc1d2456ce619818b4351386a0741b64638
BLAKE2b-256 checksum
How to use checksums
290c8f3b91819be882056625528168160820a37a888c4f0c9ee42ab27f2c9ac0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.13

Release files / super_map-1.3.3-py3-none-any.whl

Download URL super_map-1.3.3-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f6e58137a12c2e8132d81230bc7c3362bb4da7d305bbee2c0e3b149aba9dfbac
BLAKE2b-256 checksum
How to use checksums
49c7a077679b50fd640cffc4509b3481da46a5fb8aa3e6c4b42e1a06c4f3eb70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.13

Release history Release notifications | RSS feed

This release

1.3.3 This release

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.0.2

2 release files

1.0.1

2 release files

0.1.0

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