Skip to main content

Library which shows stats about the Big Three era in Tennis (2000's, 2010's)

Project description

Big Three Library

A library with the stats of Grand Slams earned by the Big Three:

- Rafa Nadal (Spain) Grand Slams: 22
- Roger Federer (Swizterland) Grand Slams: 20
- Novak Djokovic (Serbia) Grand Slams: 24

Installation

Install the package using pip:

pip3 install tennis-big3

List the Big-3

from tennis_big3 import list_players

list_players()

You can do it by this other way:

from tennis_big3.players import big_three

for player in big_three:
    print(player)

Search player by the name

If you want to search the stat of a single player:

from tennis_big3 import search_player

search_player("Roger Federer")

Show total of GS

from tennis_big3 import total_gs

total_gs()

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

tennis_big3-0.1.2.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tennis_big3-0.1.2-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file tennis_big3-0.1.2.tar.gz.

File metadata

  • Download URL: tennis_big3-0.1.2.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.2

File hashes

Hashes for tennis_big3-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5caab269a85e6220e8bcaccfbb3a592dd7e926362e56be6567ee122143067c55
MD5 26153b3e47688cbc5e1c059b39d259aa
BLAKE2b-256 3de9bbc42b95eadd783a43ff691661aadadc473d24ce8efcf4428e3f7c5346bf

See more details on using hashes here.

File details

Details for the file tennis_big3-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: tennis_big3-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.2

File hashes

Hashes for tennis_big3-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0be3dc69ce945fa4d16ebf9347cdf4a07ab00fa8dd509abd081180c8f96c9e4c
MD5 a4e72a78fb61e1764816bb4106717d65
BLAKE2b-256 a70be9a59a03a95c16f8d11fe8153058ddf1560c66ef0f2c41d563a09ea755e0

See more details on using hashes here.

Supported by

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