teams-transcripts 0.5.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. teams_transcripts-0.5.0/.gitignore +12 -0
  2. teams_transcripts-0.5.0/.gitlab-ci.yml +45 -0
  3. teams_transcripts-0.5.0/PKG-INFO +1438 -0
  4. teams_transcripts-0.5.0/README.md +1409 -0
  5. teams_transcripts-0.5.0/bin/teams-transcripts +15 -0
  6. teams_transcripts-0.5.0/bin/teams-transcripts-mcp +15 -0
  7. teams_transcripts-0.5.0/lefthook.yml +12 -0
  8. teams_transcripts-0.5.0/legacy/__init__.py +0 -0
  9. teams_transcripts-0.5.0/legacy/transcript_download.py +3969 -0
  10. teams_transcripts-0.5.0/pyproject.toml +118 -0
  11. teams_transcripts-0.5.0/pyrightconfig.json +6 -0
  12. teams_transcripts-0.5.0/scripts/verify_distribution.py +69 -0
  13. teams_transcripts-0.5.0/teams_transcripts/__init__.py +1 -0
  14. teams_transcripts-0.5.0/teams_transcripts/__main__.py +288 -0
  15. teams_transcripts-0.5.0/teams_transcripts/adapters/__init__.py +1 -0
  16. teams_transcripts-0.5.0/teams_transcripts/adapters/cdp/__init__.py +1 -0
  17. teams_transcripts-0.5.0/teams_transcripts/adapters/cdp/browser.py +196 -0
  18. teams_transcripts-0.5.0/teams_transcripts/adapters/cdp/connection.py +168 -0
  19. teams_transcripts-0.5.0/teams_transcripts/adapters/cdp/helpers.py +449 -0
  20. teams_transcripts-0.5.0/teams_transcripts/adapters/cdp/teams.py +463 -0
  21. teams_transcripts-0.5.0/teams_transcripts/adapters/vertex.py +274 -0
  22. teams_transcripts-0.5.0/teams_transcripts/domain/__init__.py +1 -0
  23. teams_transcripts-0.5.0/teams_transcripts/domain/chat.py +115 -0
  24. teams_transcripts-0.5.0/teams_transcripts/domain/html.py +126 -0
  25. teams_transcripts-0.5.0/teams_transcripts/domain/mcps.py +343 -0
  26. teams_transcripts-0.5.0/teams_transcripts/domain/models.py +531 -0
  27. teams_transcripts-0.5.0/teams_transcripts/domain/participants.py +292 -0
  28. teams_transcripts-0.5.0/teams_transcripts/domain/scoring.py +106 -0
  29. teams_transcripts-0.5.0/teams_transcripts/domain/speakers.py +130 -0
  30. teams_transcripts-0.5.0/teams_transcripts/domain/summary.py +266 -0
  31. teams_transcripts-0.5.0/teams_transcripts/domain/timestamps.py +350 -0
  32. teams_transcripts-0.5.0/teams_transcripts/domain/vtt.py +444 -0
  33. teams_transcripts-0.5.0/teams_transcripts/infrastructure/__init__.py +1 -0
  34. teams_transcripts-0.5.0/teams_transcripts/infrastructure/config.py +987 -0
  35. teams_transcripts-0.5.0/teams_transcripts/infrastructure/errors.py +120 -0
  36. teams_transcripts-0.5.0/teams_transcripts/infrastructure/logging.py +69 -0
  37. teams_transcripts-0.5.0/teams_transcripts/infrastructure/signals.py +143 -0
  38. teams_transcripts-0.5.0/teams_transcripts/mcp_server.py +818 -0
  39. teams_transcripts-0.5.0/teams_transcripts/ports/__init__.py +1 -0
  40. teams_transcripts-0.5.0/teams_transcripts/ports/agent.py +58 -0
  41. teams_transcripts-0.5.0/teams_transcripts/ports/browser.py +126 -0
  42. teams_transcripts-0.5.0/teams_transcripts/services/__init__.py +1 -0
  43. teams_transcripts-0.5.0/teams_transcripts/services/downloader.py +1283 -0
  44. teams_transcripts-0.5.0/teams_transcripts/services/extraction.py +1603 -0
  45. teams_transcripts-0.5.0/teams_transcripts/services/listing.py +826 -0
  46. teams_transcripts-0.5.0/teams_transcripts/services/navigation.py +1721 -0
  47. teams_transcripts-0.5.0/teams_transcripts/services/output.py +84 -0
  48. teams_transcripts-0.5.0/teams_transcripts/services/tenant.py +684 -0
  49. teams_transcripts-0.5.0/tests/conftest.py +141 -0
  50. teams_transcripts-0.5.0/tests/fakes/__init__.py +13 -0
  51. teams_transcripts-0.5.0/tests/fakes/agent.py +115 -0
  52. teams_transcripts-0.5.0/tests/fakes/browser.py +157 -0
  53. teams_transcripts-0.5.0/tests/test_adapters_cdp_browser.py +288 -0
  54. teams_transcripts-0.5.0/tests/test_adapters_cdp_connection.py +198 -0
  55. teams_transcripts-0.5.0/tests/test_adapters_cdp_helpers.py +248 -0
  56. teams_transcripts-0.5.0/tests/test_adapters_cdp_teams.py +511 -0
  57. teams_transcripts-0.5.0/tests/test_adapters_vertex.py +270 -0
  58. teams_transcripts-0.5.0/tests/test_append_chat.py +180 -0
  59. teams_transcripts-0.5.0/tests/test_build_result_summary.py +399 -0
  60. teams_transcripts-0.5.0/tests/test_cli_validation.py +289 -0
  61. teams_transcripts-0.5.0/tests/test_component_flags.py +639 -0
  62. teams_transcripts-0.5.0/tests/test_domain_mcps.py +655 -0
  63. teams_transcripts-0.5.0/tests/test_domain_models.py +488 -0
  64. teams_transcripts-0.5.0/tests/test_domain_participants.py +672 -0
  65. teams_transcripts-0.5.0/tests/test_env_vars.py +136 -0
  66. teams_transcripts-0.5.0/tests/test_error_json.py +122 -0
  67. teams_transcripts-0.5.0/tests/test_force_restart_cli.py +174 -0
  68. teams_transcripts-0.5.0/tests/test_infrastructure_config.py +539 -0
  69. teams_transcripts-0.5.0/tests/test_infrastructure_errors.py +185 -0
  70. teams_transcripts-0.5.0/tests/test_infrastructure_logging.py +122 -0
  71. teams_transcripts-0.5.0/tests/test_infrastructure_signals.py +274 -0
  72. teams_transcripts-0.5.0/tests/test_log_and_exit.py +238 -0
  73. teams_transcripts-0.5.0/tests/test_mcp_server.py +584 -0
  74. teams_transcripts-0.5.0/tests/test_merge_vtt_parts.py +251 -0
  75. teams_transcripts-0.5.0/tests/test_occurrence_matching.py +101 -0
  76. teams_transcripts-0.5.0/tests/test_parse_meeting_times.py +175 -0
  77. teams_transcripts-0.5.0/tests/test_parse_vtt_cues.py +316 -0
  78. teams_transcripts-0.5.0/tests/test_prepend_vtt_metadata.py +391 -0
  79. teams_transcripts-0.5.0/tests/test_regression_iframe_timing.py +546 -0
  80. teams_transcripts-0.5.0/tests/test_resolve_chat_author.py +93 -0
  81. teams_transcripts-0.5.0/tests/test_resolve_config.py +114 -0
  82. teams_transcripts-0.5.0/tests/test_safe_teams_restart.py +316 -0
  83. teams_transcripts-0.5.0/tests/test_search_scoring.py +126 -0
  84. teams_transcripts-0.5.0/tests/test_services_downloader.py +928 -0
  85. teams_transcripts-0.5.0/tests/test_services_extraction.py +1062 -0
  86. teams_transcripts-0.5.0/tests/test_services_listing.py +502 -0
  87. teams_transcripts-0.5.0/tests/test_services_navigation.py +1356 -0
  88. teams_transcripts-0.5.0/tests/test_services_tenant.py +846 -0
  89. teams_transcripts-0.5.0/tests/test_signal_handling.py +145 -0
  90. teams_transcripts-0.5.0/tests/test_speaker_mapping.py +136 -0
  91. teams_transcripts-0.5.0/tests/test_strip_html.py +315 -0
  92. teams_transcripts-0.5.0/tests/test_tenant_config.py +306 -0
  93. teams_transcripts-0.5.0/tests/test_timestamp_fill_and_discontinuity.py +258 -0
  94. teams_transcripts-0.5.0/tests/test_timestamp_utils.py +219 -0
  95. teams_transcripts-0.5.0/tests/test_verbose_dead_code.py +55 -0
  96. teams_transcripts-0.5.0/tests/test_verify_output.py +109 -0
  97. teams_transcripts-0.5.0/uv.lock +1391 -0
