earningscall 0.0.21__tar.gz → 0.0.23__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.
- {earningscall-0.0.21 → earningscall-0.0.23}/CHANGELOG.md +10 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/DEVELOPMENT.md +8 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/PKG-INFO +38 -2
- {earningscall-0.0.21 → earningscall-0.0.23}/README.md +37 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/earningscall/api.py +13 -2
- {earningscall-0.0.21 → earningscall-0.0.23}/earningscall/company.py +3 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/earningscall/transcript.py +10 -1
- {earningscall-0.0.21 → earningscall-0.0.23}/hatch.toml +1 -1
- {earningscall-0.0.21 → earningscall-0.0.23}/pyproject.toml +4 -1
- {earningscall-0.0.21 → earningscall-0.0.23}/scripts/download_audio_files.py +6 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/scripts/download_sp500_audio_files.py +6 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/scripts/get_single_transcript.py +10 -2
- earningscall-0.0.23/tests/data/aapl-q1-2022-speaker-name-map-v2.yaml +643 -0
- earningscall-0.0.23/tests/test_errors.py +14 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/test_get_transcript.py +54 -5
- {earningscall-0.0.21 → earningscall-0.0.23}/.github/workflows/release.yml +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/.github/workflows/test.yml +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/.gitignore +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/.python-version +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/LICENSE +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/TODO.md +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/earningscall/__init__.py +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/earningscall/errors.py +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/earningscall/event.py +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/earningscall/exports.py +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/earningscall/sectors.py +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/earningscall/symbols.py +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/earningscall/utils.py +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/scripts/download_single_audio_file.py +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/scripts/get_all_company_transcripts.py +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/scripts/list_companies.py +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/setup.cfg +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/data/aapl-q1-2022-advanced-data-level-2.yaml +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/data/aapl-q1-2022-advanced-data-level-3.yaml +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/data/aapl-q1-2022-advanced-data-level-4.yaml +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/data/aapl-q1-2030-not-authorized-l2.yaml +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/data/aapl-q1-2030-not-authorized.yaml +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/data/aapl-q1-2030-not-found.yaml +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/data/aapl-q1-2030-server-error.yaml +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/data/demo-symbols-v2-alpha.yaml +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/data/demo-symbols-v2.yaml +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/data/meta-q3-2024-not-authorized.yaml +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/data/meta-q3-2024-not-found.yaml +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/data/meta-q3-2024-other-error.yaml +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/data/msft-company-events.yaml +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/data/msft-q1-2022-audio-file-short-clip.yaml +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/data/msft-transcript-response.yaml +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/data/sp500-company-list-failed.yaml +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/data/sp500-company-list.yaml +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/data/symbols-v2-missing-edge-cases.yaml +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/data/symbols-v2.yaml +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/data/symbols.txt +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/data/symbols.yaml +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/test_company.py +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/test_download_audio_files.py +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/test_earnings_event.py +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/test_exports.py +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/test_get_company_events.py +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/test_get_sp500_companies_api.py +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/test_helper.py +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/test_responses_mocking.py +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/test_sectors.py +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/test_symbols.py +0 -0
- {earningscall-0.0.21 → earningscall-0.0.23}/tests/test_utils.py +0 -0
@@ -1,3 +1,13 @@
|
|
1
|
+
## Release `0.0.23` - 2024-11-24
|
2
|
+
|
3
|
+
* Allow `None` for optional fields in SpeakerInfo data structure.
|
4
|
+
* Update logging format for API calls.
|
5
|
+
* Update logging level to DEBUG in unit tests.
|
6
|
+
|
7
|
+
## Release `0.0.22` - 2024-10-07
|
8
|
+
|
9
|
+
* Add **experimental feature**: Speaker Names and Titles
|
10
|
+
|
1
11
|
## Release `0.0.21` - 2024-10-07
|
2
12
|
|
3
13
|
* Bump version for PyPI release: updated README docs.
|
@@ -1,5 +1,13 @@
|
|
1
1
|
# Development
|
2
2
|
|
3
|
+
The instructions on this page are meant for library contributors.
|
4
|
+
If you are interested in contributing to this project, read on.
|
5
|
+
Otherwise, if you are simply wanting to get EarningsCalls Transcripts or Audio Files,
|
6
|
+
please read the [README page](README.md) to get started.
|
7
|
+
|
8
|
+
|
9
|
+
## Getting Started
|
10
|
+
|
3
11
|
First, install Hatch plus other build dependencies. See the Hatch [installation instructions](https://hatch.pypa.io/latest/install/).
|
4
12
|
|
5
13
|
My preferred way to install it is to use `pip`:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: earningscall
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.23
|
4
4
|
Summary: The EarningsCall Python library provides convenient access to the EarningsCall API. It includes a pre-defined set of classes for API resources that initialize themselves dynamically from API responses.
|
5
5
|
Project-URL: Homepage, https://earningscall.biz
|
6
6
|
Project-URL: Documentation, https://github.com/EarningsCall/earningscall-python
|
@@ -30,7 +30,6 @@ License: MIT License
|
|
30
30
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
31
31
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
32
32
|
SOFTWARE.
|
33
|
-
License-File: LICENSE
|
34
33
|
Keywords: earning call app,earnings call,earnings call api,earnings call app,earnings call transcript api,earnings call transcripts,earnings call transcripts api,earnings calls,earnings transcript api,listen to earnings calls,transcripts,where to listen to earnings calls
|
35
34
|
Classifier: Development Status :: 3 - Alpha
|
36
35
|
Classifier: Intended Audience :: Developers
|
@@ -95,6 +94,8 @@ Apple Inc. Q3 2021 Transcript Text: "Good day, and welcome to the Apple Q3 FY 20
|
|
95
94
|
|
96
95
|
|
97
96
|
```python
|
97
|
+
from datetime import datetime
|
98
|
+
|
98
99
|
from earningscall import get_company
|
99
100
|
|
100
101
|
company = get_company("aapl") # Lookup Apple, Inc by its ticker symbol, "AAPL"
|
@@ -102,6 +103,9 @@ company = get_company("aapl") # Lookup Apple, Inc by its ticker symbol, "AAPL"
|
|
102
103
|
print(f"Getting all transcripts for: {company}..")
|
103
104
|
# Retrieve all earnings conference call events for a company, and iterate through each one
|
104
105
|
for event in company.events():
|
106
|
+
if datetime.now().timestamp() < event.conference_date.timestamp():
|
107
|
+
print(f"* {company.company_info.symbol} Q{event.quarter} {event.year} -- skipping, conference date in the future")
|
108
|
+
continue
|
105
109
|
transcript = company.get_transcript(event=event) # Fetch the earnings call transcript for this event
|
106
110
|
print(f"* Q{event.quarter} {event.year}")
|
107
111
|
if transcript:
|
@@ -153,6 +157,38 @@ Speaker: spk11
|
|
153
157
|
Text: Good day, and welcome to the Apple Q3 FY 2021 Earnings Conference Call. Today's call is being recorded. At this time, for opening remarks and introductions, I would like to turn the call over to Tejas Ghala, Director, Investor Relations and Corporate Finance. Please go ahead.
|
154
158
|
```
|
155
159
|
|
160
|
+
|
161
|
+
## Get Text by Speaker with Speaker Name and Title
|
162
|
+
|
163
|
+
NOTE: This is a new experimental feature. It includes Speaker Names and Titles.
|
164
|
+
|
165
|
+
```python
|
166
|
+
from earningscall import get_company
|
167
|
+
|
168
|
+
company = get_company("aapl") # Lookup Apple, Inc by its ticker symbol, "AAPL"
|
169
|
+
|
170
|
+
transcript = company.get_transcript(year=2021, quarter=3, level=2)
|
171
|
+
|
172
|
+
speaker = transcript.speakers[1] # Get second speaker
|
173
|
+
speaker_label = speaker.speaker_info.name
|
174
|
+
text = speaker.text
|
175
|
+
print("Speaker:")
|
176
|
+
print(f" Name: {speaker.speaker_info.name}")
|
177
|
+
print(f" Title: {speaker.speaker_info.title}")
|
178
|
+
print()
|
179
|
+
print(f"Text: {text}")
|
180
|
+
```
|
181
|
+
|
182
|
+
Output
|
183
|
+
|
184
|
+
```text
|
185
|
+
Speaker:
|
186
|
+
Name: Tejas Ghala
|
187
|
+
Title: Director, Investor Relations and Corporate Finance
|
188
|
+
|
189
|
+
Text: Thank you. Good afternoon, and thank you for joining us. Speaking first today is Apple CEO Tim Cook, and he'll be followed by CFO Luca Maestri. After that, we'll open the call to questions from analysts. Please note that some of the information you'll hear during our discussion today will consist of forward-looking statements, including without limitation, those regarding revenue, gross margin, operating expenses, other income and expenses, taxes, capital allocation, and future business outlook, including the potential impact of COVID-19 on the company's business and results of operations. These statements involve risks and uncertainties that may cause actual results or trends to differ materially from our forecast. For more information, please refer to the risk factors discussed in Apple's most recently filed annual report on Form 10-K and the Form 8-K filed with the SEC today, along with the associated press release. Apple assumes no obligation to update any forward-looking statements or information which speak as of their respective dates. I'd like to now turn the call over to Tim for introductory remarks.
|
190
|
+
```
|
191
|
+
|
156
192
|
## Get Word-Level Timestamps
|
157
193
|
|
158
194
|
If you want to get the word-level timestamps, you can do so by setting the `level` parameter to `3`.
|
@@ -44,6 +44,8 @@ Apple Inc. Q3 2021 Transcript Text: "Good day, and welcome to the Apple Q3 FY 20
|
|
44
44
|
|
45
45
|
|
46
46
|
```python
|
47
|
+
from datetime import datetime
|
48
|
+
|
47
49
|
from earningscall import get_company
|
48
50
|
|
49
51
|
company = get_company("aapl") # Lookup Apple, Inc by its ticker symbol, "AAPL"
|
@@ -51,6 +53,9 @@ company = get_company("aapl") # Lookup Apple, Inc by its ticker symbol, "AAPL"
|
|
51
53
|
print(f"Getting all transcripts for: {company}..")
|
52
54
|
# Retrieve all earnings conference call events for a company, and iterate through each one
|
53
55
|
for event in company.events():
|
56
|
+
if datetime.now().timestamp() < event.conference_date.timestamp():
|
57
|
+
print(f"* {company.company_info.symbol} Q{event.quarter} {event.year} -- skipping, conference date in the future")
|
58
|
+
continue
|
54
59
|
transcript = company.get_transcript(event=event) # Fetch the earnings call transcript for this event
|
55
60
|
print(f"* Q{event.quarter} {event.year}")
|
56
61
|
if transcript:
|
@@ -102,6 +107,38 @@ Speaker: spk11
|
|
102
107
|
Text: Good day, and welcome to the Apple Q3 FY 2021 Earnings Conference Call. Today's call is being recorded. At this time, for opening remarks and introductions, I would like to turn the call over to Tejas Ghala, Director, Investor Relations and Corporate Finance. Please go ahead.
|
103
108
|
```
|
104
109
|
|
110
|
+
|
111
|
+
## Get Text by Speaker with Speaker Name and Title
|
112
|
+
|
113
|
+
NOTE: This is a new experimental feature. It includes Speaker Names and Titles.
|
114
|
+
|
115
|
+
```python
|
116
|
+
from earningscall import get_company
|
117
|
+
|
118
|
+
company = get_company("aapl") # Lookup Apple, Inc by its ticker symbol, "AAPL"
|
119
|
+
|
120
|
+
transcript = company.get_transcript(year=2021, quarter=3, level=2)
|
121
|
+
|
122
|
+
speaker = transcript.speakers[1] # Get second speaker
|
123
|
+
speaker_label = speaker.speaker_info.name
|
124
|
+
text = speaker.text
|
125
|
+
print("Speaker:")
|
126
|
+
print(f" Name: {speaker.speaker_info.name}")
|
127
|
+
print(f" Title: {speaker.speaker_info.title}")
|
128
|
+
print()
|
129
|
+
print(f"Text: {text}")
|
130
|
+
```
|
131
|
+
|
132
|
+
Output
|
133
|
+
|
134
|
+
```text
|
135
|
+
Speaker:
|
136
|
+
Name: Tejas Ghala
|
137
|
+
Title: Director, Investor Relations and Corporate Finance
|
138
|
+
|
139
|
+
Text: Thank you. Good afternoon, and thank you for joining us. Speaking first today is Apple CEO Tim Cook, and he'll be followed by CFO Luca Maestri. After that, we'll open the call to questions from analysts. Please note that some of the information you'll hear during our discussion today will consist of forward-looking statements, including without limitation, those regarding revenue, gross margin, operating expenses, other income and expenses, taxes, capital allocation, and future business outlook, including the potential impact of COVID-19 on the company's business and results of operations. These statements involve risks and uncertainties that may cause actual results or trends to differ materially from our forecast. For more information, please refer to the risk factors discussed in Apple's most recently filed annual report on Form 10-K and the Form 8-K filed with the SEC today, along with the associated press release. Apple assumes no obligation to update any forward-looking statements or information which speak as of their respective dates. I'd like to now turn the call over to Tim for introductory remarks.
|
140
|
+
```
|
141
|
+
|
105
142
|
## Get Word-Level Timestamps
|
106
143
|
|
107
144
|
If you want to get the word-level timestamps, you can do so by setting the `level` parameter to `3`.
|
@@ -1,6 +1,8 @@
|
|
1
1
|
import importlib
|
2
|
+
import urllib.parse
|
2
3
|
import logging
|
3
4
|
import os
|
5
|
+
from importlib.metadata import PackageNotFoundError
|
4
6
|
from typing import Optional
|
5
7
|
|
6
8
|
import requests
|
@@ -46,8 +48,15 @@ def purge_cache():
|
|
46
48
|
return cache_session().cache.clear()
|
47
49
|
|
48
50
|
|
51
|
+
def get_earnings_call_version():
|
52
|
+
try:
|
53
|
+
return importlib.metadata.version("earningscall")
|
54
|
+
except PackageNotFoundError:
|
55
|
+
return None
|
56
|
+
|
57
|
+
|
49
58
|
def get_headers():
|
50
|
-
earnings_call_version =
|
59
|
+
earnings_call_version = get_earnings_call_version()
|
51
60
|
return {
|
52
61
|
"User-Agent": f"EarningsCall Python/{earnings_call_version}",
|
53
62
|
"X-EarningsCall-Version": earnings_call_version,
|
@@ -75,7 +84,9 @@ def do_get(
|
|
75
84
|
**kwargs.get("params", {}),
|
76
85
|
}
|
77
86
|
url = f"{API_BASE}/{path}"
|
78
|
-
log.
|
87
|
+
if log.isEnabledFor(logging.DEBUG):
|
88
|
+
full_url = f"{url}?{urllib.parse.urlencode(params)}"
|
89
|
+
log.debug(f"GET: {full_url}")
|
79
90
|
if use_cache and earningscall.enable_requests_cache:
|
80
91
|
return cache_session().get(url, params=params)
|
81
92
|
else:
|
@@ -92,6 +92,9 @@ class Company:
|
|
92
92
|
transcript.text = " ".join(map(lambda spk: spk.text, transcript.speakers))
|
93
93
|
elif level == 4:
|
94
94
|
transcript.text = " ".join([transcript.prepared_remarks, transcript.questions_and_answers])
|
95
|
+
if transcript.speaker_name_map_v2:
|
96
|
+
for speaker in transcript.speakers:
|
97
|
+
speaker.speaker_info = transcript.speaker_name_map_v2.get(speaker.speaker)
|
95
98
|
return transcript
|
96
99
|
except requests.exceptions.HTTPError as error:
|
97
100
|
if error.response.status_code == 404:
|
@@ -1,15 +1,23 @@
|
|
1
1
|
from dataclasses import dataclass, field
|
2
|
-
from typing import List, Optional
|
2
|
+
from typing import List, Optional, Dict
|
3
3
|
|
4
4
|
from dataclasses_json import dataclass_json
|
5
5
|
|
6
6
|
from earningscall.event import EarningsEvent
|
7
7
|
|
8
8
|
|
9
|
+
@dataclass_json
|
10
|
+
@dataclass
|
11
|
+
class SpeakerInfo:
|
12
|
+
name: Optional[str] = field(default=None)
|
13
|
+
title: Optional[str] = field(default=None)
|
14
|
+
|
15
|
+
|
9
16
|
@dataclass_json
|
10
17
|
@dataclass
|
11
18
|
class Speaker:
|
12
19
|
speaker: str
|
20
|
+
speaker_info: Optional[SpeakerInfo] = field(default=None)
|
13
21
|
text: Optional[str] = field(default=None)
|
14
22
|
words: Optional[List[str]] = field(default=None)
|
15
23
|
start_times: Optional[List[float]] = field(default=None)
|
@@ -23,3 +31,4 @@ class Transcript:
|
|
23
31
|
speakers: Optional[List[Speaker]] = field(default=None)
|
24
32
|
prepared_remarks: Optional[str] = field(default=None)
|
25
33
|
questions_and_answers: Optional[str] = field(default=None)
|
34
|
+
speaker_name_map_v2: Optional[Dict[str, SpeakerInfo]] = field(default=None)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "earningscall"
|
3
|
-
version = "0.0.
|
3
|
+
version = "0.0.23"
|
4
4
|
description = "The EarningsCall Python library provides convenient access to the EarningsCall API. It includes a pre-defined set of classes for API resources that initialize themselves dynamically from API responses."
|
5
5
|
readme = "README.md"
|
6
6
|
authors = [
|
@@ -161,3 +161,6 @@ exclude_lines = [
|
|
161
161
|
"if __name__ == .__main__.:",
|
162
162
|
"if TYPE_CHECKING:",
|
163
163
|
]
|
164
|
+
|
165
|
+
[tool.pytest.ini_options]
|
166
|
+
log_level = "DEBUG"
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import argparse
|
2
|
+
from datetime import datetime
|
2
3
|
import os
|
3
4
|
|
4
5
|
import earningscall # noqa: F401
|
@@ -26,6 +27,11 @@ os.makedirs(directory, exist_ok=True)
|
|
26
27
|
def download_audio_files(company: Company):
|
27
28
|
print(f"Downloading all audio files for: {company}..")
|
28
29
|
for event in company.events():
|
30
|
+
if datetime.now().timestamp() < event.conference_date.timestamp():
|
31
|
+
print(
|
32
|
+
f"* {company.company_info.symbol} Q{event.quarter} {event.year} -- skipping, conference date in the future"
|
33
|
+
)
|
34
|
+
continue
|
29
35
|
file_name = os.path.join(
|
30
36
|
directory,
|
31
37
|
f"{company.company_info.exchange}_{company.company_info.symbol}_{event.year}_Q{event.quarter}.mp3",
|
@@ -1,3 +1,4 @@
|
|
1
|
+
from datetime import datetime
|
1
2
|
import os
|
2
3
|
|
3
4
|
import earningscall # noqa: F401
|
@@ -14,6 +15,11 @@ os.makedirs(directory, exist_ok=True)
|
|
14
15
|
def download_audio_files(company: Company):
|
15
16
|
print(f"Downloading all audio files for: {company}..")
|
16
17
|
for event in company.events():
|
18
|
+
if datetime.now().timestamp() < event.conference_date.timestamp():
|
19
|
+
print(
|
20
|
+
f"* {company.company_info.symbol} Q{event.quarter} {event.year} -- skipping, conference date in the future"
|
21
|
+
)
|
22
|
+
continue
|
17
23
|
file_name = os.path.join(
|
18
24
|
directory,
|
19
25
|
f"{company.company_info.exchange}_{company.company_info.symbol}_{event.year}_Q{event.quarter}.mp3",
|
@@ -9,5 +9,13 @@ from earningscall import get_company
|
|
9
9
|
|
10
10
|
company = get_company("aapl")
|
11
11
|
|
12
|
-
transcript = company.get_transcript(year=2021, quarter=3, level=
|
13
|
-
|
12
|
+
transcript = company.get_transcript(year=2021, quarter=3, level=2)
|
13
|
+
|
14
|
+
speaker = transcript.speakers[1]
|
15
|
+
speaker_label = speaker.speaker_info.name
|
16
|
+
text = speaker.text
|
17
|
+
print("Speaker:")
|
18
|
+
print(f" Name: {speaker.speaker_info.name}")
|
19
|
+
print(f" Title: {speaker.speaker_info.title}")
|
20
|
+
print()
|
21
|
+
print(f"Text: {text}")
|