laplace-python-sdk 1.5.0__tar.gz → 1.5.1__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 (29) hide show
  1. {laplace_python_sdk-1.5.0/src/laplace_python_sdk.egg-info → laplace_python_sdk-1.5.1}/PKG-INFO +1 -1
  2. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1}/pyproject.toml +3 -3
  3. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1}/src/laplace/models.py +6 -7
  4. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1/src/laplace_python_sdk.egg-info}/PKG-INFO +1 -1
  5. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1}/LICENSE +0 -0
  6. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1}/MANIFEST.in +0 -0
  7. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1}/README.md +0 -0
  8. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1}/setup.cfg +0 -0
  9. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1}/src/laplace/__init__.py +0 -0
  10. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1}/src/laplace/base.py +0 -0
  11. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1}/src/laplace/brokers.py +0 -0
  12. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1}/src/laplace/capital_increase.py +0 -0
  13. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1}/src/laplace/client.py +0 -0
  14. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1}/src/laplace/collections.py +0 -0
  15. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1}/src/laplace/earnings.py +0 -0
  16. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1}/src/laplace/financials.py +0 -0
  17. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1}/src/laplace/funds.py +0 -0
  18. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1}/src/laplace/live_price.py +0 -0
  19. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1}/src/laplace/news.py +0 -0
  20. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1}/src/laplace/politician.py +0 -0
  21. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1}/src/laplace/screener.py +0 -0
  22. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1}/src/laplace/search.py +0 -0
  23. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1}/src/laplace/state.py +0 -0
  24. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1}/src/laplace/stocks.py +0 -0
  25. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1}/src/laplace/websocket.py +0 -0
  26. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1}/src/laplace_python_sdk.egg-info/SOURCES.txt +0 -0
  27. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1}/src/laplace_python_sdk.egg-info/dependency_links.txt +0 -0
  28. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1}/src/laplace_python_sdk.egg-info/requires.txt +0 -0
  29. {laplace_python_sdk-1.5.0 → laplace_python_sdk-1.5.1}/src/laplace_python_sdk.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: laplace-python-sdk
3
- Version: 1.5.0
3
+ Version: 1.5.1
4
4
  Summary: Python SDK for Laplace stock data platform
5
5
  Author: Laplace SDK Team
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "laplace-python-sdk"
7
- version = "1.5.0"
7
+ version = "1.5.1"
8
8
  description = "Python SDK for Laplace stock data platform"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -64,14 +64,14 @@ profile = "black"
64
64
  line_length = 100
65
65
 
66
66
  [tool.mypy]
67
- python_version = "1.5.0"
67
+ python_version = "1.5.1"
68
68
  strict = true
69
69
  warn_return_any = true
70
70
  warn_unused_configs = true
71
71
 
72
72
  [tool.ruff]
73
73
  line-length = 100
74
- target-version = "1.5.0"
74
+ target-version = "1.5.1"
75
75
 
76
76
  [tool.ruff.lint]
77
77
  select = ["E", "W", "F", "I", "N", "B", "UP"]
@@ -874,24 +874,21 @@ class NewsPublisher(BaseModel):
874
874
  model_config = {"populate_by_name": True}
875
875
 
876
876
  class NewsIndustry(BaseModel):
877
+ id: str
877
878
  name: str
878
- mean_type: int = Field(alias="meanType")
879
879
 
880
880
  model_config = {"populate_by_name": True}
881
881
 
882
882
  class NewsSector(BaseModel):
883
+ id: str
883
884
  name: str
884
- news_count: int = Field(alias="newsCount")
885
- category_type: Optional[str] = Field(alias="categoryType", default=None)
886
- mean_type: Optional[int] = Field(alias="meanType", default=None)
887
885
 
888
886
  model_config = {"populate_by_name": True}
889
887
 
890
888
  class NewsCategory(BaseModel):
889
+ id: str
891
890
  name: str
892
- news_count: int = Field(alias="newsCount")
893
891
  category_type: Optional[str] = Field(alias="categoryType", default=None)
894
- mean_type: Optional[int] = Field(alias="meanType", default=None)
895
892
 
896
893
  model_config = {"populate_by_name": True}
897
894
 
@@ -945,6 +942,7 @@ class NewsContent(BaseModel):
945
942
  model_config = {"populate_by_name": True}
946
943
 
947
944
  class News(BaseModel):
945
+ id: str
948
946
  created_at: datetime = Field(alias="createdAt")
949
947
  url: str
950
948
  image_url: str = Field(alias="imageUrl")
@@ -952,7 +950,7 @@ class News(BaseModel):
952
950
  publisher_url: str = Field(alias="publisherUrl")
953
951
 
954
952
  publisher: NewsPublisher
955
- related_tickers: List[NewsTicker] = Field(alias="relatedTickers")
953
+ related_tickers: Optional[List[NewsTicker]] = Field(alias="relatedTickers", default=None)
956
954
 
957
955
  tickers: Optional[List[NewsTicker]] = None
958
956
  categories: Optional[NewsCategory] = None
@@ -965,6 +963,7 @@ class News(BaseModel):
965
963
  model_config = {"populate_by_name": True}
966
964
 
967
965
  class NewsV2(BaseModel):
966
+ id: str
968
967
  created_at: datetime = Field(alias="createdAt")
969
968
  url: str
970
969
  image_url: str = Field(alias="imageUrl")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: laplace-python-sdk
3
- Version: 1.5.0
3
+ Version: 1.5.1
4
4
  Summary: Python SDK for Laplace stock data platform
5
5
  Author: Laplace SDK Team
6
6
  License: MIT