dictRysan Version 1.4.6
===================
**What dose this package do:**
This package helps programmers to do some dictionary operations like:
> - Sorting dictionary by keys.
> - Sorting dictionary by values.
> - Searching key through value.
> - Converting a dictionary to .json .
> - Converting a .json to dictionary.
> - Show the all existing functions.
> - Get any data type.
> - Show how many types of values in the dictionary.
> - Get the a component trhough index.
> - Get index trhough key.
> - Sort 2 level nested dictionary by value of sub Dictionary.
----------
Functions
========
> - **key_search(dict,value)**
> - **value_sort(dict,type=False)**
> - **key_sort(dict,type=False)**
> - **to_json(dict,file_name_or_path)**
> - **from_json(file_name_or_path)**
> - **show_def(None)**
> - **show_type(any_data)**
> - **values_type_count(dictionary)**
> - **get_component(dict,index)**
> - **get_index(dict,key)**
> - **nested_2L_value_sort(dict,key,type=False)**
Description
============
**key_search(dict,value):**
>- **Motivation:** Searching a key trough its value.
>- **Peramitters:** Take Tow permitter. a dictionary and a value.
>- **Returns:** Returns the corresponding key for the given value.
--------
**value_sort(dict,type=False)**
>- **Motivation:** sorting a dictionary according to its values.
>- **Peramitters:** Take Tow permitter. a dictionary and searching order(True or False).
>- **Returns:** Sorted dictionary..
-------
**key_sort(dict,type=False)**
>- **Motivation:** sorting a dictionary according to its keys.
>- **Peramitters:** Take Tow permitter. a dictionary and searching order(True or False).
>- **Returns:** Sorted dictionary..
------
**to_json(dict,file_name_or_path)**
>- **Motivation:** converting dictionary into a .json file
>- **Peramitters:** Take Tow permitter. a dictionary and the file name with **.json extension** or the path to save.
>- **Returns:** No return.
------
**from_json(file_name_or_path)**
>- **Motivation:** converting a .json file into a .dictionary
>- **Peramitters:** Take inly the file name with **.json extension** or the path.
>- **Returns:** a dictionary.
-----
**show_def(None)**
>- **Motivation:** showing all functions.
>- **Peramitters:** None
>- **Returns:** None
-----
**show_type(any_data)**
>- **Motivation:** Get the data type.
>- **Peramitters:** any value (single)
>- **Returns:** String.
----
**values_type_count(dictionary)**
>- **Motivation:** Showing the types of all values inside a dictionary.
>- **Peramitters:** A dictionary
>- **Returns:** A dictionary.
----
**get_component(dict,index)**
>- **Motivation:** Get a component trhough index.
>- **Peramitters:** A dictionary, a index.
>- **Returns:** A dictionary.
----
**get_index(dict,key)**
>- **Motivation:** Get index trhough key.
>- **Peramitters:** A dictionary, a key.
>- **Returns:** A dictionary.
----
**nested_2L_value_sort(dict,key,type=False)**
>- **Motivation:** Sort the dictionary by the value of its sub dictionay.
>- **Peramitters:** A dictionary, a key of sub dictionary.
>- **Returns:** A dictionary.
Developer
======
Name : Rafsan Jany<br>
Current Profession: Undergraduate student<br>
University: Islamic University Of Technology<br>
Department: Computer Science and Engineering.<br>
<I>Email: rafsanjany1213@gmail.com<br>
<I>Email: rafsanjany@iut-dhaka.edu<br>
<I>Web: www.rafsanjany.com<br>