Skip to main content

pasteraw-client

Pipe stdin directly to a raw pastebin. Get a URL back. Go be productive.

Installation

From PyPi:

$ pip install pasteraw

Command line usage

Given a file:

$ cat somefile
Lorem ipsum.

Pipe the file to pasteraw and get back a URL to a raw paste of that file:

$ cat somefile | pasteraw
http://cdn.pasteraw.com/9lvwkwgrgji5gbhjygxgaqcfx3hefpb

Do whatever you want with the URL. For example, open it in your web browser:

$ open $(!!)

Python library usage

To use pasteraw.com:

>>> c = pasteraw.Client()
>>> url = c.create_paste('Lorem ipsum.')
>>> print(url)
http://cdn.pasteraw.com/9lvwkwgrgji5gbhjygxgaqcfx3hefpb

If you’re using your own deployment of pasteraw, pass your own API endpoint to the client:

>>> c = pasteraw.Client('http://pasteraw.example.com/api/v1')

Metadata

Release files for pasteraw 1.1.0

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

Source distribution (sdist)

Source distribution for pasteraw 1.1.0
File Size Uploaded Provenance Actions
pasteraw-1.1.0.tar.gz 6.4 kB Without provenance Details for pasteraw-1.1.0.tar.gz

Release files / pasteraw-1.1.0.tar.gz

Download URL pasteraw-1.1.0.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a3485d14eb3ba089d7bfc09d1a3a45637f6c605af299e9c3a90ece5eddbdb778
BLAKE2b-256 checksum
How to use checksums
f8b2d0ce07e0fdef2ff2679943384836d03a6694fb51dd4bc3def3321267d4ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pasteraw 1.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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