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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyquotegen-0.0.4-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file pyquotegen-0.0.4.tar.gz.

File metadata

  • Download URL: pyquotegen-0.0.4.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for pyquotegen-0.0.4.tar.gz
Algorithm Hash digest
SHA256 40df6ef8f3626e15379e0cbbe1a9dea322288f7f429df22da2c5db1526be57a9
MD5 fdf416d69fa2b72ca1bd24d6dc2121e9
BLAKE2b-256 a65d1885d81f655a8cf56940be610f2112fdb2d9b0291ee1d152624fad86b892

See more details on using hashes here.

File details

Details for the file pyquotegen-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: pyquotegen-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for pyquotegen-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 55d7e4dfe342c93d8804897eeab68783725fd36253b9e752c99d8362191c292f
MD5 8c464951681883f71c83e409d6803f01
BLAKE2b-256 bb859411bc717ac6b7a497fdd4b77dffb9a49de614a1e2c2ea0f8eb4573d3078

See more details on using hashes here.

Supported by

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