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_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-1.5.1.tar.gz
(5.6 kB
view hashes)
Built Distribution
Close
Hashes for inspiring_quotes-1.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26169efe01e0be6f3f3a13a809628ea6e4bcfc5324f6cf9d5249078780c0eff5 |
|
MD5 | 2ea7a95d586be1b301e53cb4e19e39e3 |
|
BLAKE2b-256 | f5e354789e95aa2864a6035c912e0a211ddbc571cc60dfe215b9ecd6586f6421 |