Calls commands to the trie server that can modify its state
Project description
Table of Contents
Built With
Getting Started
Install the CLI to get started!. Take a look at the Installation section for the command to install.
Prerequisites
Requires python>=3.6 and pip
sudo apt-get update
sudo apt-get install python3.6
NOTE: As it currently stands python 3.10 is not supported due to how inquirer's requirements are built in terms of blessed (it is using the wrong version)
Installation
Run the following to install:
pip install trie-nathaniel
Usage
For clean user interface use:
triecli ui
For direct cli calls use:
triecli {option} {arg}
where {option}
is replaced with the type of operation you would like to perform and {arg}
is added if the option you are calling requires an argument
Possible options include add
, delete
, deleteall
, search
, complete
, view
, and viewfast
For add
, delete
, search
, complete
an additional arg
parameter is required that includes the value you would like to add to the trie
LIMITATIONS:
The virtual machine this is running on only has 100GB of disk space and 4GB of memory so if the string is too long or the number of operations is too many there are chances that something will fail on the GCP side. Since this is being hosted using their free tier these are some of the limiations included
For explanations, please refer to the Documentation
License
Distributed under the MIT License. See LICENSE.txt
for more information.
Acknowledgments
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 trie_nathaniel-1.0.0.tar.gz
.
File metadata
- Download URL: trie_nathaniel-1.0.0.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85a38bd92c5a50072e76688d1c21a2b7a9434ad60b5e96604587a1864e292d21 |
|
MD5 | e08140cabfa908982347946fdb67d4a5 |
|
BLAKE2b-256 | c6b654372567f4931251ae052be2b0c362f6e7e28ebd2e04fb9b1fbadd892637 |
File details
Details for the file trie_nathaniel-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: trie_nathaniel-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 467ffff2cf2c510b5b8d37463440c07e739c720eb40dd60226e8bebc8c670bb6 |
|
MD5 | a1f95e5f45061942b71b0220f8cb63ec |
|
BLAKE2b-256 | 71f0dfd8e75fb9bfc822289697e9a28bc29ed068247923f4ab9a9e5e1b4fda69 |