Catalog PyPI
PACKAGE EXPLORERView in registry

abbr-cli

PyPI

A command-line tool to look up abbreviations for terms (and the reverse).

Versions collected1
Direct dependencies8From release 1.0.3
Last observed20 Oct, 17:11 UTC

README

Version 1.0.3 documentation

abbr-cli

A command-line tool to look up abbreviations for terms (and the reverse). The abbreviations (or the terms in reverse lookup) are extracted from abbreviations.com.

$ abbr configuration
(5/5) cfg
(4/5) config
(-/5) conf
(-/5) cnf

$ abbr --reverse alloc
(3/5) Allocation
(-/5) Allocate

Table of content

Installation

  • Python version 3.6 or greater is required.
  • Install via pip command:
$ pip install abbr-cli

Exploring the arguments

$ abbr configuration
(5/5) cfg
(4/5) config
(-/5) conf
(-/5) cnf

$ abbr configuration --with-category
(5/5) cfg ~ Miscellaneous, Computing
(4/5) config ~ Governmental
(-/5) conf ~ Computing
(-/5) cnf ~ Computing

$ abbr configuration --only-words
cfg
config
conf
cnf

$ abbr configuration --min-stars 4
(5/5) cfg
(4/5) config

$ abbr configuration --limit 1
(5/5) cfg

A little better than abbreviations.com

  • No duplicates.
  • Abbreviations with a single charater are removed.
  • A single abbreviation (or term in case of --reverise flag) with multiple cateogries (and sometimes subcategories) are merged in a single line. Subcategories are removed to avoid clutter. The rating will be the average rating.
# instead of getting
$ abbr command --with-category
(5/5) cmd ~ Governmental/NASA
(4/5) cmd ~ Governmental/Military
(4/5) cmd ~ Computing/DOSCommands
(5/5) cmd ~ Computing
(-/5) cmd ~ Miscellaneous/Aircraft
...

# you will get
$ abbr command --with-category
(4/5) cmd ~ Governmental, Computing, Miscellaneous
...
  • Abbreviations are normalized to lowercase, while terms are normatlized to title case.
# instead of getting
$ abbr address
(4/5) ADD
(3/5) addr
...

# you will get
$ abbr address
(4/5) add
(3/5) addr
...

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.38 Jul 20218

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
mhadidg/abbr-cli

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:11 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:b7055ed741b67c7a84946c2e1660fa85ee7ae8ed02460a8475ea9de5e55f9c2c