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.
- teams_transcripts-0.5.0/.gitignore +12 -0
- teams_transcripts-0.5.0/.gitlab-ci.yml +45 -0
- teams_transcripts-0.5.0/PKG-INFO +1438 -0
- teams_transcripts-0.5.0/README.md +1409 -0
- teams_transcripts-0.5.0/bin/teams-transcripts +15 -0
- teams_transcripts-0.5.0/bin/teams-transcripts-mcp +15 -0
- teams_transcripts-0.5.0/lefthook.yml +12 -0
- teams_transcripts-0.5.0/legacy/__init__.py +0 -0
- teams_transcripts-0.5.0/legacy/transcript_download.py +3969 -0
- teams_transcripts-0.5.0/pyproject.toml +118 -0
- teams_transcripts-0.5.0/pyrightconfig.json +6 -0
- teams_transcripts-0.5.0/scripts/verify_distribution.py +69 -0
- teams_transcripts-0.5.0/teams_transcripts/__init__.py +1 -0
- teams_transcripts-0.5.0/teams_transcripts/__main__.py +288 -0
- teams_transcripts-0.5.0/teams_transcripts/adapters/__init__.py +1 -0
- teams_transcripts-0.5.0/teams_transcripts/adapters/cdp/__init__.py +1 -0
- teams_transcripts-0.5.0/teams_transcripts/adapters/cdp/browser.py +196 -0
- teams_transcripts-0.5.0/teams_transcripts/adapters/cdp/connection.py +168 -0
- teams_transcripts-0.5.0/teams_transcripts/adapters/cdp/helpers.py +449 -0
- teams_transcripts-0.5.0/teams_transcripts/adapters/cdp/teams.py +463 -0
- teams_transcripts-0.5.0/teams_transcripts/adapters/vertex.py +274 -0
- teams_transcripts-0.5.0/teams_transcripts/domain/__init__.py +1 -0
- teams_transcripts-0.5.0/teams_transcripts/domain/chat.py +115 -0
- teams_transcripts-0.5.0/teams_transcripts/domain/html.py +126 -0
- teams_transcripts-0.5.0/teams_transcripts/domain/mcps.py +343 -0
- teams_transcripts-0.5.0/teams_transcripts/domain/models.py +531 -0
- teams_transcripts-0.5.0/teams_transcripts/domain/participants.py +292 -0
- teams_transcripts-0.5.0/teams_transcripts/domain/scoring.py +106 -0
- teams_transcripts-0.5.0/teams_transcripts/domain/speakers.py +130 -0
- teams_transcripts-0.5.0/teams_transcripts/domain/summary.py +266 -0
- teams_transcripts-0.5.0/teams_transcripts/domain/timestamps.py +350 -0
- teams_transcripts-0.5.0/teams_transcripts/domain/vtt.py +444 -0
- teams_transcripts-0.5.0/teams_transcripts/infrastructure/__init__.py +1 -0
- teams_transcripts-0.5.0/teams_transcripts/infrastructure/config.py +987 -0
- teams_transcripts-0.5.0/teams_transcripts/infrastructure/errors.py +120 -0
- teams_transcripts-0.5.0/teams_transcripts/infrastructure/logging.py +69 -0
- teams_transcripts-0.5.0/teams_transcripts/infrastructure/signals.py +143 -0
- teams_transcripts-0.5.0/teams_transcripts/mcp_server.py +818 -0
- teams_transcripts-0.5.0/teams_transcripts/ports/__init__.py +1 -0
- teams_transcripts-0.5.0/teams_transcripts/ports/agent.py +58 -0
- teams_transcripts-0.5.0/teams_transcripts/ports/browser.py +126 -0
- teams_transcripts-0.5.0/teams_transcripts/services/__init__.py +1 -0
- teams_transcripts-0.5.0/teams_transcripts/services/downloader.py +1283 -0
- teams_transcripts-0.5.0/teams_transcripts/services/extraction.py +1603 -0
- teams_transcripts-0.5.0/teams_transcripts/services/listing.py +826 -0
- teams_transcripts-0.5.0/teams_transcripts/services/navigation.py +1721 -0
- teams_transcripts-0.5.0/teams_transcripts/services/output.py +84 -0
- teams_transcripts-0.5.0/teams_transcripts/services/tenant.py +684 -0
- teams_transcripts-0.5.0/tests/conftest.py +141 -0
- teams_transcripts-0.5.0/tests/fakes/__init__.py +13 -0
- teams_transcripts-0.5.0/tests/fakes/agent.py +115 -0
- teams_transcripts-0.5.0/tests/fakes/browser.py +157 -0
- teams_transcripts-0.5.0/tests/test_adapters_cdp_browser.py +288 -0
- teams_transcripts-0.5.0/tests/test_adapters_cdp_connection.py +198 -0
- teams_transcripts-0.5.0/tests/test_adapters_cdp_helpers.py +248 -0
- teams_transcripts-0.5.0/tests/test_adapters_cdp_teams.py +511 -0
- teams_transcripts-0.5.0/tests/test_adapters_vertex.py +270 -0
- teams_transcripts-0.5.0/tests/test_append_chat.py +180 -0
- teams_transcripts-0.5.0/tests/test_build_result_summary.py +399 -0
- teams_transcripts-0.5.0/tests/test_cli_validation.py +289 -0
- teams_transcripts-0.5.0/tests/test_component_flags.py +639 -0
- teams_transcripts-0.5.0/tests/test_domain_mcps.py +655 -0
- teams_transcripts-0.5.0/tests/test_domain_models.py +488 -0
- teams_transcripts-0.5.0/tests/test_domain_participants.py +672 -0
- teams_transcripts-0.5.0/tests/test_env_vars.py +136 -0
- teams_transcripts-0.5.0/tests/test_error_json.py +122 -0
- teams_transcripts-0.5.0/tests/test_force_restart_cli.py +174 -0
- teams_transcripts-0.5.0/tests/test_infrastructure_config.py +539 -0
- teams_transcripts-0.5.0/tests/test_infrastructure_errors.py +185 -0
- teams_transcripts-0.5.0/tests/test_infrastructure_logging.py +122 -0
- teams_transcripts-0.5.0/tests/test_infrastructure_signals.py +274 -0
- teams_transcripts-0.5.0/tests/test_log_and_exit.py +238 -0
- teams_transcripts-0.5.0/tests/test_mcp_server.py +584 -0
- teams_transcripts-0.5.0/tests/test_merge_vtt_parts.py +251 -0
- teams_transcripts-0.5.0/tests/test_occurrence_matching.py +101 -0
- teams_transcripts-0.5.0/tests/test_parse_meeting_times.py +175 -0
- teams_transcripts-0.5.0/tests/test_parse_vtt_cues.py +316 -0
- teams_transcripts-0.5.0/tests/test_prepend_vtt_metadata.py +391 -0
- teams_transcripts-0.5.0/tests/test_regression_iframe_timing.py +546 -0
- teams_transcripts-0.5.0/tests/test_resolve_chat_author.py +93 -0
- teams_transcripts-0.5.0/tests/test_resolve_config.py +114 -0
- teams_transcripts-0.5.0/tests/test_safe_teams_restart.py +316 -0
- teams_transcripts-0.5.0/tests/test_search_scoring.py +126 -0
- teams_transcripts-0.5.0/tests/test_services_downloader.py +928 -0
- teams_transcripts-0.5.0/tests/test_services_extraction.py +1062 -0
- teams_transcripts-0.5.0/tests/test_services_listing.py +502 -0
- teams_transcripts-0.5.0/tests/test_services_navigation.py +1356 -0
- teams_transcripts-0.5.0/tests/test_services_tenant.py +846 -0
- teams_transcripts-0.5.0/tests/test_signal_handling.py +145 -0
- teams_transcripts-0.5.0/tests/test_speaker_mapping.py +136 -0
- teams_transcripts-0.5.0/tests/test_strip_html.py +315 -0
- teams_transcripts-0.5.0/tests/test_tenant_config.py +306 -0
- teams_transcripts-0.5.0/tests/test_timestamp_fill_and_discontinuity.py +258 -0
- teams_transcripts-0.5.0/tests/test_timestamp_utils.py +219 -0
- teams_transcripts-0.5.0/tests/test_verbose_dead_code.py +55 -0
- teams_transcripts-0.5.0/tests/test_verify_output.py +109 -0
- teams_transcripts-0.5.0/uv.lock +1391 -0
|
@@ -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/
|