earningscall 0.0.5__py3-none-any.whl → 0.0.6__py3-none-any.whl

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/company.py CHANGED
@@ -30,6 +30,8 @@ class Company:
30
30
 
31
31
  def _get_events(self):
32
32
  raw_response = api.get_events(self.company_info.exchange, self.company_info.symbol)
33
+ if not raw_response:
34
+ return []
33
35
  return [EarningsEvent.from_dict(event) for event in raw_response["events"]]
34
36
 
35
37
  def events(self) -> [EarningsEvent]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: earningscall
3
- Version: 0.0.5
3
+ Version: 0.0.6
4
4
  Summary: The EarningsCall Python library.
5
5
  Project-URL: Homepage, https://earningscall.biz
6
6
  Project-URL: Documentation, https://github.com/EarningsCall/earningscall-python
@@ -13,7 +13,6 @@ License-File: LICENSE
13
13
  Requires-Python: >=3.8
14
14
  Requires-Dist: dataclasses-json>=0.6.4
15
15
  Requires-Dist: dataclasses>=0.6
16
- Requires-Dist: more-itertools>=10.0.0
17
16
  Requires-Dist: requests>=2.30.0
18
17
  Description-Content-Type: text/markdown
19
18
 
@@ -108,7 +107,7 @@ for company in get_all_companies():
108
107
 
109
108
  By default, this library grants you access to only two companies, Apple Inc. and Microsoft, Inc.
110
109
 
111
- To gain access 5,000+ companies please [signup here](https://earningscall.biz/api-pricing) to get your API key.
110
+ To gain access to 5,000+ companies please [signup here](https://earningscall.biz/api-pricing) to get your API key.
112
111
 
113
112
  Once you have access to your API key, you can set the API Key like this:
114
113
 
@@ -1,6 +1,6 @@
1
1
  earningscall/__init__.py,sha256=Hfh2BCnihAqfWV9niZrlfHmTNuL5tEKTW37bAXGLrF0,119
2
2
  earningscall/api.py,sha256=_RnCSaZSUZJPvr_SiEk7YJZ8tkP9buLDQKReTWOZEPk,1749
3
- earningscall/company.py,sha256=Xi5kJPt14mLD7nTC8KEQhnJjRktmxb7pWMVdVUQ1TH0,1714
3
+ earningscall/company.py,sha256=VyiHOajDBAx-G6dgWrPBUwWKjDpBvb0moZIpULPmiKA,1765
4
4
  earningscall/errors.py,sha256=YTLkbhzWT_AURRL1IMlkkAKUiIW1L4V9Qh99bZnOtd8,488
5
5
  earningscall/event.py,sha256=a5mcyfuCqPCopcKQUZ1HJyqHfAf-RNKnux_o68DIUHM,689
6
6
  earningscall/exports.py,sha256=EfuxNiKnLktlD4ZtBm89qwfKRgKXh3C7bjleEhvBhzQ,590
@@ -8,7 +8,7 @@ earningscall/sectors.py,sha256=9aw14krRzdLJSTFC72Nwk3MQaXAIgkTBk5S-KTiki3U,5946
8
8
  earningscall/symbols.py,sha256=fvqjnCbSAwfZB1dUrBUZFmJQ8C8V9uDzR0_C9RXMfIs,7722
9
9
  earningscall/transcript.py,sha256=gV0Pqc9iilg4QQc89-ADEIcFQkQhFSnsJo8rvF7zKp0,192
10
10
  earningscall/utils.py,sha256=wfwlSgFPPxr3GsFAsTjDNg_mLLK9V6p_2CwfetN5RR0,454
11
- earningscall-0.0.5.dist-info/METADATA,sha256=p-Ps1OB2QmIssJMvS70roI6ElbGqumOhJK1z0gAMubM,4241
12
- earningscall-0.0.5.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
13
- earningscall-0.0.5.dist-info/licenses/LICENSE,sha256=ktEB_UcRMg2cQlX9wiDs544xWncWizwS9mEZuGsCLrM,1069
14
- earningscall-0.0.5.dist-info/RECORD,,
11
+ earningscall-0.0.6.dist-info/METADATA,sha256=L-e9p7VEpoYTJ8kHvu49XgSU5TjB4Tjhr3KSxGE5BJo,4206
12
+ earningscall-0.0.6.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
13
+ earningscall-0.0.6.dist-info/licenses/LICENSE,sha256=ktEB_UcRMg2cQlX9wiDs544xWncWizwS9mEZuGsCLrM,1069
14
+ earningscall-0.0.6.dist-info/RECORD,,