mlbrecaps
mlbrecaps is a Python library for querying and retrieving highlight videos and play information from Major League Baseball (MLB) games. It provides a simple interface to access game recaps, top plays, and player highlights programmatically.
Features
- Query highlight videos for specific MLB games
- Retrieve top plays for a given day, month, or year
- Get player-specific highlight clips
- Easily integrate with your own Python scripts
Installation
You can install mlbrecaps directly from PyPI using pip:
pip install mlbrecaps
Install from Source
-
Clone the repository:
git clone https://github.com/yourusername/mlbrecaps.git cd mlbrecaps
-
Install dependencies with uv:
uv pip install -e .
This will install the package in editable mode along with all required dependencies.
Example Scripts
The examples/ directory contains ready-to-run scripts:
examples/top_player_plays.py— Get top plays for a playerexamples/top_plays_of_month.py— Get top plays for a monthexamples/top_plays_of_year.py— Get top plays for a year
Run an example with:
python examples/top_player_plays.py
Contributing
Contributions are welcome! To contribute:
- Fork the repository and create your branch.
- Make your changes and add tests if applicable.
- Ensure code style and formatting are consistent.
- Submit a pull request with a clear description of your changes.
License
This project is open source and available under the MIT License.
Metadata
Release files for mlbrecaps 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 | |
|---|---|---|---|
| mlbrecaps-0.1.2.tar.gz | 12.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mlbrecaps-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.8 kB
Release files / mlbrecaps-0.1.2.tar.gz
| Download URL | mlbrecaps-0.1.2.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d3edd723ee761c08c764b6691be5930d4c89e723ae9ec513cc5f54bd53e12763
|
|
BLAKE2b-256 checksum How to use checksums |
48a55d00b8c419561d1bc4711bd485e2f10d3adb877ff975667fb502dfacb1a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 28, 2026.
Transparency logRelease files / mlbrecaps-0.1.2-py3-none-any.whl
| Download URL | mlbrecaps-0.1.2-py3-none-any.whl |
|---|---|
| Size | 14.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
32c7ec0a02f1a31b3f28879cc11b1b142e777bcdb7bc2a29d3f5b4374533072e
|
|
BLAKE2b-256 checksum How to use checksums |
0c34e67429278a56dfd3e8c876fdf97919d3745943e7690c4a7787b2c77058f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 28, 2026.
Transparency log