posthaste – Hastebin uploads, lightning fast
Based on ylmcc/AutoHasteBin
posthaste is a super-lightweight Python CLI tool for quickly uploading text or files to any Hastebin-compatible server — straight from your terminal.
Perfect for sharing code snippets, logs, notes, and more — without needing to open a browser. Pipe it, upload it, share it — done.
✨ Features
- Upload directly from stdin or from one or more files
- Save tokens to your environment for later use
- Choose your own Hastebin server
- No dependencies beyond
requestsand my in-houseargparsesub-in - Blazing fast and easy to use
📦 Quick Start
-
then upload text:
echo "hello world" | posthaste
- or upload a file:
posthaste mylogfile.txt
- or upload multiple files:
posthaste file1.txt file2.txt
- save your API token (only needed if the server requires it):
posthaste --token YOUR_TOKEN_HERE
🔧 Example
$ echo "my example code" | posthaste
Uploading to: https://hastebin.com/documents
https://hastebin.com/share/abcd1234
$ posthaste error_log.txt
Uploading file: error_log.txt
https://hastebin.com/share/efgh5678
📄 License
This project is licensed under the GPL v3.0 License.
See the LICENSE file for full details.
Metadata
Release files for posthaste-cli 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| posthaste_cli-0.1.1.tar.gz | 17.7 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| posthaste_cli-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.7 kB
Release files / posthaste_cli-0.1.1.tar.gz
| Download URL | posthaste_cli-0.1.1.tar.gz |
|---|---|
| Size | 17.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c3656f65334c7fd472e930e69f4ce5d3c24e09b564c2d6a1bfea05018d34b61
|
|
BLAKE2b-256 checksum How to use checksums |
018319a141e3c161811f1dc63c5e2f9d87345b4ce03ce443278d3ac9530cc077
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 27, 2025.
Transparency logRelease files / posthaste_cli-0.1.1-py3-none-any.whl
| Download URL | posthaste_cli-0.1.1-py3-none-any.whl |
|---|---|
| Size | 17.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d49fb0ea560c25c00ab9fd772ff8fcea7b769936ad9923ab5a34e22bfebb6903
|
|
BLAKE2b-256 checksum How to use checksums |
5dd857a99a0cd60b0314d08e6e2b50fc1757fa7964f35e4ab94364a4d6ba7f06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 27, 2025.
Transparency logSecurity for posthaste-cli 0.1.1
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for posthaste_cli-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 27, 2025.
Transparency logA 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.