python-openobserve 0.5.1__tar.gz → 0.5.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-openobserve
3
- Version: 0.5.1
3
+ Version: 0.5.2
4
4
  Summary: OpenObserve client for Python
5
5
  License-File: LICENSES/CC-BY-4.0.txt
6
6
  License-File: LICENSES/CC-BY-SA-4.0.txt
@@ -15,35 +15,35 @@ Provides-Extra: docs
15
15
  Provides-Extra: pandas
16
16
  Provides-Extra: polars
17
17
  Provides-Extra: tests
18
- Requires-Dist: cryptography (>=48.0.1,<48.1.0)
18
+ Requires-Dist: cryptography (>=50.0.0,<50.1.0)
19
19
  Requires-Dist: h11 (>=0.16.0,<0.17.0)
20
20
  Requires-Dist: httpcore (>=1.0.9,<1.1.0)
21
21
  Requires-Dist: httpx (>=0.28,<1.0)
22
- Requires-Dist: jmespath (==1.0.1) ; extra == "ci"
23
- Requires-Dist: jmespath (==1.0.1) ; extra == "tests"
24
- Requires-Dist: memray (==1.19.3) ; extra == "ci"
22
+ Requires-Dist: jmespath (==1.1.0) ; extra == "ci"
23
+ Requires-Dist: jmespath (==1.1.0) ; extra == "tests"
24
+ Requires-Dist: memray (==1.20.0) ; extra == "ci"
25
25
  Requires-Dist: mkdocs (==1.6.1) ; extra == "docs"
26
- Requires-Dist: mkdocs-material (==9.6.15) ; extra == "docs"
27
- Requires-Dist: mkdocstrings (==0.29.1) ; extra == "docs"
28
- Requires-Dist: mypy (==1.15.0) ; extra == "ci"
29
- Requires-Dist: mypy-extensions (==1.0.0) ; extra == "ci"
30
- Requires-Dist: pandas (==2.2.3) ; extra == "ci"
26
+ Requires-Dist: mkdocs-material (==9.7.7) ; extra == "docs"
27
+ Requires-Dist: mkdocstrings (==0.30.1) ; extra == "docs"
28
+ Requires-Dist: mypy (==1.20.2) ; extra == "ci"
29
+ Requires-Dist: mypy-extensions (==1.1.0) ; extra == "ci"
30
+ Requires-Dist: pandas (==2.3.3) ; extra == "ci"
31
31
  Requires-Dist: pandas (>=2.2) ; extra == "pandas"
32
- Requires-Dist: pandas-stubs (==2.2.2.240807) ; extra == "ci"
33
- Requires-Dist: polars (==1.30.0) ; extra == "polars"
34
- Requires-Dist: protobuf (>=6.33.5)
32
+ Requires-Dist: pandas-stubs (==2.3.3.260113) ; extra == "ci"
33
+ Requires-Dist: polars (==1.43.2) ; extra == "polars"
34
+ Requires-Dist: protobuf (>=7.35.1)
35
35
  Requires-Dist: pydantic (>=2.10,<3.0)
36
36
  Requires-Dist: pyjwt (>=2.12.1,<3.0.0)
37
- Requires-Dist: pytest (==9.0.3) ; extra == "ci"
38
- Requires-Dist: pytest (==9.0.3) ; extra == "tests"
39
- Requires-Dist: pytest-cov (==6.0.0) ; extra == "ci"
40
- Requires-Dist: pytest-memray (==1.7.0) ; extra == "ci"
37
+ Requires-Dist: pytest (==9.1.1) ; extra == "ci"
38
+ Requires-Dist: pytest (==9.1.1) ; extra == "tests"
39
+ Requires-Dist: pytest-cov (==6.3.0) ; extra == "ci"
40
+ Requires-Dist: pytest-memray (==1.10.0) ; extra == "ci"
41
41
  Requires-Dist: python-dotenv (==1.2.2) ; extra == "ci"
42
42
  Requires-Dist: python-dotenv (==1.2.2) ; extra == "tests"
43
43
  Requires-Dist: python-multipart (>=0.0.22)
44
44
  Requires-Dist: requests (>=2.33.0,<3.0.0)
45
- Requires-Dist: sqlglot (>=26.4.0,<26.5.0)
46
- Requires-Dist: types-jmespath (==1.0.2.20240106) ; extra == "ci"
45
+ Requires-Dist: sqlglot (>=26.33.0,<26.34.0)
46
+ Requires-Dist: types-jmespath (==1.1.0.20260724) ; extra == "ci"
47
47
  Project-URL: Homepage, https://github.com/JustinGuese/python-openobserve
48
48
  Project-URL: Repository, https://github.com/JustinGuese/python-openobserve
49
49
  Description-Content-Type: text/markdown
@@ -3,7 +3,7 @@
3
3
 
4
4
  [project]
5
5
  name = "python-openobserve"
6
- version = "0.5.1"
6
+ version = "0.5.2"
7
7
  description = "OpenObserve client for Python"
8
8
  readme = "README.md"
9
9
  requires-python = ">=3.10,<3.15"
@@ -19,14 +19,14 @@ classifiers = [
19
19
  ]
20
20
 
