A Random Quote Generator Python Package
Project description
pyquotegen
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
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
pyquotegen-0.0.4.tar.gz
(11.6 kB
view hashes)
Built Distribution
pyquotegen-0.0.4-py3-none-any.whl
(11.4 kB
view hashes)
Close
Hashes for pyquotegen-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55d7e4dfe342c93d8804897eeab68783725fd36253b9e752c99d8362191c292f |
|
MD5 | 8c464951681883f71c83e409d6803f01 |
|
BLAKE2b-256 | bb859411bc717ac6b7a497fdd4b77dffb9a49de614a1e2c2ea0f8eb4573d3078 |