Package that gathers information on given MLB games
Project description
mlbrecaps
A Python package for downloading Major League Baseball game highlights based on team and date.
Installation
pip install mlbrecaps
Usage The mlbrecaps package provides a simple function highlight_generator to download game highlights for a specified Major League Baseball team and date.
Basic Python Example:
from mlbrecaps import scripts, Team, Date
# Download highlights for the Minnesota Twins game on October 3rd, 2023
highlights = scripts.get_highlights(Team("MIN"), Date(10, 3, 2023))
# Handle all the highlights to a folder
highlights.download("/path/to/folder/", verbose=True)
Run directly from the terminal
If you have the mlbrecaps package installed, you can use the following command to download highlights directly from the terminal:
python -m mlbrecaps
This command will prompt you to enter the team three-letter abbreviation, game date, and path to a videos download directory for the desired highlights.
Examples
More examples are avaliable on Github.
Development
This package is under active development. Feel free to contribute by submitting pull requests!
Contributing
All contributions are welcomed to improve the mlbrecaps package. To contribute simply submit a pull request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mlbrecaps-0.0.1.tar.gz.
File metadata
- Download URL: mlbrecaps-0.0.1.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d5c81ef32a93c82171d1c13fd076970f24faeee1bd9a66fcae18fdde4594551
|
|
| MD5 |
1b6b5a61cac0b7c1cd2cb7f3d3adfee2
|
|
| BLAKE2b-256 |
f3f675488d3ad8e991776daa9f797ac1ae1145266f63b0fdcd573c0694024d33
|
File details
Details for the file mlbrecaps-0.0.1-py3-none-any.whl.
File metadata
- Download URL: mlbrecaps-0.0.1-py3-none-any.whl
- Upload date:
- Size: 15.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78dc4e91460437c5879e5c6a04ddcfa5d504797d8f81a7257d72761a11df8d4d
|
|
| MD5 |
ac9c77bb14ec4ac288da988e9f2fadd6
|
|
| BLAKE2b-256 |
1ced699372e475a1826a5df76a05b7e7e16f9bf808d11b147e1620bb91753421
|