commonlib-reader 1.0.3__tar.gz → 1.0.4__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.0.3 → commonlib_reader-1.0.4}/PKG-INFO +2 -2
- {commonlib_reader-1.0.3 → commonlib_reader-1.0.4}/commonlib_reader/utils.py +2 -2
- {commonlib_reader-1.0.3 → commonlib_reader-1.0.4}/pyproject.toml +2 -2
- {commonlib_reader-1.0.3 → commonlib_reader-1.0.4}/README.md +0 -0
- {commonlib_reader-1.0.3 → commonlib_reader-1.0.4}/commonlib_reader/__init__.py +0 -0
- {commonlib_reader-1.0.3 → commonlib_reader-1.0.4}/commonlib_reader/facility.py +0 -0
- {commonlib_reader-1.0.3 → commonlib_reader-1.0.4}/commonlib_reader/ims.py +0 -0
- {commonlib_reader-1.0.3 → commonlib_reader-1.0.4}/commonlib_reader/tag.py +0 -0
- {commonlib_reader-1.0.3 → commonlib_reader-1.0.4}/commonlib_reader/unit.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: commonlib-reader
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.4
|
|
4
4
|
Summary: Reader for Equinor commonlibapi.
|
|
5
5
|
Home-page: https://github.com/equinor/commonlib-reader.git
|
|
6
6
|
Author: Åsmund Våge Fannemel
|
|
@@ -11,7 +11,7 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.10
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.11
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
-
Requires-Dist: msal_bearer (
|
|
14
|
+
Requires-Dist: msal_bearer (>=1.1.4,<2.0.0)
|
|
15
15
|
Requires-Dist: pandas (>=2.1.4,<3.0.0)
|
|
16
16
|
Requires-Dist: requests (>=2.31.0,<3.0.0)
|
|
17
17
|
Project-URL: Repository, https://github.com/equinor/commonlib-reader.git
|
|
@@ -3,7 +3,7 @@ from typing import Dict, List
|
|
|
3
3
|
from urllib.parse import urljoin
|
|
4
4
|
|
|
5
5
|
import requests
|
|
6
|
-
from msal_bearer
|
|
6
|
+
from msal_bearer import BearerAuth, get_user_name
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
def get_library_names():
|
|
@@ -61,7 +61,7 @@ def get_auth() -> BearerAuth:
|
|
|
61
61
|
tenantID=tenantID,
|
|
62
62
|
clientID=clientID,
|
|
63
63
|
scopes=scopes,
|
|
64
|
-
username=f"{
|
|
64
|
+
username=f"{get_user_name()}@equinor.com",
|
|
65
65
|
)
|
|
66
66
|
|
|
67
67
|
return auth
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "commonlib-reader"
|
|
3
|
-
version = "1.0.
|
|
3
|
+
version = "1.0.4"
|
|
4
4
|
description = "Reader for Equinor commonlibapi."
|
|
5
5
|
authors = ["Åsmund Våge Fannemel <asmf@equinor.com>"]
|
|
6
6
|
readme = "README.md"
|
|
@@ -9,7 +9,7 @@ repository = "https://github.com/equinor/commonlib-reader.git"
|
|
|
9
9
|
|
|
10
10
|
[tool.poetry.dependencies]
|
|
11
11
|
python = "^3.9"
|
|
12
|
-
msal_bearer = "
|
|
12
|
+
msal_bearer = ">=1.1.4,<2.0.0"
|
|
13
13
|
pandas = "^2.1.4"
|
|
14
14
|
requests = "^2.31.0"
|
|
15
15
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|