vocabCLI package#

Subpackages#

Submodules#

vocabCLI.vocabCLI module#

vocabCLI.vocabCLI.Import()[source]#

Imports a list of words in the application.

vocabCLI.vocabCLI.ListCMD(favorite: bool = <typer.models.OptionInfo object>, learning: bool = <typer.models.OptionInfo object>, mastered: bool = <typer.models.OptionInfo object>, tag: str = <typer.models.OptionInfo object>, days: int = <typer.models.OptionInfo object>, date: bool = <typer.models.OptionInfo object>, last: int = <typer.models.OptionInfo object>, most: int = <typer.models.OptionInfo object>, tags: bool = <typer.models.OptionInfo object>, collection: str = <typer.models.OptionInfo object>, collections: bool = <typer.models.OptionInfo object>)[source]#

Lists all the words looked up by the user.

Args:

favorite (bool, optional): If True, prints the list of favorite words. Defaults to False. learning (bool, optional): If True, prints the list of words in learning list. Defaults to False. mastered (bool, optional): If True, prints the list of words in mastered list. Defaults to False. tag (str, optional): If True, prints the list of words with a particular tag. Defaults to None. days (str, optional): If True, prints the list of words from last n number of days. Defaults to None. date (str, optional): If True, prints the list of words from a particular date. Defaults to None. last (str, optional): If True, prints the list of last searched words. Defaults to None. most (str, optional): If True, prints the list of most searched words. Defaults to None. tagnames (bool, optional): If True, prints the list of all the tags. Defaults to False. collection (Optional[str], optional): If True, prints the list of words from a collection. Defaults to None. collections (Optional[bool], optional): If True, prints the list of all the collections. Defaults to False.

vocabCLI.vocabCLI.about()[source]#

Print information about the software.

vocabCLI.vocabCLI.antonym(words: ~typing.List[str] = <typer.models.ArgumentInfo object>)[source]#

Find antonyms for a word.

Args:

words (List[str]): Word to search antonyms for.

vocabCLI.vocabCLI.bye()[source]#
vocabCLI.vocabCLI.clean(content: str = <typer.models.ArgumentInfo object>, strict: bool = <typer.models.OptionInfo object>)[source]#
vocabCLI.vocabCLI.clear(learning: bool = <typer.models.OptionInfo object>, master: bool = <typer.models.OptionInfo object>, favorite: bool = <typer.models.OptionInfo object>, tag: str = <typer.models.OptionInfo object>)[source]#

Clears all the words from the lists.

Args:

learning (bool, optional): If True, clears all the words from the learning list. Defaults to False. master (bool, optional): If True, clears all the words from the mastered list. Defaults to False. favorite (bool, optional): If True, clears all the words from the favorite list. Defaults to False. tag (str, optional): If True, clears all the words with a particular tag. Defaults to None.

vocabCLI.vocabCLI.daily_quote()[source]#
vocabCLI.vocabCLI.daily_word()[source]#
vocabCLI.vocabCLI.define(words: ~typing.List[str] = <typer.models.ArgumentInfo object>, short: bool = <typer.models.OptionInfo object>, pronounce: bool = <typer.models.OptionInfo object>)[source]#

Looks up a word in the dictionary.

Args:

words (List[str]): Word which is to be defined. short (bool, optional): If True, prints the short definition of the word. Defaults to False. pronounce (bool, optional): If True, plays the pronunciation of the word. Defaults to False.

vocabCLI.vocabCLI.delete(words: ~typing.List[str] = <typer.models.ArgumentInfo object>, mastered: bool = <typer.models.OptionInfo object>, learning: bool = <typer.models.OptionInfo object>, favorite: bool = <typer.models.OptionInfo object>, tag: str = <typer.models.OptionInfo object>)[source]#

Deletes the word from the database.

Args:

mastered (bool, optional): Deletes all mastered words. Defaults to False. learning (bool, optional): Deletes all learning words. Defaults to False. favorite (bool, optional): Deletes all favorite words. Defaults to False. tag (str, optional): Tag of words to be deleted. Defaults to None. words (List[str], optional): Word to be deleted. Defaults to None.

vocabCLI.vocabCLI.export(pdf: bool = <typer.models.OptionInfo object>)[source]#

Exports a list of all your looked up words.

Args:

pdf (bool, optional): If True, exports a list of your looked up words in PDF format. Defaults to False.

