Skip to main content

A Random Quote Generator Python Package

Project description

pyquotegen

PyPI version Downloads GitHub license GitHub issues

pyquotegen is a Python package that provides a simple way to generate random quotes.

Installation

To install pyquotegen, simply run:

pip install pyquotegen

Usage

To use pyquotegen, import the package and call the get_quote function:

import pyquotegen

# get a random quote
quote = pyquotegen.get_quote()
print(quote)

# get a quote by specific category
quote_by_category = pyquotegen.get_quote("inspirational")
print(quote_by_category)

Note: The default category is "motivation" if you don't provide any category.

List Of Some Basic Categories

  • motivational
  • friendship
  • technology
  • inspirational
  • funny
  • nature
  • duccess
  • attitude
  • coding

Feature

  • Generates random quotes
  • Provides quotes by specific category
  • Supports multiple categories
  • Lightweight and easy to use

Contributing

Contributions are welcome! To contribute, please fork the repository and submit a pull request.

Credits

This package was created by Arman Idrisi.

License

This project is licensed under the MIT License. See the LICENSE file for details.

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

pyquotegen-0.0.4.tar.gz (11.6 kB view hashes)

Uploaded Source

Built Distribution

pyquotegen-0.0.4-py3-none-any.whl (11.4 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