Skip to main content

No project description provided

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fenerbahce-0.2.0.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

fenerbahce-0.2.0-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page