fortune-python-1.0.3
توضیحات
A Fortune clone in Python
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | fortune-python-1.0.3 |
| نام | fortune-python |
| نسخه کتابخانه | 1.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | James Finnie-Ansley |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/James-Ansley/fortune |
| آدرس اینترنتی | https://pypi.org/project/fortune-python/ |
| مجوز | - |
# Python Fortune
A simple self-contained clone of fortune. Try it out
with [cowsay](https://github.com/James-Ansley/cowsay)!
## Install
pip install fortune-python
## Usage
To use this package, import the `fortune` function and call:
```python
from fortune import fortune
print(fortune())
```
This will produce a random fortune.
# Notes
The fortune data for this package is taken
from [fortune-mod](https://github.com/shlomif/fortune-mod). Please see the
datfiles directory in this repo for their corresponding license.
The offensive fortunes in the 'off' directory are not included in this Python
package. However, the fortunes provided in this package are otherwise provided
as they were in the
original [fortune-mod](https://github.com/shlomif/fortune-mod) repository.
I do not take responsibility for the content of these fortunes.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl fortune-python-1.0.3:
pip install fortune-python-1.0.3.whl
نصب پکیج tar.gz fortune-python-1.0.3:
pip install fortune-python-1.0.3.tar.gz