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.

Files for sortdict, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size sortdict-0.0.5-py3-none-any.whl (2.8 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page