A simple Python package for retrieving random inspirational quotes.
Project description
inspiring_quotes
A simple Python package that provides random inspirational quotes. With a collection of 300 quotes, this library is perfect for adding a touch of motivation to your projects.
Features
- Retrieve a random inspirational quote from a JSON file.
- Simple and easy to retrieve quote and author
- Over 300 inspiring quotes available
Import the Library
from inspiring_quotes1.quotes import get_random_quote
Get a Random Quote
quote = get_random_quote()
if quote:
print(f"Quote: {quote['quote']}\nAuthor: {quote['author']}")
else:
print("No quotes available.")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
inspiring_quotes-0.2.7.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for inspiring_quotes-0.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a51c71cda03ca871e3ee86b5b3210beb6a5a77a0528db824b16c2f1ea9f92aee |
|
MD5 | 2f613443530a17a9401d822aff1ecf79 |
|
BLAKE2b-256 | 3cc1b88b15a2780aefa248065f23635acccff12c34a91bb10d0ef295c2e3b03d |