wcp-library 1.5.2__tar.gz → 1.5.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.
Files changed (25) hide show
  1. {wcp_library-1.5.2 → wcp_library-1.5.4}/PKG-INFO +11 -13
  2. {wcp_library-1.5.2 → wcp_library-1.5.4}/pyproject.toml +14 -13
  3. {wcp_library-1.5.2 → wcp_library-1.5.4}/wcp_library/credentials/_credential_manager_asynchronous.py +1 -1
  4. {wcp_library-1.5.2 → wcp_library-1.5.4}/wcp_library/sql/postgres.py +3 -1
  5. {wcp_library-1.5.2 → wcp_library-1.5.4}/README.md +0 -0
  6. {wcp_library-1.5.2 → wcp_library-1.5.4}/wcp_library/__init__.py +0 -0
  7. {wcp_library-1.5.2 → wcp_library-1.5.4}/wcp_library/credentials/__init__.py +0 -0
  8. {wcp_library-1.5.2 → wcp_library-1.5.4}/wcp_library/credentials/_credential_manager_synchronous.py +0 -0
  9. {wcp_library-1.5.2 → wcp_library-1.5.4}/wcp_library/credentials/api.py +0 -0
  10. {wcp_library-1.5.2 → wcp_library-1.5.4}/wcp_library/credentials/ftp.py +0 -0
  11. {wcp_library-1.5.2 → wcp_library-1.5.4}/wcp_library/credentials/internet.py +0 -0
  12. {wcp_library-1.5.2 → wcp_library-1.5.4}/wcp_library/credentials/oracle.py +0 -0
  13. {wcp_library-1.5.2 → wcp_library-1.5.4}/wcp_library/credentials/postgres.py +0 -0
  14. {wcp_library-1.5.2 → wcp_library-1.5.4}/wcp_library/emailing.py +0 -0
  15. {wcp_library-1.5.2 → wcp_library-1.5.4}/wcp_library/ftp/__init__.py +0 -0
  16. {wcp_library-1.5.2 → wcp_library-1.5.4}/wcp_library/ftp/ftp.py +0 -0
  17. {wcp_library-1.5.2 → wcp_library-1.5.4}/wcp_library/ftp/sftp.py +0 -0
  18. {wcp_library-1.5.2 → wcp_library-1.5.4}/wcp_library/informatica.py +0 -0
  19. {wcp_library-1.5.2 → wcp_library-1.5.4}/wcp_library/logging.py +0 -0
  20. {wcp_library-1.5.2 → wcp_library-1.5.4}/wcp_library/selenium/__init__.py +0 -0
  21. {wcp_library-1.5.2 → wcp_library-1.5.4}/wcp_library/selenium/_selenium_driver.py +0 -0
  22. {wcp_library-1.5.2 → wcp_library-1.5.4}/wcp_library/selenium/selenium_helper.py +0 -0
  23. {wcp_library-1.5.2 → wcp_library-1.5.4}/wcp_library/sql/__init__.py +0 -0
  24. {wcp_library-1.5.2 → wcp_library-1.5.4}/wcp_library/sql/oracle.py +0 -0
  25. {wcp_library-1.5.2 → wcp_library-1.5.4}/wcp_library/time.py +0 -0
@@ -1,31 +1,29 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: wcp-library
3
- Version: 1.5.2
3
+ Version: 1.5.4
4
4
  Summary: Common utilites for internal development at WCP
5
5
  Author: Mitch-Petersen
6
6
  Author-email: mitch.petersen@wcap.ca
7
- Requires-Python: >=3.12,<4.0
7
+ Requires-Python: >=3.12.0
8
8
  Classifier: Programming Language :: Python :: 3
9
9
  Classifier: Programming Language :: Python :: 3.12
10
10
  Classifier: Programming Language :: Python :: 3.13
11
- Requires-Dist: aiohttp (>=3.10.10,<4.0.0)
11
+ Requires-Dist: aiohttp (>=3.11.18,<4.0.0)
12
12
  Requires-Dist: ftputil (>=5.1.0,<6.0.0)
13
13
  Requires-Dist: get-gecko-driver (>=1.4,<2.0)
14
- Requires-Dist: oracledb (>=2.5.0,<3.0.0)
14
+ Requires-Dist: oracledb (>=3.1.0,<4.0.0)
15
15
  Requires-Dist: pandas (>=2.2.3,<3.0.0)
16
- Requires-Dist: paramiko (>=3.5.0,<4.0.0)
16
+ Requires-Dist: paramiko (>=3.5.1,<4.0.0)
17
17
  Requires-Dist: pip-system-certs (>=4.0,<5.0)