21
21
  dependencies = [
22
- "cryptography (>=48.0.1,<48.1.0)",
22
+ "cryptography (>=50.0.0,<50.1.0)",
23
23
  "h11~=0.16.0",
24
24
  "httpcore~=1.0.9",
25
25
  "httpx~=0.28",
26
- "protobuf>=6.33.5",
26
+ "protobuf>=7.35.1",
27
27
  "pydantic~=2.10",
28
28
  "python-multipart>=0.0.22",
29
- "sqlglot~=26.4.0",
29
+ "sqlglot~=26.33.0",
30
30
  "pyjwt (>=2.12.1,<3.0.0)",
31
31
  "requests (>=2.33.0,<3.0.0)",
32
32
  ]
@@ -40,56 +40,56 @@ python_openobserve = "python_openobserve:openobserve"
40
40
 
41
41
  [project.optional-dependencies]
42
42
  ci = [
43
- "jmespath==1.0.1",
44
- "memray==1.19.3",
45
- "pytest-memray==1.7.0",
46
- "mypy==1.15.0",
47
- "mypy-extensions==1.0.0",
48
- "pandas==2.2.3",
49
- "pandas-stubs==2.2.2.240807",
50
- "pytest==9.0.3",
51
- "pytest-cov==6.0.0",
43
+ "jmespath==1.1.0",
44
+ "memray==1.20.0",
45
+ "pytest-memray==1.10.0",
46
+ "mypy==1.20.2",
47
+ "mypy-extensions==1.1.0",
48
+ "pandas==2.3.3",
49
+ "pandas-stubs==2.3.3.260113",
50
+ "pytest==9.1.1",
51
+ "pytest-cov==6.3.0",
52
52
  "python-dotenv==1.2.2",
53
- "types-jmespath==1.0.2.20240106",
53
+ "types-jmespath==1.1.0.20260724",
54
54
  ]
55
55
  docs = [
56
56
  "mkdocs==1.6.1",
57
- "mkdocs-material==9.6.15",
58
- "mkdocstrings==0.29.1",
57
+ "mkdocs-material==9.7.7",
58
+ "mkdocstrings==0.30.1",
59
59
  ]
60
- tests = ["pytest==9.0.3", "jmespath==1.0.1", "python-dotenv==1.2.2"]
60
+ tests = ["pytest==9.1.1", "jmespath==1.1.0", "python-dotenv==1.2.2"]
61
61
  pandas = ["pandas>=2.2"]
62
- polars = ["polars==1.30.0"]
62
+ polars = ["polars==1.43.2"]
63
63
 
64
64
  [tool.poetry.group.test.dependencies]
65
- pytest = "9.0.3"
66
- jmespath = "1.0.1"
65
+ pytest = "9.1.1"
66
+ jmespath = "1.1.0"
67
67
  python-dotenv = "1.2.2"
68
68
 
69
69
  [tool.poetry.group.docs.dependencies]
70
70
  mkdocs = "1.6.1"
71
- mkdocs-material = "9.6.15"
72
- mkdocstrings = "0.29.1"
71
+ mkdocs-material = "9.7.7"
72
+ mkdocstrings = "0.30.1"
73
73
 
74
74
  [tool.poetry.group.ci.dependencies]
75
- jmespath = "1.0.1"
76
- memray = "1.19.3"
77
- pytest-memray = "1.7.0"
78
- mypy = "1.15.0"
79
- mypy-extensions = "1.0.0"
80
- pandas = "2.2.3"
75
+ jmespath = "1.1.0"
76
+ memray = "1.20.0"
77
+ pytest-memray = "1.10.0"
78
+ mypy = "1.20.2"
79
+ mypy-extensions = "1.1.0"
80
+ pandas = "2.3.3"
81
81
  openpyxl = "3.1.5"
82
- pandas-stubs = "2.2.2.240807"
83
- pytest = "9.0.3"
84
- pytest-cov = "6.0.0"
82
+ pandas-stubs = "2.3.3.260113"
83
+ pytest = "9.1.1"
84
+ pytest-cov = "6.3.0"
85
85
  python-dotenv = "1.2.2"
86
- types-jmespath = "1.0.2.20240106"
86
+ types-jmespath = "1.1.0.20260724"
87
87
 
88
88
  [tool.poetry.group.pandas.dependencies]
89
89
  pandas = ">2.2"
90
90
 
91
91
  [tool.poetry.group.polars.dependencies]
92
- polars = "1.30.0"
92
+ polars = "1.43.2"
93
93
 
94
94
  [build-system]
95
95
  requires = ["poetry-core"]
@@ -19,7 +19,7 @@ from datetime import datetime
19
19
  from typing import List, Dict, Union, Optional, Any, cast
20
20
  from pathlib import Path
21
21
 
22
- import httpx
22
+ import httpx # type: ignore
23
23
  import sqlglot # type: ignore
24
24
 
25
25
  try:
@@ -33,7 +33,7 @@ except ImportError:
33
33
  HAVE_MODULE_PANDAS = False
34
34
 
35
35
  try:
36
- import polars
36
+ import polars # type: ignore
37
37
 
38
38
  HAVE_MODULE_POLARS = True
39
39
  except ImportError:
@@ -437,7 +437,7 @@ class OpenObserve:
437
437
  try:
438
438
  # ensure timestamp format
439
439
  if col in ["_timestamp"] + timestamp_columns:
440
- df_res[col] = polars.to_datetime(df_res[col])
440
+ df_res = df_res.with_columns(polars.col(col).str.to_datetime())
441
441
  except Exception as err:
442
442
  raise Exception(
443
443
  err,