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.
- {python_openobserve-0.5.1 → python_openobserve-0.5.2}/PKG-INFO +19 -19
- {python_openobserve-0.5.1 → python_openobserve-0.5.2}/pyproject.toml +33 -33
- {python_openobserve-0.5.1 → python_openobserve-0.5.2}/python_openobserve/openobserve.py +3 -3
- {python_openobserve-0.5.1 → python_openobserve-0.5.2}/LICENSES/CC-BY-4.0.txt +0 -0
- {python_openobserve-0.5.1 → python_openobserve-0.5.2}/LICENSES/CC-BY-SA-4.0.txt +0 -0
- {python_openobserve-0.5.1 → python_openobserve-0.5.2}/LICENSES/GPL-3.0-or-later.txt +0 -0
- {python_openobserve-0.5.1 → python_openobserve-0.5.2}/README.md +0 -0
- {python_openobserve-0.5.1 → python_openobserve-0.5.2}/python_openobserve/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-openobserve
|
|
3
|
-
Version: 0.5.
|
|
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 (>=
|
|
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
|
|
23
|
-
Requires-Dist: jmespath (==1.0
|
|
24
|
-
Requires-Dist: memray (==1.
|
|
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.
|
|
27
|
-
Requires-Dist: mkdocstrings (==0.
|
|
28
|
-
Requires-Dist: mypy (==1.
|
|
29
|
-
Requires-Dist: mypy-extensions (==1.
|
|
30
|
-
Requires-Dist: pandas (==2.
|
|
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.
|
|
33
|
-
Requires-Dist: polars (==1.
|
|
34
|
-
Requires-Dist: protobuf (>=
|
|
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.
|
|
38
|
-
Requires-Dist: pytest (==9.
|
|
39
|
-
Requires-Dist: pytest-cov (==6.
|
|
40
|
-
Requires-Dist: pytest-memray (==1.
|
|
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.
|
|
46
|
-
Requires-Dist: types-jmespath (==1.0.
|
|
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.
|
|
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 (>=
|
|
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>=
|
|
26
|
+
"protobuf>=7.35.1",
|
|
27
27
|
"pydantic~=2.10",
|
|
28
28
|
"python-multipart>=0.0.22",
|
|
29
|
-
"sqlglot~=26.
|
|
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
|
|
44
|
-
"memray==1.
|
|
45
|
-
"pytest-memray==1.
|
|
46
|
-
"mypy==1.
|
|
47
|
-
"mypy-extensions==1.
|
|
48
|
-
"pandas==2.
|
|
49
|
-
"pandas-stubs==2.
|
|
50
|
-
"pytest==9.
|
|
51
|
-
"pytest-cov==6.
|
|
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.
|
|
53
|
+
"types-jmespath==1.1.0.20260724",
|
|
54
54
|
]
|
|
55
55
|
docs = [
|
|
56
56
|
"mkdocs==1.6.1",
|
|
57
|
-
"mkdocs-material==9.
|
|
58
|
-
"mkdocstrings==0.
|
|
57
|
+
"mkdocs-material==9.7.7",
|
|
58
|
+
"mkdocstrings==0.30.1",
|
|
59
59
|
]
|
|
60
|
-
tests = ["pytest==9.
|
|
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.
|
|
62
|
+
polars = ["polars==1.43.2"]
|
|
63
63
|
|
|
64
64
|
[tool.poetry.group.test.dependencies]
|
|
65
|
-
pytest = "9.
|
|
66
|
-
jmespath = "1.0
|
|
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.
|
|
72
|
-
mkdocstrings = "0.
|
|
71
|
+
mkdocs-material = "9.7.7"
|
|
72
|
+
mkdocstrings = "0.30.1"
|
|
73
73
|
|
|
74
74
|
[tool.poetry.group.ci.dependencies]
|
|
75
|
-
jmespath = "1.0
|
|
76
|
-
memray = "1.
|
|
77
|
-
pytest-memray = "1.
|
|
78
|
-
mypy = "1.
|
|
79
|
-
mypy-extensions = "1.
|
|
80
|
-
pandas = "2.
|
|
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.
|
|
83
|
-
pytest = "9.
|
|
84
|
-
pytest-cov = "6.
|
|
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.
|
|
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.
|
|
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
|
|
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,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|