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
Built Distribution
File details
Details for the file inspiring_quotes-1.5.1.tar.gz
.
File metadata
- Download URL: inspiring_quotes-1.5.1.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | abeb7d5b812984200cf107c7ac1d0da2834f35a7844914c0efd180d0a49a8453 |
|
MD5 | ca2ba9f7a465aee8f5152d7cc7851e96 |
|
BLAKE2b-256 | e1928a80890d8e9b537780555b6ffd28b1fe731f8d68879536711544c28d079c |
File details
Details for the file inspiring_quotes-1.5.1-py3-none-any.whl
.
File metadata
- Download URL: inspiring_quotes-1.5.1-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26169efe01e0be6f3f3a13a809628ea6e4bcfc5324f6cf9d5249078780c0eff5 |
|
MD5 | 2ea7a95d586be1b301e53cb4e19e39e3 |
|
BLAKE2b-256 | f5e354789e95aa2864a6035c912e0a211ddbc571cc60dfe215b9ecd6586f6421 |