Skip to main content

Client interface for https://dpaste.de/ pastebin

Project description

dpaster

Build Status Coverage Status PyPI version PyPI

dpaster is a command-line client interface for dpaste.

Installing dpaster

Make sure you have ~/.local/bin in your PATH. If you haven't already, add this to your ~/.bashrc:

export PATH=$PATH:"$HOME"/.local/bin

Then run:

python3 -m pip install thepaster

Using dpaster

$ dpaster --help
Usage: dpaster [OPTIONS] [FILE] COMMAND [ARGS]...

  Client interface for https://dpaste.org/ pastebin

Options:
  -l, --lexer OPT    Choose a lexer (e.g. python, java, bash)
  -e, --expires OPT  Choose expiry time (e.g. onetime, hour, day, week)
  -r, --raw          Get raw URL
  --version          Show the version and exit.
  --help             Show this message and exit.

Commands:
  config  Configure available settings

Configuring dpaster

$ dpaster config --help
Usage: dpaster config [OPTIONS]

  Configure available settings

Options:
  --show                          View current settings
  --enable-autocp / --disable-autocp
                                  Automatically copy the URL to clipboard
  --enable-raw / --disable-raw    Always get raw URL
  --default-lexer OPT             Choose default lexer (e.g. python, java,
                                  bash)
  --default-expires OPT           Choose default expiry time (e.g. onetime,
                                  hour, day, week)
  --help                          Show this message and exit.

Licensing

Licensed under the MIT License. For details, see LICENSE.

Project details


Download files

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

Files for thepaster, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size thepaster-1.1.0-py3-none-any.whl (5.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size thepaster-1.1.0.tar.gz (12.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page