Cambridge

Latest version: v3.13.11

Safety actively analyzes 714919 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 11

3.9.3

- utilized redirect for Cambridge Dictionary
- fixed a bug in cache hitting
- worked around python forbidding a commandline argument string value from starting with '-'
- worked around color codes surrounded by "[]" within normal text "[]" making color parsing fail, a rare occasion happened in Webster Dictionary

3.9.0

- got rid of `rich` third party library, rendering colors by the project itself
- beautified the display of the Cambridge dictionary, and made a big overhaul of its code
- fixed some bugs for the redirect page for some words

3.8.4

Cambridge's website may have updated its html structure on Feb 2 2024, which caused the parser not to be able to parse out the Dictionary name, which is a part of the output content of each search by this program. Fixed it by this version.

3.8.2

Fixed incorrect wrapping for some long lines of "Webster's examples on the web" caused by third party library `rich`'s `console.print()` default behavior `soft_wrapping`. For a very long time, I thought it was terminal's wrapping kinks independent of this program, but after deep digging into `terminfo`, I found the devil is actually not in terminal, but in the `rich`'s insensible default setting, which is very hard to find and took me a lot of time.

If you use Webster dictionary a lot, I strongly recommend you make an upgrade.

3.8.0

- added 'wod' subcommand for display 'Word of the Day' in Merriam Webster Dictionary
- utilized some printing formats

3.7.0

This version is a big overhaul for people like me with OCD on text formatting and beatification.
It took me three days to solve & test all found minor formatting kinks when printing words from the Merriam Wester Dictionary:
- utilized vertical alignment when a word encounters 2 digit first-level number labels;
- fixed spacing and coloring of a word's multiple pronunciations;
- fixed some uncommon tags not getting printed;
- fixed some example sentences not getting printed when they are under particular definition tags;
- further pinpointed words that should be highlighted in the web example sentences;
- highlighted the word inside an example sentence;
- did a few color tweaks;
- for phases not found, parsed and printed the redirect page containing similar ones, just like what the Webster's web does;
...

Since I did the Webster in the granular fashion, it's unavoidable to omit uncommon tags or modify one place in a word ending up with unexpected and unwanted changes in other words, which may have happened in the previous versions and is hard to be noticed too, because, after all, you can't test all of the words in a dictionary. Luckily, after several iterations, especially this one, things are getting close to perfection. I've fully tested some small but rich words with long entries and various strange tags, including tear, bear, beat, run, green, in, and some informal words, like blah, honeybun, on the toes, ... They all work beautifully well and look even cleaner and clearer on the terminal than they do on the official web in my opinion.

Webster is now eye candy to me. Hope you like it too. Stay tuned for future goodies. Thanks.

Page 4 of 11

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.