Skip to main content

Extract data from DataVolley .dvw files and VolleyStation .vsm files

Project description

py-datavolley

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

Currently rebuilding pydatavolley with modern Python tooling (Astral ecosystem) for improved experience: UV for package management, Ruff for linting/formatting and Ty for type checking.

Running

If you want to clone, here's how to set up the development environment using UV:

UV documentation

Setup Development Environment

# Install uv if you haven't already
curl -LsSf https://astral.sh/uv/install.sh | sh

# Windows
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
  1. Clone the repository:

    git clone https://github.com/your-username/py-datavolley.git
    cd py-datavolley
    
  2. Create and activate virtual environment:

    # UV automatically creates and manages virtual environments
    uv sync
    
  3. Install development dependencies:

    # Development dependencies are defined in pyproject.toml
    uv sync --group dev
    

Testing

After the setup process run main with:

# Use example file or your own file
uv run main.py

Which will return:

Json
[   {
        "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_subtype": "Jump Float",
        "evaluation_code": "-",
        "setter_position": None,
        "attack_code": None,
        "set_code": None,
        "set_type": None,
        "start_zone": "5",
        "end_zone": "8",
        "end_subzone": "A",
        "num_players_numeric": None,
        "home_team_score": "0",
        "visiting_team_score": "0",
        "home_setter_position": "1",
        "visiting_setter_position": "6",
        "custom_code": None,
        "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": None,
        "attack_phase": None,
        "start_coordinate_x": 1.26875,
        "start_coordinate_y": 0.09259600000000001,
        "mid_coordinate_x": None,
        "mid_coordinate_y": None,
        "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": None,
        "serving_team": None,
        "receiving_team": None,
        "rally_number": None,
        "possesion_number": None
    }
]

Contributing

Please create an issue, fork and create a pull request.

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

openvolley_pydatavolley-0.1.4.tar.gz (40.2 kB view details)

Uploaded Source

Built Distribution

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

openvolley_pydatavolley-0.1.4-py3-none-any.whl (46.8 kB view details)

Uploaded Python 3

File details

Details for the file openvolley_pydatavolley-0.1.4.tar.gz.

File metadata

File hashes

Hashes for openvolley_pydatavolley-0.1.4.tar.gz
Algorithm Hash digest
SHA256 83d33a80acbaffb44f1c740b9768ad4a33db6cf32627b475d59c0b4e70755824
MD5 072f7c17237138b520a2af31d6c65c57
BLAKE2b-256 42c4babece7e153b56ca83817fa0b38000068e20c8100399ff7eeda24d56e031

See more details on using hashes here.

File details

Details for the file openvolley_pydatavolley-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for openvolley_pydatavolley-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6c26932f29e1f59a276ffd070326d0555310a02b1f846655964e2c9fb7903fa6
MD5 185b006cb246c80dba355726fc934b51
BLAKE2b-256 0f404b1621f5d188d6b3e313744122560a0f19fc72ddb33c9bee2fb45884c769

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