skip to navigation
skip to content

Not Logged In

haste-client 1.0

CLI client for Haste server (hastebin.com) written in Python.

Latest Version: 1.0.1

A simple client for Haste server written in Python.

Installation

Use pip or easy_install:

pip install haste-client

Gentoo users can use haste-client ebuild from CVUT Overlay.

Haste client needs Python 2.6+ or 3.x (it was tested on 2.7 and 3.3) and following modules:

Usage

Text can be passed to haste via stdin or a file. TTY is also supported.

haste FILE
cat FILE | haste

URL of the created entry is then printed to STDOUT.

Configuration

Haste client reads configuration variables from ~/.hastec and /etc/hastec.conf (in this order, first wins). When no such file or the particular variable exists, then default values are used:

server_url = http://hastebin.com
timeout = 3

License

This project is licensed under MIT license.

 
File Type Py Version Uploaded on Size
haste-client-1.0.tar.gz (md5, pgp) Source 2013-12-30 2KB
  • Downloads (All Versions):
  • 213 downloads in the last day
  • 244 downloads in the last week
  • 389 downloads in the last month