HashTable implementation in python
Project description
HashTable
HashTable is a python library (Data Structure) it has almost all functionality of dictionary in python.
Installation
Use the package manager pip to install HashTable.
pip install hashtable-python
Usage
from hashtable import HashTable
my_hashtable = HashTable(5) # Create instance of hashtable with fixed sized 5
my_hashtable['mango'] = 100 # Creating key='mango' and value=100
my_hashtable.items() # Returns list of tuples of key and value [(kay, value),...)
my_hashtable.keys() # Returns list of keys
my_hashtable.values() # Returns list of values
my_hashtable['mango'] # Returns value of specified key
my_hashtable.delete('mango') # Deletes item in the specified key
License
Copyright (c) 2021 Rosun GV
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file hashtable-python-1.0.3.tar.gz
.
File metadata
- Download URL: hashtable-python-1.0.3.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
a066a941ec45fc4b85586b4e30db829a1cbc9bfa1f50395d435750ae0de158d4
|
|
MD5 |
2d99d1495bfc6e7df38b9e92ccd85644
|
|
BLAKE2b-256 |
e4384e78da97ddf0bf28d82fee71eb61c86f0c27b1c79d06949f644f0c44db4a
|
File details
Details for the file hashtable_python-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: hashtable_python-1.0.3-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
5e30edfe1e304760559cb0a48d2a54f2d20bdad09e208508ffb399bf408f3a24
|
|
MD5 |
0299c4279ae51fe2a4dcd929af117416
|
|
BLAKE2b-256 |
38daa1eb2315886bf3f6412f254d612ea3661473e2eceb5f5b4716576457c1d9
|