Skip to main content

Top Drawer

Ever had trouble finding a valid name for that new package ?

top-drawer is command line tool to help with that by searching for synonyms of a word and validate if they are available on pypi or npm.

Install

Python >= 3.6:

$ pip install top-drawer

Usage

$ top-drawer --help
usage: top-drawer [-h] [-v] [--log-file LOG_FILE] [--quiet] [-c CONFIG_FILE]
                  [--api-key API_KEY]
                  ...

    Thesaurus search and availability validators to find new package names.
    

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         - (default: False)
  --log-file LOG_FILE
  --quiet
  -c CONFIG_FILE, --config-file CONFIG_FILE
                        Config file path (default: None)
  --api-key API_KEY     Your bighugelabs.com api key (default: None)

Commands:
  
    search              Search for valid words from the thesaurus definition.
    validate            Validate a word is available.
    thesaurus           Get the thesaurus definition from Big Huge Thesaurus.
    clear-cache         Clear the validations cache.
$ top-drawer search --help                                                                                                                                      ✔  17:37 
usage: top-drawer search [-h] [-c {snakecase,spinalcase}] [--pypi] [--npm] [-f]
                         [-w {noun,verb,adjective} [{noun,verb,adjective} ...]]
                         [-m {syn,ant,usr,sim,rel} [{syn,ant,usr,sim,rel} ...]]
                         word

Search for valid words from the thesaurus definition.

positional arguments:
  word                  The word to search.

optional arguments:
  -h, --help            show this help message and exit
  -c {snakecase,spinalcase}, --casing {snakecase,spinalcase}
                        The casing to apply to synonyms. (default: spinalcase)
  --pypi                Disable validation on pypi. (default: True)
  --npm                 Disable validation on npm. (default: True)
  -f, --full            Include the invalids in the output. (default: False)
  -w {noun,verb,adjective} [{noun,verb,adjective} ...], --word-type {noun,verb,adjective} [{noun,verb,adjective} ...]
                        Type of words to use. (default: None)
  -m {syn,ant,usr,sim,rel} [{syn,ant,usr,sim,rel} ...], --mode {syn,ant,usr,sim,rel} [{syn,ant,usr,sim,rel} ...]

Links

Metadata

Release files for top-drawer 0.1.0

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

Source distribution (sdist)

Source distribution for top-drawer 0.1.0
File Size Uploaded Provenance
top-drawer-0.1.0.tar.gz 6.7 kB Without provenance Details

Release files / top-drawer-0.1.0.tar.gz

Download URL top-drawer-0.1.0.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6022fd8ff1a56adaf22b86690d9888ca068e176b0f9e43006c9d10d7f0254f02
BLAKE2b-256 checksum
How to use checksums
ef84264921df1b85113d964b06978c2f3b0d428754ab6829046a4e2b1f08d099
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.8.1

Security for top-drawer 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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