Skip to main content

RedditCLI

RedditCLI brings Reddit to the terminal, allowing you to do the following without leaving your command line:

  • Browse public subreddits, posts, comments, and users.
  • Iterate through comments and post indexes.
  • Search for posts, comments, and users.
  • Clear all the commands on the screen.

Installation

Pip Installation

The following command will install RedditCLI:

$ pip3 install redditcli

If you are not installing in a virtualenv, run with sudo:

$ sudo pip3 install redditcli

Once installed, run the RedditCLI auto-completer with interactive help:

$ reddit

Run commands:

$ rdt <command> [options] [args]

Auto-Completer and Interactive Help

You can enable fish-style completions and an auto-completion menu with interactive help:

$ reddit

If available, the auto-completer also automatically displays commands through a pager.

Within the auto-completer, the following syntax applies:

redditcli:$>> rdt <command> [options] [args]

Commands:

  • rdt ls

  • Description: list posts front page and sorts by optional hot(default), new, rising, top, controversial.

    • Options:
      • --sort [hot|new|rising|top|controversial] - sort the list based on categories
      • --move [next|previous] - can only be used on result set
      • --subreddits - list all public subreddits available on reddit
      • --subreddits --move [next|previous] - can only be used on result set
  • view

  • Description: opens the permalink of the specified post index in a browser window.

    • Options:
      • --index [Integer Value] - can only be used on result set
      • --comments --index [Integer Value] - loads the comments of the specified post index. can only be used on result set
      • --more-comments --index [Integer Value] - Loads more comments from the post scope if there are posts to load.
  • search

  • Description: Searches reddit for the specified search term.

    • Options:
      • [Search Term]
      • ls --move [next|previous] - can only be used on result set
  • clear

    • Description: Clears the screen

Supported Python Versions

Python 3 and above.

Libraries Used

Metadata

Release files for redditcli 2.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 redditcli 2.1.0
File Size Uploaded Provenance Actions
redditcli-2.1.0.tar.gz 5.8 kB Without provenance Details for redditcli-2.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for redditcli 2.1.0
File Interpreter ABI Platform Actions
redditcli-2.1.0-py3-none-any.whl Python 3 none any Details for redditcli-2.1.0-py3-none-any.whl

Total release size: 13.3 kB

Release files / redditcli-2.1.0.tar.gz

Download URL redditcli-2.1.0.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4894ff3e22b00249d92d0a967139aa5c8090abe39fb622757a56ad482201e9d0
BLAKE2b-256 checksum
How to use checksums
fbc2a714f2e2d9ca0a40000001855c329f99c43bbc1d661a9bd6505cac22fcbc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.2

Release files / redditcli-2.1.0-py3-none-any.whl

Download URL redditcli-2.1.0-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c993da77e59d6251efa6736845b7876a9935b152da2ceb6e7c1123e1e1dc0974
BLAKE2b-256 checksum
How to use checksums
7e537c254653b4a04d4ae1b87458543e12f3862aa3da91979b9c9a595a9a355a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.2

Security for redditcli 2.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.

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files No provenance

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