CLI Random Quote Retriever
By mhaxanali
PyPI Project Link
https://pypi.org/project/random-quote-retriever/
What it does?
- Uses
zenquotes.io/apito retrieve a random quote. Can optionally save the quote in./quotes.jsonif you like it - API handling using
requestsand argument parsing usingargparse
Setting up
- Download the project:
python3 -m pip install random-quote-retriever
Usage
Retrieving Quotes
Run the script using (retrieve a random quote):
quote
Saving Quotes
Run the script with --save:
quote --save
The last quote that was retrieved will be saved in ./quotes.json
Viewing Saved Quotes
Run the script with --view-saved:
quote --view-saved
All of the quotes that have been saved in ./quotes.json will be displayed.
Metadata
Release files for random-quote-retriever 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| random_quote_retriever-0.2.0.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| random_quote_retriever-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.4 kB
Release files / random_quote_retriever-0.2.0.tar.gz
| Download URL | random_quote_retriever-0.2.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
45149495a7d6ac59e41c2b40cdd3066f2d66cc80e826e502726901d793c016f2
|
|
BLAKE2b-256 checksum How to use checksums |
7a90ca5bc179b5f3c97b68b698e4af931575214a1a1eaa072679656fbf1d3a0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / random_quote_retriever-0.2.0-py3-none-any.whl
| Download URL | random_quote_retriever-0.2.0-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
83c685c3a3dec6affcebe8472a4e6fd2299098f027424010a230f9354f12b175
|
|
BLAKE2b-256 checksum How to use checksums |
6b6e882d6c7277e34c8640ef4358f9ea20b05a50b6857ca1d0be5f114de8382f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|