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.
Release files for pyquotegen 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyquotegen-0.0.4.tar.gz | 11.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyquotegen-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.0 kB
Release files / pyquotegen-0.0.4.tar.gz
| Download URL | pyquotegen-0.0.4.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40df6ef8f3626e15379e0cbbe1a9dea322288f7f429df22da2c5db1526be57a9
|
|
BLAKE2b-256 checksum How to use checksums |
a65d1885d81f655a8cf56940be610f2112fdb2d9b0291ee1d152624fad86b892
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Release files / pyquotegen-0.0.4-py3-none-any.whl
| Download URL | pyquotegen-0.0.4-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
55d7e4dfe342c93d8804897eeab68783725fd36253b9e752c99d8362191c292f
|
|
BLAKE2b-256 checksum How to use checksums |
bb859411bc717ac6b7a497fdd4b77dffb9a49de614a1e2c2ea0f8eb4573d3078
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|