Skip to main content

CLI Haste client

version

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, 3.3 and 3.4) 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.

Release files for haste-client 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for haste-client 1.0.3
File Size Uploaded
haste-client-1.0.3.tar.gz 4.0 kB Details

Release files / haste-client-1.0.3.tar.gz

Download URL haste-client-1.0.3.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c7ae62c3f71da9b54285f9a99b01438f590c347601544bd6a0fb9996f1f09c15
BLAKE2b-256 checksum
How to use checksums
5590db57c4a0d1629f29a48ea1b1dc916b44c6d6ca6dafb1e5a4190fda2904b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.3 This release

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0

1 release file

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