fenerbahce-0.2.0
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fenerbahce-0.2.0 |
| نام | fenerbahce |
| نسخه کتابخانه | 0.2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | mehmet |
| ایمیل نویسنده | mehmetccm@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/fenerbahce/ |
| مجوز | - |
# Fenerbahce
fenerbahce is a command line tool to fetch information regarding past and future games of Fenerbahçe's Professional Football Team
## Installation
Install with pip:
```pip install fenerbahce```
## Commands
`fenerbahce next` -> Fetches next match information
`fenerbahce last` -> Fetches last match information
## Dependencies
fenerbahce depends on the following packages:
- BeautifulSoup4
- lxml
- click
- click-help-colors
- requests
- pytest
- coverage.py
## Running locally
The project is built by using poetry and Python3. So to be able to run this project locally, make sure you have a running Python3 instance and a working poetry distribution.
In order to run the project locally, after cloning the repository, use the command:
```
poetry run fenerbahce
```
Commands described above can also be executed, but with little caveats:
`poetry run fenerbahce next` -> Fetches next match information
`poetry run fenerbahce last` -> Fetches last match information
## Testing
To run tests, run the command:
```
poetry run pytest
```
To calculate coverage, run these commands consecutively:
```
poetry run coverage run -m pytest
poetry run coverage report
```
Alternatively, an HTML report can also be generated:
```
poetry run coverage run -m pytest
poetry run coverage html
```
## Future Ideas
- Colourful messages
- Live scores
نیازمندی
| مقدار | نام |
|---|---|
| >=0.0.1,<0.0.2 | bs4 |
| >=4.9.1,<5.0.0 | lxml |
| >=2.28.1,<3.0.0 | requests |
| >=8.1.3,<9.0.0 | click |
| >=7.1.3,<8.0.0 | pytest |
| >=6.5.0,<7.0.0 | coverage |
| >=0.9.1,<0.10.0 | click-help-colors |
| >=0.4.5,<0.5.0 | colorama |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9,<4.0 | Python |
نحوه نصب
نصب پکیج whl fenerbahce-0.2.0:
pip install fenerbahce-0.2.0.whl
نصب پکیج tar.gz fenerbahce-0.2.0:
pip install fenerbahce-0.2.0.tar.gz