Skip to main content
# pip install justindex
# >>> from justindex import index

>>> index((len(s), s) for s in 'a b'.split())
defaultdict(<class 'list'>, {1: ['a', 'b']})
>>> index((len(s), s) for s in ''.split())
defaultdict(<class 'list'>, {})
>>> sorted(index((len(s), s) for s in 'a b cc'.split()).items())
[(1, ['a', 'b']), (2, ['cc'])]

Metadata

Release files for justindex 0.1.0

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

Source distribution (sdist)

Source distribution for justindex 0.1.0
File Size Uploaded
justindex-0.1.0.tar.gz 903 Bytes Details

Release files / justindex-0.1.0.tar.gz

Download URL justindex-0.1.0.tar.gz
Size 903 Bytes
Tags Source
SHA-256 checksum
How to use checksums
b98ab83a2ca9f2d545e4ba711099a076ff0385de9ccfcdad93a4731a5bbdbffa
BLAKE2b-256 checksum
How to use checksums
8dbbc95ce49f269972d07a55eb2e2f19c78eee285f75828e2a5210296847bb24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

0.0.1

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