OMDB API Python Wrapper v1.0.0 π
First official release! This release transforms the OMDB API wrapper into a professional, production-ready Python package.
π Quick Install
pip install https://github.com/stevenaubertin/omdb-api-python-wrapper/releases/download/v1.0.0/omdb-api-wrapper-1.0.0.tar.gzOr download the tarball and install:
pip install omdb-api-wrapper-1.0.0.tar.gz⨠Highlights
Package Features
- β Professional package structure - Proper Python package with clean imports
- β
Console script -
omdb-searchcommand available after installation - β Comprehensive tests - 40+ tests with 95%+ coverage
- β Code quality tools - Black, Flake8, isort, mypy all configured
- β Complete documentation - README, CLAUDE.md, and API docs
Installation & Usage
Setup:
pip install omdb-api-wrapper-1.0.0.tar.gz
cp .env.example .env
# Add your OMDB API key to .envCLI Usage:
omdb-search --search "The Matrix"
omdb-search --id tt0133093Python API:
from omdb_api import get_movie_by_id_or_title, search_movies
movie = get_movie_by_id_or_title(title="Inception")
results = search_movies("Batman", year=2008)π¦ What's Included
- Package: Source distribution (
.tar.gz) - Tests: 40+ comprehensive tests
- Docs: Complete user and developer documentation
- Tools: All code quality tools pre-configured
π§ Key Improvements
- Renamed to valid Python package name (
omdb_api) - Added comprehensive test suite with pytest
- Added packaging configuration (setup.py, pyproject.toml)
- Added code quality tools (Black, Flake8, isort, mypy)
- Added extensive documentation (CLAUDE.md v2.0.0)
- Fixed filename typo (result-example.json)
- Added console script entry point
π Documentation
- README.md - User guide with examples
- CLAUDE.md - Comprehensive development guide
- RELEASE_NOTES.md - Detailed release information
π§ͺ Testing
All tests passing with 95%+ coverage:
pytest --cov=omdb_apiβ οΈ Breaking Changes
- Directory renamed:
omdb-api/βomdb_api/ - Now requires proper installation (no longer just copy files)
- CLI usage changed to
omdb-searchcommand
π Requirements
- Python 3.7+
- requests>=2.31.0
- python-dotenv>=1.0.0
- OMDB API key (free at omdbapi.com)
π Links
Full Changelog: Initial release - all features are new!