No project description provided
Project description
Fenerbahce
fenerbahce is a command line tool to fetch information past and future games of Fenerbahçe's Professional Football Team
Currently, only the last and the next game information can be shown. In the future I will integrate live scores, and pip packaging.
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
- 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
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
Hashes for fenerbahce-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7ee1e09bdc43c9ab0ab0d0a2cc3cb803f2e77cee0516d5d9b32096ba39af8da |
|
MD5 | 851aa432b2854ef9c9568b69f916f1fa |
|
BLAKE2b-256 | 611cf18516a09923a3ff0f10c1a967aa882e45c1242503a31b867fde6ccb2689 |