Skip to main content

This is a Python library for accessing and printing quotes from bash.org, a quote database on the Internet from various chat sources. It is NOT made by bash.org, or endorsed by them in any way. Note that it merely uses HTML parsing to filter through the site’s content

The BashQuote object can be created directly (BashQuote(8)) or it can be created using various functions. getQuoteSafe and getQuote take a quote number and return a quote object- getQuoteSafe checks to verify the quote exists. Then, getLatestQuote and getRandomQuote will both do HTML parsing to find the quote numbers.

These BashQuote objects then have various helper functions which can return various data about a quote. So, for instance, to get the text of a random quote, BashQuote.getText() will print out all the text. Or to check if a quote is pending, isPending() will return true if the quote has yet to be processed for approval, and so on.

Metadata

Release files for bashquote 2.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 bashquote 2.0
File Size Uploaded
bashquote-2.0.tar.gz 4.0 kB Details

Release files / bashquote-2.0.tar.gz

Download URL bashquote-2.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f0a60f5a84bd26f7a8d228453cbb8da255a88b4efe7eb5e61d99d9709dfa01e0
BLAKE2b-256 checksum
How to use checksums
9e670e398891b1bf276a0837a58edace390f564591776a183fff391ff35214aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

2.0 This release

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