dictionary
Project description
dictRysan Version 1.1.0
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.
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)
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. You can rename the current document by clicking the document title in the navigation bar.
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. You can rename the current document by clicking the document title in the navigation bar.
Author
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.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5347a4d39a3832b644ec01d5da6fe5cb714993fa5f1ba3004779c2f030d0aee |
|
MD5 | 284d1e883f81ec819634a6856d22734d |
|
BLAKE2b-256 | f2cd77570f15ecd01ae8b4fdad0f62c36d645606acf47bf2381bfc9ec821c367 |