CLI client for Haste server (hastebin.com) written in Python.
A simple client for Haste server written in Python.
Use pip or easy_install:
pip install haste-client
Haste client needs Python 2.6+ or 3.x (it was tested on 2.7, 3.3 and 3.4) and following modules:
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.
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
This project is licensed under MIT license.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size haste-client-1.0.3.tar.gz (4.0 kB)||File type Source||Python version None||Upload date||Hashes View|