pyfivbvis
pyfivbvis provides an python client to the FIVB VIS web service system.
Full details - https://openvolley.github.io/pyfivbvis/
Installation
You can install or update pyfivbvis with:
pip install pyfivbvis
pip install pyfivbvis -U
Examples
Fetch list of tournaments:
from pyfivbvis.vis_fetcher import FivbVis as vis
all_tournaments = vis.fetch_beach_tournament_list()
print(all_tournaments[0:2])
[
{
"No": "1",
"Title": "",
"Type": "9",
"NoEvent": "",
"Code": "BEST2010",
"Gender": "0",
"Name": "Best Photos of 2010",
"CountryCode": "99",
"StartDateQualification": "",
"StartDateMainDraw": "",
"EndDateQualification": "",
"EndDateMainDraw": "",
"NbTeamsQualification": "64",
"NbTeamsMainDraw": "32",
"NbTeamsFromQualification": "8",
},
{
"No": "2",
"Title": "Beach Tournament Test 00",
"Type": "35",
"NoEvent": "343",
"Code": "BVISTEST",
"Gender": "1",
"Name": "Officials training Test event 00",
"CountryCode": "CH",
"StartDateQualification": "2024-09-04",
"StartDateMainDraw": "2024-09-05",
"EndDateQualification": "2024-09-04",
"EndDateMainDraw": "2024-09-08",
"NbTeamsQualification": "16",
"NbTeamsMainDraw": "16",
"NbTeamsFromQualification": "4",
}
]
Fetch list of matches from a tournament:
from pyfivbvis.vis_fetcher import FivbVis as vis
tourn_matches = vis.fetch_beach_match_list('503')
# To include refs and round metadata
tourn_matches = vis.fetch_beach_match_list('503', ref_info=True, round_info=True)
print(tourn_matches[0:2])
[
{
"NoTournament": "503",
"NoPlayerA1": "103903",
"NoPlayerA2": "103904",
"NoPlayerB1": "117998",
"NoPlayerB2": "120825",
"NoTeamA": "771830",
"NoTeamB": "771808",
"TeamAName": "Larissa/Juliana",
"TeamBName": "Ryabova/Ushkova",
"TeamAFederationCode": "BRA",
"TeamBFederationCode": "RUS",
"NoInTournament": "1",
"LocalDate": "2011-04-19",
"LocalTime": "10:00:00",
"Court": "1",
"MatchPointsA": "2",
"MatchPointsB": "0",
"PointsTeamASet1": "21",
"PointsTeamBSet1": "14",
"PointsTeamASet2": "21",
"PointsTeamBSet2": "15",
"PointsTeamASet3": "",
"PointsTeamBSet3": "",
"DurationSet1": "840",
"DurationSet2": "1020",
"DurationSet3": "",
"WinnerRank": "0",
"LoserRank": "0",
},
{
"NoTournament": "503",
"NoPlayerA1": "103671",
"NoPlayerA2": "103670",
"NoPlayerB1": "122400",
"NoPlayerB2": "118204",
"NoTeamA": "771853",
"NoTeamB": "771844",
"TeamAName": "Nyström Em./Nyström Er.",
"TeamBName": "Cicolari/Menegatti",
"TeamAFederationCode": "FIN",
"TeamBFederationCode": "ITA",
"NoInTournament": "2",
"LocalDate": "2011-04-19",
"LocalTime": "10:00:00",
"Court": "3",
"MatchPointsA": "1",
"MatchPointsB": "2",
"PointsTeamASet1": "18",
"PointsTeamBSet1": "21",
"PointsTeamASet2": "21",
"PointsTeamBSet2": "15",
"PointsTeamASet3": "11",
"PointsTeamBSet3": "15",
"DurationSet1": "1200",
"DurationSet2": "1020",
"DurationSet3": "780",
"WinnerRank": "0",
"LoserRank": "0",
},
]
Fetch list of rankings from a tournament:
from pyfivbvis.vis_fetcher import FivbVis as vis
tourn_ranks = vis.fetch_beach_tournament_ranking('503')
print(tourn_ranks[0:2])
[
{
"EarnedPointsPlayer": "300",
"EarningsPlayer": "850000",
"EarnedPointsTeam": "600",
"EarningsTotalTeam": "3000000",
"Position": "1",
"Rank": "1",
"TeamFederationCode": "BRA",
"TeamName": "Larissa/Juliana",
"NoTeam": "375507",
"NoTournament": "502",
},
{
"EarnedPointsPlayer": "270",
"EarningsPlayer": "600000",
"EarnedPointsTeam": "540",
"EarningsTotalTeam": "2100000",
"Position": "2",
"Rank": "2",
"TeamFederationCode": "GER",
"TeamName": "Goller/Ludwig",
"NoTeam": "375500",
"NoTournament": "502",
},
]
Metadata
Release files for pyfivbvis 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyfivbvis-0.1.2.tar.gz | 6.9 kB | Without provenance | Details for pyfivbvis-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyfivbvis-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for pyfivbvis-0.1.2-py3-none-any.whl |
Total release size: 13.8 kB
Release files / pyfivbvis-0.1.2.tar.gz
| Download URL | pyfivbvis-0.1.2.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
18a864b0243be5b9d4325bd8888e261e09a84ecaca442086840e2e67295514bd
|
|
BLAKE2b-256 checksum How to use checksums |
33b853b04d3af5e4c94b4b7e3dba34a4d50c0c83c75d6c16e6d077b22c9e06be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / pyfivbvis-0.1.2-py3-none-any.whl
| Download URL | pyfivbvis-0.1.2-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a8323fd7128eda9c01b248e53b184abe45b9732f8efce936e3cc57decbd24b62
|
|
BLAKE2b-256 checksum How to use checksums |
a7d51903bcc4812a2a0b9718bd464c968a0ed9464d881baabb58555fa56bf673
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for pyfivbvis 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.