Skip to main content

py-datavolley

A Python package for parsing and analyzing volleyball scouting data from DataVolley files (*.dvw).

We modernized pydatavolley with a stronger Python workflow. It now uses Pydantic for more reliable type validation, plus the Astral toolchain—UV for package management, Ruff for linting/formatting, and Ty for type checking.

mkdir my-analysis
cd my-analysis
uv init
uv add openvolley-pydatavolley
import datavolley as dv


def main():
    return dv.read_dv(dv.example_file())


if __name__ == "__main__":
    data = main()
    print(data)

Type validation can be controlled per call:

import datavolley as dv

plays, issues = dv.read_dv(
    dv.example_file(),
    validation_mode=dv.ValidationMode.LENIENT,
    normalize_types=True,
    return_issues=True,
)

print(f"plays={len(plays)} issues={len(issues)}")

The same options are available in load_dvw(...), and issues are returned as (match_data, issues).

  • validation_mode: lenient (default) continues parsing and collects issues, strict raises on validation errors.
  • normalize_types: converts numeric-like fields to numeric types while preserving nullable behavior for missing values.
  • return_issues: returns validation issues with field/index metadata for downstream quality checks.
Will return (this is a sample and not the entire example file)
[
  {
    "match_id": "106859",
    "video_time": 495,
    "code": "a02RM-~~~58AM~~00B",
    "team": "University of Dayton",
    "player_number": 2,
    "player_name": "Maura Collins",
    "player_id": "-230138",
    "skill": "Reception",
    "skill_type": "Jump-float serve reception",
    "skill_subtype": "Jump Float",
    "evaluation_code": "-",
    "setter_position": "6",
    "attack_code": null,
    "set_code": null,
    "set_type": null,
    "start_zone": "5",
    "end_zone": "8",
    "end_subzone": "A",
    "num_players_numeric": null,
    "home_team_score": "0",
    "visiting_team_score": "0",
    "home_setter_position": "1",
    "visiting_setter_position": "6",
    "custom_code": "00B",
    "home_p1": "19",
    "home_p2": "9",
    "home_p3": "11",
    "home_p4": "15",
    "home_p5": "10",
    "home_p6": "7",
    "visiting_p1": "1",
    "visiting_p2": "16",
    "visiting_p3": "17",
    "visiting_p4": "10",
    "visiting_p5": "6",
    "visiting_p6": "8",
    "start_coordinate": "0431",
    "mid_coordinate": "-1-1",
    "end_coordinate": "7642",
    "point_phase": "Reception",
    "attack_phase": null,
    "start_coordinate_x": 1.26875,
    "start_coordinate_y": 0.092596,
    "mid_coordinate_x": null,
    "mid_coordinate_y": null,
    "end_coordinate_x": 1.68125,
    "end_coordinate_y": 5.425924,
    "set_number": "1",
    "home_team": "University of Louisville",
    "visiting_team": "University of Dayton",
    "home_team_id": 17,
    "visiting_team_id": 42,
    "point_won_by": "University of Louisville",
    "serving_team": "University of Louisville",
    "receiving_team": "University of Dayton",
    "rally_number": 1,
    "possession_number": 1
  }
]

Metadata

Release files for openvolley-pydatavolley 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openvolley-pydatavolley 1.0.0
File Size Uploaded Provenance Actions
openvolley_pydatavolley-1.0.0.tar.gz 328.6 kB Without provenance Details for openvolley_pydatavolley-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for openvolley-pydatavolley 1.0.0
File Interpreter ABI Platform Actions
openvolley_pydatavolley-1.0.0-py3-none-any.whl Python 3 none any Details for openvolley_pydatavolley-1.0.0-py3-none-any.whl

Total release size: 384.6 kB

Release files / openvolley_pydatavolley-1.0.0.tar.gz

Download URL openvolley_pydatavolley-1.0.0.tar.gz
Size 328.6 kB
Tags Source
SHA-256 checksum
How to use checksums
586e1060c423c8c6df6f00e06f155fc3831d4444e9bd50fc31e069d730bb5b7c
BLAKE2b-256 checksum
How to use checksums
3900591bd4a914bcef933303b647769d7fcc2cad61e039131bb4306b5046962a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / openvolley_pydatavolley-1.0.0-py3-none-any.whl

Download URL openvolley_pydatavolley-1.0.0-py3-none-any.whl
Size 56.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb3d64bd6e8ce377ca876415e26a602d19b884c21af867803f46fc7722e547db
BLAKE2b-256 checksum
How to use checksums
d4e673daf9970558a8257365cd953e6a30c92319e6b9d654678c41db607c0c0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for openvolley-pydatavolley 1.0.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page