Skip to main content

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


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)

Uploaded Source

Built Distribution

inspiring_quotes-1.5.1-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page