vocabCLI.vocabCLI.favorite(words: ~typing.List[str] = <typer.models.ArgumentInfo object>)[source]#

Adds a word to the favorite list.

Args:

words (List[str]): Word which is to be added to the favorite list.

vocabCLI.vocabCLI.flashcard(all: bool = <typer.models.OptionInfo object>, learning: bool = <typer.models.OptionInfo object>, mastered: bool = <typer.models.OptionInfo object>, favorite: bool = <typer.models.OptionInfo object>, tag: str = <typer.models.OptionInfo object>)[source]#

Create flashcards for words in your learning list.

vocabCLI.vocabCLI.graph(topWordsBar: int = <typer.models.OptionInfo object>, topTagsBar: int = <typer.models.OptionInfo object>, topWordsPie: bool = <typer.models.OptionInfo object>, topTagsPie: bool = <typer.models.OptionInfo object>, lookupWeek: bool = <typer.models.OptionInfo object>, lookupMonth: bool = <typer.models.OptionInfo object>, lookupYear: bool = <typer.models.OptionInfo object>, learnVSmaster: bool = <typer.models.OptionInfo object>, wordCountByCollection: bool = <typer.models.OptionInfo object>)[source]#

Generate Graphical Charts based on your vocabulary.

Args:

topWordsBar (Optional[int], optional): Visualizes the top N most looked up words. Defaults to None. topTagsBar (int, optional): Visualizes the top N tags with the most words. Defaults to None. topWordsPie (Optional[int], optional): Visualizes the top N most looked up words. Defaults to None. topTagsPie (Optional[int], optional): Visualizes the top N tags with the most words. Defaults to None. lookupWeek (Optional[bool], optional): Visualizes the word count distribution for days in the past week. Defaults to False. lookupMonth (Optional[bool], optional): Visualizes the word count distribution for days in the past month. Defaults to False. lookupYear (Optional[bool], optional): Visualizes the word count distribution for days in the past year. Defaults to False. learnVSmaster (Optional[bool], optional): Visualizes the number of words in your learning list vs. your mastered list. Defaults to False. slider (Optional[bool], optional): Shows all graphs one by one in a slider. Defaults to False.

vocabCLI.vocabCLI.hardwords(content: str = <typer.models.ArgumentInfo object>)[source]#
vocabCLI.vocabCLI.history(words: ~typing.List[str] = <typer.models.ArgumentInfo object>)[source]#

Get a lookup history of a word.

Args:

words (List[str]): Word to get lookup history for.

vocabCLI.vocabCLI.learn(words: ~typing.List[str] = <typer.models.ArgumentInfo object>)[source]#

Adds a word to the learning list.

Args:

words (List[str]): Word which is to be added to the learning list.

vocabCLI.vocabCLI.master(words: ~typing.List[str] = <typer.models.ArgumentInfo object>)[source]#

Adds a word to the mastered list.

Args:

words (List[str]): Word which is to be added to the mastered list.

vocabCLI.vocabCLI.milestone(milestone_number: int = <typer.models.ArgumentInfo object>)[source]#
vocabCLI.vocabCLI.quiz(number: int = <typer.models.OptionInfo object>, tag: str = <typer.models.OptionInfo object>, learning: bool = <typer.models.OptionInfo object>, mastered: bool = <typer.models.OptionInfo object>, favorite: bool = <typer.models.OptionInfo object>, collection: str = <typer.models.OptionInfo object>, history: bool = <typer.models.OptionInfo object>)[source]#

Take a quiz on words in your learning list.

Args:

number (int, optional): Number of words to quiz on. Defaults to 10. tag (str, optional): Tag of words to quiz on. Defaults to None. learning (Optional[bool], optional): Take a quiz on words in your learning list. Defaults to False. mastered (Optional[bool], optional): Take a quiz on words in your mastered list. Defaults to False. favorite (Optional[bool], optional): Take a quiz on words in your favorite list. Defaults to False. collection (Optional[str], optional): Take a quiz on words in a particular collection. Defaults to None.

vocabCLI.vocabCLI.quote(random: bool = <typer.models.OptionInfo object>, list: bool = <typer.models.OptionInfo object>, delete: bool = <typer.models.OptionInfo object>, add: bool = <typer.models.OptionInfo object>, search: str = <typer.models.OptionInfo object>, delete_all: bool = <typer.models.OptionInfo object>)[source]#
vocabCLI.vocabCLI.random(learning: bool = <typer.models.OptionInfo object>, mastered: bool = <typer.models.OptionInfo object>, favorite: bool = <typer.models.OptionInfo object>, tag: str = <typer.models.OptionInfo object>, collection: str = <typer.models.OptionInfo object>)[source]#