18
- Requires-Dist: psycopg (>=3.2.3,<4.0.0)
19
- Requires-Dist: psycopg-binary (>=3.2.3,<4.0.0)
20
- Requires-Dist: psycopg-pool (>=3.2.3,<4.0.0)
21
- Requires-Dist: pycryptodome (>=3.21.0,<4.0.0)
22
- Requires-Dist: pytz (>=2024.2,<2025.0)
18
+ Requires-Dist: psycopg (>=3.2.7,<4.0.0)
19
+ Requires-Dist: psycopg-binary (>=3.2.7,<4.0.0)
20
+ Requires-Dist: psycopg-pool (>=3.2.6,<4.0.0)
21
+ Requires-Dist: pycryptodome (>=3.22.0,<4.0.0)
22
+ Requires-Dist: pytz (>=2025.2,<2026.0)
23
23
  Requires-Dist: requests (>=2.32.3,<3.0.0)
24
24
  Requires-Dist: selenium (>=4.31.0,<5.0.0)
25
25
  Requires-Dist: webdriver-manager (>=4.0.2,<5.0.0)
26
- Requires-Dist: yarl (>=1.17.1,<2.0.0)
27
- Project-URL: Documentation, https://github.com/Whitecap-DNA/WCP-Library/wiki
28
- Project-URL: Repository, https://github.com/Whitecap-DNA/WCP-Library
26
+ Requires-Dist: yarl (>=1.20.0,<2.0.0)
29
27
  Description-Content-Type: text/markdown
30
28
 
31
29
  # WCP-Library
@@ -1,31 +1,32 @@
1
- [tool.poetry]
1
+ [project]
2
2
  name = "wcp-library"
3
- version = "1.5.2"
3
+ version = "1.5.4"
4
4
  description = "Common utilites for internal development at WCP"
5
- authors = ["Mitch-Petersen <mitch.petersen@wcap.ca>"]
5
+ authors = [{name="Mitch-Petersen", email="mitch.petersen@wcap.ca"}]
6
6
  readme = "README.md"
7
7
  repository = "https://github.com/Whitecap-DNA/WCP-Library"
8
8
  documentation = "https://github.com/Whitecap-DNA/WCP-Library/wiki"
9
9
  packages = [{include = "wcp_library"}]
10
+ dynamic = ["dependencies"]
11
+ requires-python = ">=3.12.0"
10
12
 
11
13
  [tool.poetry.dependencies]
12
- python = "^3.12"
13
- aiohttp = "^3.10.10"
14
+ aiohttp = "^3.11.18"
14
15
  ftputil = "^5.1.0"
15
16
  get-gecko-driver = "^1.4"
16
- oracledb = "^2.5.0"
17
+ oracledb = "^3.1.0"
17
18
  pandas = "^2.2.3"
18
- paramiko = "^3.5.0"
19
+ paramiko = "^3.5.1"
19
20
  pip-system-certs = "^4.0"
20
- psycopg = "^3.2.3"
21
- psycopg-binary = "^3.2.3"
22
- psycopg-pool = "^3.2.3"
23
- pycryptodome = "^3.21.0"
24
- pytz = "^2024.2"
21
+ psycopg = "^3.2.7"
22
+ psycopg-binary = "^3.2.7"
23
+ psycopg-pool = "^3.2.6"
24
+ pycryptodome = "^3.22.0"
25
+ pytz = "^2025.2"
25
26
  requests = "^2.32.3"
26
27
  selenium = "^4.31.0"
27
28
  webdriver-manager = "^4.0.2"
28
- yarl = "^1.17.1"
29
+ yarl = "^1.20.0"
29
30
 
30
31
  [build-system]
31
32
  requires = ["poetry-core"]
@@ -103,7 +103,7 @@ class AsyncCredentialManager(ABC):
103
103
  logger.debug(f"Credentials for {username} retrieved")
104
104
  return return_credential
105
105
 
106
- async def get_credential_by_id(self, password_id: int) -> dict:
106
+ async def get_credential_from_id(self, password_id: int) -> dict:
107
107
  """
108
108
  Get the credentials for a specific Password ID
109
109
 
@@ -34,6 +34,7 @@ def _connect_warehouse(username: str, password: str, hostname: str, port: int, d
34
34
  conninfo=conninfo,
35
35
  min_size=min_connections,
36
36
  max_size=max_connections,
37
+ kwargs={'options': '-c datestyle=ISO,YMD'},
37
38
  open=True
38
39
  )
39
40
  return session_pool
@@ -60,7 +61,8 @@ async def _async_connect_warehouse(username: str, password: str, hostname: str,
60
61
  session_pool = AsyncConnectionPool(
61
62
  conninfo=conninfo,
62
63
  min_size=min_connections,
63
- max_size=max_connections
64
+ max_size=max_connections,
65
+ kwargs={"options": "-c datestyle=ISO,YMD"}
64
66
  )
65
67
  return session_pool
66
68
 
File without changes