Skip to main content

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
...

Metadata

Release files for abbr-cli 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for abbr-cli 1.0.3
File Size Uploaded
abbr-cli-1.0.3.tar.gz 6.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for abbr-cli 1.0.3
File Interpreter ABI Platform
abbr_cli-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 14.1 kB

Release files / abbr-cli-1.0.3.tar.gz

Download URL abbr-cli-1.0.3.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ae41786a5f2239613a47779385d09db2688574e50e71e029b801259ff58f029a
BLAKE2b-256 checksum
How to use checksums
d6a6b1bcc4eea20a3bcc1d3d6120372152cbc55daf39b981e5763fde387b3dff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

Release files / abbr_cli-1.0.3-py3-none-any.whl

Download URL abbr_cli-1.0.3-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d57cb2b860c36397793ef9d32e6767fbf3c07f149d74c80375cbc4821dbddf5
BLAKE2b-256 checksum
How to use checksums
6fc78742fc7623ed91cb796398dc1ca62c99f10cc0d7aa187bda15d8ad137ba9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page