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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40df6ef8f3626e15379e0cbbe1a9dea322288f7f429df22da2c5db1526be57a9
|
|
| MD5 |
fdf416d69fa2b72ca1bd24d6dc2121e9
|
|
| BLAKE2b-256 |
a65d1885d81f655a8cf56940be610f2112fdb2d9b0291ee1d152624fad86b892
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55d7e4dfe342c93d8804897eeab68783725fd36253b9e752c99d8362191c292f
|
|
| MD5 |
8c464951681883f71c83e409d6803f01
|
|
| BLAKE2b-256 |
bb859411bc717ac6b7a497fdd4b77dffb9a49de614a1e2c2ea0f8eb4573d3078
|