commonlib-reader 1.1.3__tar.gz → 1.2.0__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.
- {commonlib_reader-1.1.3 → commonlib_reader-1.2.0}/PKG-INFO +2 -4
- {commonlib_reader-1.1.3 → commonlib_reader-1.2.0}/pyproject.toml +3 -5
- {commonlib_reader-1.1.3 → commonlib_reader-1.2.0}/src/commonlib_reader/utils.py +1 -1
- {commonlib_reader-1.1.3 → commonlib_reader-1.2.0}/README.md +0 -0
- {commonlib_reader-1.1.3 → commonlib_reader-1.2.0}/src/commonlib_reader/__init__.py +0 -0
- {commonlib_reader-1.1.3 → commonlib_reader-1.2.0}/src/commonlib_reader/connector.py +0 -0
- {commonlib_reader-1.1.3 → commonlib_reader-1.2.0}/src/commonlib_reader/discipline.py +0 -0
- {commonlib_reader-1.1.3 → commonlib_reader-1.2.0}/src/commonlib_reader/facility.py +0 -0
- {commonlib_reader-1.1.3 → commonlib_reader-1.2.0}/src/commonlib_reader/ims.py +0 -0
- {commonlib_reader-1.1.3 → commonlib_reader-1.2.0}/src/commonlib_reader/tag.py +0 -0
- {commonlib_reader-1.1.3 → commonlib_reader-1.2.0}/src/commonlib_reader/unit.py +0 -0
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: commonlib-reader
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.0
|
|
4
4
|
Summary: Reader for Equinor commonlib api.
|
|
5
5
|
Author: Åsmund Våge Fannemel
|
|
6
6
|
Author-email: Åsmund Våge Fannemel <asmf@equinor.com>
|
|
7
7
|
License: MIT
|
|
8
8
|
Requires-Dist: pandas>=2.1.4
|
|
9
|
-
Requires-Dist:
|
|
10
|
-
Requires-Dist: urllib3>=2.5.0
|
|
11
|
-
Requires-Dist: eq-api-connector>=1.0.0,<2.0.0
|
|
9
|
+
Requires-Dist: eq-api-connector>=1.1.0,<2.0.0
|
|
12
10
|
Requires-Python: >=3.10, <4.0.0
|
|
13
11
|
Project-URL: Repository, https://github.com/equinor/commonlib-reader.git
|
|
14
12
|
Description-Content-Type: text/markdown
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "commonlib-reader"
|
|
3
|
-
version = "1.
|
|
3
|
+
version = "1.2.0"
|
|
4
4
|
description = "Reader for Equinor commonlib api."
|
|
5
5
|
authors = [
|
|
6
6
|
{ name = "Åsmund Våge Fannemel", email = "asmf@equinor.com" }
|
|
@@ -11,14 +11,12 @@ urls = {"Repository" = "https://github.com/equinor/commonlib-reader.git"}
|
|
|
11
11
|
requires-python = ">=3.10,<4.0.0"
|
|
12
12
|
dependencies = [
|
|
13
13
|
"pandas>=2.1.4",
|
|
14
|
-
"
|
|
15
|
-
"urllib3>=2.5.0", # Pinned to avoid security issues in some older versions
|
|
16
|
-
"eq-api-connector (>=1.0.0,<2.0.0)"
|
|
14
|
+
"eq-api-connector (>=1.1.0,<2.0.0)"
|
|
17
15
|
]
|
|
18
16
|
|
|
19
17
|
[dependency-groups]
|
|
20
18
|
dev = [
|
|
21
|
-
"pytest>=7.4.4,<
|
|
19
|
+
"pytest>=7.4.4,<10.0.0",
|
|
22
20
|
"pytest-cov>=7.0.0,<8.0.0",
|
|
23
21
|
"black>=24.1.1,<27.0.0"
|
|
24
22
|
]
|
|
@@ -60,7 +60,7 @@ def post_sql(sql: str, take: int = 100, skip: int = 0) -> list:
|
|
|
60
60
|
list: List of response from api
|
|
61
61
|
"""
|
|
62
62
|
|
|
63
|
-
url = urljoin(get_connector().
|
|
63
|
+
url = urljoin(get_connector().url, "api/sql")
|
|
64
64
|
response = requests.post(
|
|
65
65
|
url=url,
|
|
66
66
|
json={"query": sql, "take": take, "skip": skip},
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|