@@ -0,0 +1,12 @@
1
+ __pycache__
2
+ .claude
3
+ .git
4
+ .ruff_cache
5
+ .venv
6
+ .opencode
7
+
8
+ # Regression tests and fixtures (contain real meeting data; generated on demand)
9
+ tests/regression/
10
+
11
+ # Spike scripts (exploratory, not production code)
12
+ spikes/
@@ -0,0 +1,45 @@
1
+ stages:
2
+ - verify
3
+ - package
4
+
5
+ default:
6
+ image: ghcr.io/astral-sh/uv:python3.13-bookworm-slim
7
+ variables:
8
+ UV_CACHE_DIR: "$CI_PROJECT_DIR/.uv-cache"
9
+ cache:
10
+ key:
11
+ files:
12
+ - uv.lock
13
+ paths:
14
+ - .uv-cache/
15
+ verify:
16
+ stage: verify
17
+ parallel:
18
+ matrix:
19
+ - PYTHON_VERSION: ["3.10", "3.13"]
20
+ script:
21
+ - uv sync --all-groups --locked --python "$PYTHON_VERSION"
22
+ - uv run --python "$PYTHON_VERSION" pytest tests --ignore=tests/regression
23
+ - uv run --python "$PYTHON_VERSION" ruff check teams_transcripts legacy tests scripts
24
+ - uv run --python "$PYTHON_VERSION" ruff format --check teams_transcripts legacy tests scripts
25
+ - uv run --python "$PYTHON_VERSION" ty check --error-on-warning teams_transcripts legacy tests scripts
26
+
27
+ package:
28
+ stage: package
29
+ script:
30
+ - uv sync --all-groups --locked
31
+ - uv build
32
+ - uv run python scripts/verify_distribution.py dist
33
+ - uv venv /tmp/teams-transcripts-smoke
34
+ - uv pip install --python /tmp/teams-transcripts-smoke/bin/python dist/*.whl
35
+ - /tmp/teams-transcripts-smoke/bin/teams-transcripts --help
36
+ - /tmp/teams-transcripts-smoke/bin/teams-transcripts-mcp --help
37
+ - /tmp/teams-transcripts-smoke/bin/transcript-download --help
38
+ - |
39
+ if [ -n "${CI_COMMIT_TAG:-}" ]; then
40
+ package_version="$(/tmp/teams-transcripts-smoke/bin/python -c 'from importlib.metadata import version; print(version("teams-transcripts"))')"
41
+ test "$CI_COMMIT_TAG" = "v$package_version"
42
+ fi
43
+ artifacts:
44
+ paths:
45
+ - dist/