You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Convert stb-reader to pure Python library with PyPI publishing (#45)
* Add planning spec for converting stb-reader to a pure library
Breaks down the work into 5 ordered tasks: delete server/, clean tests,
update pyproject.toml, expand public __init__.py API, and verify green.
https://claude.ai/code/session_011WN3SkmW7duyeJNjL9cXzC
* Update library-only plan to include PyPI publishing tasks
Adds Task 5 (PyPI metadata + README), Task 6 (GitHub Actions publish
workflow on v* tags via uv publish), and renumbers verify step to Task 7.
https://claude.ai/code/session_011WN3SkmW7duyeJNjL9cXzC
* Add requirements spec for library-only conversion
Covers functional requirements, success criteria, project structure
after removal, testing strategy, and PyPI publish workflow spec.
https://claude.ai/code/session_011WN3SkmW7duyeJNjL9cXzC
* Convert stb-reader to a pure Python library with PyPI publishing
- Remove server/ FastAPI app, Dockerfile, docker-compose, and all infra files
- Remove server-only tests; strip server-route tests from test_vod.py
- Expand stb_reader/__init__.py to export all models and exceptions
- Update pyproject.toml: drop server deps, add full PyPI metadata
- Add README.md with installation and quick-start example
- Add MIT LICENSE
- Add .github/workflows/publish.yml: publishes to PyPI on v* tag via uv publish
- Update AGENTS.md to reflect library-only structure
All 45 tests pass. Runtime dependency: requests only.
https://claude.ai/code/session_011WN3SkmW7duyeJNjL9cXzC
* Add documentation plan spec (013)
Plans 9-task documentation effort: 7 user-facing guide files under
docs/guide/, a complete API reference, and README updates.
https://claude.ai/code/session_011WN3SkmW7duyeJNjL9cXzC
* Add requirements spec for documentation (013)
8 functional requirements covering all guide files, NFRs for
code validity and consistency, and 8 measurable success criteria.
https://claude.ai/code/session_011WN3SkmW7duyeJNjL9cXzC
* Add extensive user-facing documentation (013)
Creates docs/guide/ with 8 comprehensive guides:
- getting-started.md — install, STBClient params, first call
- authentication.md — authenticate(), auto-reauth, AuthError
- live-tv.md — all ITVService methods, Genre/Channel models
- vod.md — movie VOD methods, Category/Content models
- series.md — full nav path: content→seasons→episodes→files→stream
- pagination.md — PagedResult, fetch-all-pages pattern, pacing
- error-handling.md — all 4 exceptions, handling patterns, retry example
- api-reference.md — exhaustive reference for every method, model, exception
Also: adds Documentation section to README.md, deletes stale docs/library.md.
https://claude.ai/code/session_011WN3SkmW7duyeJNjL9cXzC
---------
Co-authored-by: Claude <noreply@anthropic.com>