Skip to main content

This library is to sort dictionary list given to corresponding keys

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

sortdict-0.0.4-py2-none-any.whl (2.8 kB view hashes)

Uploaded Python 2

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