marketstack-python-client 1.0.0__py3-none-any.whl → 1.0.1__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.
@@ -3,6 +3,7 @@ from types import NoneType
3
3
  from pydantic import AfterValidator, BaseModel
4
4
  import re
5
5
 
6
+
6
7
  def validate_date_string(v: str) -> str:
7
8
  if re.match(r"^\d{4}-\d{2}-\d{2}$", v) is None:
8
9
  raise ValueError("Invalid date format. Expected YYYY-MM-DD.")
@@ -16,10 +17,10 @@ DateString: TypeAlias = Annotated[
16
17
  ]
17
18
 
18
19
 
19
- class PaginationRequest(TypedDict):
20
+ class PaginationRequest(TypedDict, total=False):
20
21
  sort: Union[NoneType, Sort] = None
21
22
  """Sort order of the results by date.
22
-
23
+
23
24
  Available values : DESC, ASC, desc, asc
24
25
  Default value : DESC
25
26
  """
@@ -39,4 +40,3 @@ class Pagniation(BaseModel):
39
40
 
40
41
 
41
42
  Pagination = Pagniation
42
-
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: marketstack-python-client
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: A Python client for the Marketstack API.
5
5
  Requires-Python: >=3.10
6
6
  Description-Content-Type: text/markdown
@@ -15,7 +15,7 @@ marketstack/models/etf.py,sha256=H0vF1CGBDXa-ZIBV1t0veZtjAYw7QC6GL2UTcy9tHzU,408
15
15
  marketstack/models/exchange.py,sha256=gdIy60zJ7BxFKF43Cgn6ckdgvki1FJgSieJVVJpp-XA,3645
16
16
  marketstack/models/index.py,sha256=QDKr1A4m4Ke0D6HFF_S8v_rN05e_-XlcqP4Xf9TIE2A,1207
17
17
  marketstack/models/intraday.py,sha256=iUfKquFN5KJItW7JxSB_H_hdOinGotG_b4ZEhlmgZ7M,1459
18
- marketstack/models/pagination.py,sha256=Y0l6DVw6Pgp1ChwlCj9zLbtEKoUbF3O1t_TpgPUTqGU,1060
18
+ marketstack/models/pagination.py,sha256=j9bO6kMVUujt_NTY93vHYvNLPtaJnuZazUrSf1dMCaM,1069
19
19
  marketstack/models/split.py,sha256=pxs13xtc3iFBB4RHSNi9nWceKt11iyYQelu8OGoItLU,640
20
20
  marketstack/models/stockprice.py,sha256=CKJn_xaqoeQiaAVrQf1sc1Od2mkz-ldmxiG8wvmVer8,817
21
21
  marketstack/models/ticker.py,sha256=qOrUINl3n9_74pAD8Y4fFWClUfRce-cehq_piypbBuE,5463
@@ -74,8 +74,8 @@ marketstack/namespaces/tickerslist/__init__.py,sha256=z3CSiWxrCYSISAIADyJO67Ge3D
74
74
  marketstack/namespaces/tickerslist/tickerslist.py,sha256=4xcoGDfDeu7cNFS5UpcHeSB8g4AYMYutlHpSe9Y_P60,481
75
75
  marketstack/namespaces/timezones/__init__.py,sha256=tYqkfJCERNCmwx8x11XbBjwTQbfqxqlcyeu_qmkSdYw,33
76
76
  marketstack/namespaces/timezones/timezones.py,sha256=hrT0ev0vwXA_ZRx6ETmKEWcLo2pQhDi_Aj_WG5UHrGA,476
77
- marketstack_python_client-1.0.0.dist-info/licenses/LICENSE,sha256=xmxcITkr7-m7jHXtTncF0Xlptti5ZLKa49ezBr-hSAg,1073
78
- marketstack_python_client-1.0.0.dist-info/METADATA,sha256=S-2DUwrJrlQo3uAnfQvwb0jnlWzTHrHbEkNDlMpf01Y,5700
79
- marketstack_python_client-1.0.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
80
- marketstack_python_client-1.0.0.dist-info/top_level.txt,sha256=1p1sbB7SMIh1ijnCB_OuTb7zy4b0NXeTd5YbFnvEVcg,12
81
- marketstack_python_client-1.0.0.dist-info/RECORD,,
77
+ marketstack_python_client-1.0.1.dist-info/licenses/LICENSE,sha256=xmxcITkr7-m7jHXtTncF0Xlptti5ZLKa49ezBr-hSAg,1073
78
+ marketstack_python_client-1.0.1.dist-info/METADATA,sha256=T20KEqC0IVSyeCuVGOAbihLMBoepdOWaCFqe2GoJ9cs,5700
79
+ marketstack_python_client-1.0.1.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
80
+ marketstack_python_client-1.0.1.dist-info/top_level.txt,sha256=1p1sbB7SMIh1ijnCB_OuTb7zy4b0NXeTd5YbFnvEVcg,12
81
+ marketstack_python_client-1.0.1.dist-info/RECORD,,