Skip to main content

dictsort

This library is to sort dictionary list given to corresponding keys

Installation

Use the package manager pip to install foobar.

pip install sortdict

Usage

from dictsort import dict_sort
unsorted_dict = [{'name':'alex', 'age':10}, {'name':'mike', 'age':20}]
sorted_dict = dict_sort(unsorted_dict, ['age'])

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Metadata

Release files for sortdict 0.0.5

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 sortdict 0.0.5
File Interpreter ABI Platform
sortdict-0.0.5-py3-none-any.whl Python 3 none any Details

Release files / sortdict-0.0.5-py3-none-any.whl

Download URL sortdict-0.0.5-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a96c033074adf29a85d691470177f4ba1af9e753bbeec26f5c029f4d1172ef86
BLAKE2b-256 checksum
How to use checksums
f7f2220554105b5f39a95fa1b1f1d32a47df9ba3b4cf31c3c103486ff0466be5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

Release history Release notifications | RSS feed

This release

0.0.5 This release

1 release file

0.0.4

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