dictionary
Project description
dictRysan Version 1.3.5
By Rafsan Jany 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
Current Profession: Undergraduate student
University: Islamic University Of Technology
Department: Computer Science and Engineering.
Email: rafsanjany1213@gmail.com
Email: rafsanjany@iut-dhaka.edu
Web: www.rafsanjany.com
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
Close
Hashes for dictRysan-1.3.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e48f6e03941f2acfa158929b510f3c93ba8d2b7711424dacd29c8978e7ef93cb |
|
MD5 | 1e160cbe979c0220fb24ff4b18c9390b |
|
BLAKE2b-256 | 0c63a7adf8f786524f2e874b583ce436fc47ed15028dd3fee2436d91d3dfaa77 |