Metadata-Version: 2.1
Name: dictRysan
Version: 1.3.4
Summary: dictionary
Home-page: https://github.com/RafsanJany-44/Python-packages/tree/master/dictRysan/
Author: Rafsan Jany
Author-email: rafsanjany1213@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown

﻿dictRysan Version 1.3.4
===================
<font color="#00093C">By Rafsan Jany</font><br>
**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.


----------


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)**




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.

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>