Gets a random word.

Args:

learning (bool, optional): Get a random learning word. Defaults to False. mastered (bool, optional): Get a random mastered word. Defaults to False. favorite (Optional[bool], optional): Get a random favorite word. Defaults to False. tag (Optional[str], optional): Get a random word from a particular tag. Defaults to None. collection (Optional[str], optional): Get a random word from a particular collection. Defaults to None.

vocabCLI.vocabCLI.rate(today: bool = <typer.models.OptionInfo object>, week: bool = <typer.models.OptionInfo object>, month: bool = <typer.models.OptionInfo object>, year: bool = <typer.models.OptionInfo object>)[source]#

Gives the number of words you have learned in a particular time period with a comparison of a previous time period.

Args:

today (bool, optional): If True, get learning rate today. Defaults to False. week (bool, optional): If True, get learning rate this week. Defaults to False. month (bool, optional): If True, get learning rate this month. Defaults to False. year (bool, optional): If True, get learning rate this year. Defaults to False.

vocabCLI.vocabCLI.readability(content: str = <typer.models.ArgumentInfo object>)[source]#
vocabCLI.vocabCLI.refresh()[source]#

Refreshes the cached content from the API.

vocabCLI.vocabCLI.revise(number: int = <typer.models.OptionInfo object>, tag: str = <typer.models.OptionInfo object>, learning: bool = <typer.models.OptionInfo object>, mastered: bool = <typer.models.OptionInfo object>, favorite: bool = <typer.models.OptionInfo object>, collection: str = <typer.models.OptionInfo object>)[source]#

Revise words from your learning list.

Args:

number (int, optional): Number of words to revise. Defaults to None. tag (str, optional): Tag of words to revise. Defaults to None. learning (Optional[bool], optional): Revise words in your learning list. Defaults to False. mastered (Optional[bool], optional): Revise words in your mastered list. Defaults to False. favorite (Optional[bool], optional): Revise words in your favorite list. Defaults to False. collection (Optional[str], optional): Revise words in a particular collection. Defaults to None.

vocabCLI.vocabCLI.rss(add: str = <typer.models.OptionInfo object>, list: bool = <typer.models.OptionInfo object>, delete: bool = <typer.models.OptionInfo object>, read: str = <typer.models.OptionInfo object>)[source]#
vocabCLI.vocabCLI.sentiment(content: str = <typer.models.ArgumentInfo object>)[source]#
vocabCLI.vocabCLI.spellcheck(text: str = <typer.models.ArgumentInfo object>)[source]#

Spell check a word.

vocabCLI.vocabCLI.streak()[source]#
vocabCLI.vocabCLI.summary(content: str = <typer.models.ArgumentInfo object>, file: bool = <typer.models.OptionInfo object>)[source]#
vocabCLI.vocabCLI.synonym(words: ~typing.List[str] = <typer.models.ArgumentInfo object>)[source]#

Find synonyms for a word.

Args:

words (List[str]): Word to search synonyms for.

vocabCLI.vocabCLI.tag(words: ~typing.List[str] = <typer.models.ArgumentInfo object>, tag: str = <typer.models.OptionInfo object>)[source]#

Tags a word.

Args:

words (List[str]): Words to tagged. tag (str): Tag to add to the words.

vocabCLI.vocabCLI.unfavorite(words: ~typing.List[str] = <typer.models.ArgumentInfo object>)[source]#

Removes a word from the favorite list.

Args:

words (List[str]): Word which is to be removed from the favorite list.

vocabCLI.vocabCLI.unlearn(words: ~typing.List[str] = <typer.models.ArgumentInfo object>)[source]#

Removes a word from the learning list.

Args:

words (List[str]): Word which is to be removed from the learning list.

vocabCLI.vocabCLI.unmaster(words: ~typing.List[str] = <typer.models.ArgumentInfo object>)[source]#

Removes a word from the mastered list.

Args:

words (List[str]): Word which is to be removed from the mastered list.

vocabCLI.vocabCLI.untag(words: ~typing.List[str] = <typer.models.ArgumentInfo object>)[source]#

Remove tag of a word in the dictionary.

Args:

words (List[str]): Word to remove tag from.

Module contents#