Skip to main content

✨ Overview ✨

The Pastebin Bisque is a small Python utility that uses BeautifulSoup to scrape a user’s Pastebin profile. All public pastes from that user are downloaded to disk. Optionally, the pastes can be saved to a single .zip file.

There is no rate-limiting protection built-in. Read about the Pastebin Request Limits if you anticipate generating a large number of requests. The file name provided by the Pastebin user will be prepended with the short URL that Pastebin provides. This allows a single directory with all pastes and no duplicates and makes the original URL fairly easy to reconstruct.

TL;DR - Scrape all public Pastebin pastes from a user.

  • Free software: GNU Lesser General Public License v3 or later (LGPLv3+)

📦 Installation

pip install pastebin-bisque

📚 Documentation

https://pastebin-bisque.readthedocs.io/

💻 Development

To run all the tests run:

tox

Consider using this to run the tests in parallel:

tox -p auto

Note, to combine the coverage data from all the tox environments run:

Windows

set PYTEST_ADDOPTS=--cov-append
tox

Other

PYTEST_ADDOPTS=--cov-append tox

Changelog

1.0.0 (09/10/2023)

v1.0.0: 🍰 Now On PyPI

With this release, pastebin-bisque is now available on PyPI. You can install it with:

pip install pastebin-bisque

This release is timed as an early celebration of the 🦄🌈 original author’s 🍰 birthday.

0.3.0 (12/11/2022)

v0.3.0: 🤖🤝 Human and Bot Friendly

This release is friendly for both humans and machines. Thanks to your feedback, I pushed a new release that should make for a much better experience all around.

What’s Changed

  • Bump urllib3 from 1.25.8 to 1.26.5 by @dependabot

  • Address feedback in #6 by Brie Carranza in #8

0.2.0 (05/13/2020)

v0.2.0: Tidied Up

This version has neater output.

0.1.0 (03/01/2020)

v0.1.0: Inaugural Release

This is the first release of Pastebin Bisque! All of the initial bugs have been squashed! There is documentation and a demo. 😸

Metadata

Release files for pastebin-bisque 1.0.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 pastebin-bisque 1.0.0
File Size Uploaded Provenance
pastebin-bisque-1.0.0.tar.gz 35.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pastebin-bisque 1.0.0
File Interpreter ABI Platform
pastebin_bisque-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 57.8 kB

Release files / pastebin-bisque-1.0.0.tar.gz

Download URL pastebin-bisque-1.0.0.tar.gz
Size 35.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ca9f27145354619828c807d3ad092078d206535c860ec9c7f0e3a0d9eff74006
BLAKE2b-256 checksum
How to use checksums
17d7df66f30ed2efc357fed99b2766d122ae0e2278f797c7ddbf47dd682de771
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / pastebin_bisque-1.0.0-py3-none-any.whl

Download URL pastebin_bisque-1.0.0-py3-none-any.whl
Size 22.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
237005a7956124f8f2a4ccada7cf95f0e69786009d5e502f696f4161da413a58
BLAKE2b-256 checksum
How to use checksums
ade0e99ce1f587a2323705c6a4a42cb1695bd14940d8f85afbf28a29d6931417
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Security for pastebin-bisque 1.0.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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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