Skip to main content

wat helps you find out what all the things in your Linux system are. You can ask it for information on: executables, services, bash built-ins, packages, files and folders

Project description

wat - wat are this?

Video of a dog being held to various items, captioned with the question: 'wat are this?'. Image based on Jenna Marble's work featuring Kermit the dog.

wat helps you find out what all the things in your Linux system are. You can ask it for information on:

  • executables
  • services
  • bash built-ins
  • packages
  • files and folders (based on wat-pages)

To find out what something is, simply pass the name to wat:

> wat zeitgeist

zeitgeist (package): Zeitgeist is a service which logs the user's activities and 
events (files opened, websites visited, conversations held with other people, etc.) 
and makes the relevant information available to other applications.

> wat /var/spool

/var/spool (directory): This directory contains data which is awaiting some kind of later processing. Data 
in /var/spool represents work to be done in the future (by a program, user, or 
administrator); often data is deleted after it has been processed.

Installation

wat requires Python 3.10. wat runs on most Linux distributions and can be used with MacOS, however with a limited feature set for now.

From PyPi

pip3 install wat-terminal

From repository

  1. Install requirements: pip install -r requirements.txt
  2. Install wat as a command line tool: python3 setup.py install

Usage

usage: wat [-h] [--version] [--update] [--skip-empty-result] [name ...]

positional arguments:
  name                 name of the thing to lookup

options:
  -h, --help           show this help message and exit
  --version            show program's version number and exit
  --update, -u         update the page sources
  --skip-empty-result  if there is no result, don't print anything

Acknowledgments!

The inital repository structure is based on navdeep-G/samplemod.

The implementation internally uses the Python-client of tldr.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wat-terminal-0.1.0.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

wat_terminal-0.1.0-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file wat-terminal-0.1.0.tar.gz.

File metadata

  • Download URL: wat-terminal-0.1.0.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for wat-terminal-0.1.0.tar.gz
Algorithm Hash digest
SHA256 54c568b9b3c836e8ada9fe2d03e77b9282679fa6674b76e3c127da673247be46
MD5 dbf3934b2a86d10b423bfd2bca1386a2
BLAKE2b-256 867b8d37826fc9034606ca92de769dca57848f07d6a35be6b685a3e9e5af0432

See more details on using hashes here.

File details

Details for the file wat_terminal-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: wat_terminal-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for wat_terminal-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e5afb47cfba02a857cbeee3182ff056d75514bad266f8131473466cd19561e36
MD5 b430f7597273b43feca21c3a5108cb4d
BLAKE2b-256 00930041988e5882c7c60c3beea438524282295724171add6b349f417955b941

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page