Skip to content

Nathaniel-github/TrieCLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

Trie Client

The client CLI for my globally hosted trie through GCP
Explore the docs »

View on PyPi

Table of Contents
  1. Getting Started
  2. Usage
  3. Contributing
  4. License

Built With

(back to top)

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==1.0.0

(back to top)

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

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Acknowledgments

(back to top)

About

Client CLI for the trie project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages