wcp-library 1.0.0__tar.gz → 1.0.1__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 (21) hide show
  1. {wcp_library-1.0.0 → wcp_library-1.0.1}/PKG-INFO +1 -1
  2. {wcp_library-1.0.0 → wcp_library-1.0.1}/pyproject.toml +1 -1
  3. {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/async_credentials/oracle.py +1 -1
  4. {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/async_credentials/postgres.py +1 -1
  5. {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/async_sql/oracle.py +2 -2
  6. {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/async_sql/postgres.py +2 -2
  7. {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/credentials/oracle.py +1 -1
  8. {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/credentials/postgres.py +1 -1
  9. {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/logging.py +1 -1
  10. {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/sql/oracle.py +2 -2
  11. {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/sql/postgres.py +2 -2
  12. {wcp_library-1.0.0 → wcp_library-1.0.1}/README.md +0 -0
  13. {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/__init__.py +0 -0
  14. {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/async_credentials/__init__.py +0 -0
  15. {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/async_credentials/api.py +0 -0
  16. {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/async_sql/__init__.py +0 -0
  17. {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/credentials/__init__.py +0 -0
  18. {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/credentials/api.py +0 -0
  19. {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/emailing.py +0 -0
  20. {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/informatica.py +0 -0
  21. {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/sql/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wcp-library
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: Common utilites for internal development at WCP
5
5
  Home-page: https://github.com/Whitecap-DNA/WCP-Library
6
6
  Author: Mitch-Petersen
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "wcp-library"
3
- version = "1.0.0"
3
+ version = "1.0.1"
4
4
  description = "Common utilites for internal development at WCP"
5
5
  authors = ["Mitch-Petersen <mitch.petersen@wcap.ca>"]
6
6
  readme = "README.md"
@@ -3,7 +3,7 @@ import logging
3
3
  import aiohttp
4
4
  from yarl import URL
5
5
 
6
- from WCP_Library.async_credentials import MissingCredentialsError
6
+ from wcp_library.async_credentials import MissingCredentialsError
7
7
 
8
8
  logger = logging.getLogger(__name__)
9
9
 
@@ -3,7 +3,7 @@ import logging
3
3
  import aiohttp
4
4
  from yarl import URL
5
5
 
6
- from WCP_Library.async_credentials import MissingCredentialsError
6
+ from wcp_library.async_credentials import MissingCredentialsError
7
7
 
8
8
  logger = logging.getLogger(__name__)
9
9
 
@@ -5,7 +5,7 @@ import pandas as pd
5
5
  import oracledb
6
6
  from oracledb import AsyncConnectionPool
7
7
 
8
- from WCP_Library.async_sql import retry
8
+ from wcp_library.async_sql import retry
9
9
 
10
10
  logger = logging.getLogger(__name__)
11
11
 
@@ -36,7 +36,7 @@ async def connect_warehouse(username: str, password: str, hostname: str, port: i
36
36
  return session_pool
37
37
 
38
38
 
39
- class SQLConnection(object):
39
+ class AsyncOracleConnection(object):
40
40
  """
41
41
  SQL Connection Class
42
42
 
@@ -5,7 +5,7 @@ import pandas as pd
5
5
  from psycopg.sql import SQL
6
6
  from psycopg_pool import AsyncConnectionPool
7
7
 
8
- from WCP_Library.async_sql import retry
8
+ from wcp_library.async_sql import retry
9
9
 
10
10
  logger = logging.getLogger(__name__)
11
11
 
@@ -33,7 +33,7 @@ async def connect_warehouse(username: str, password: str, hostname: str, port: i
33
33
  return session_pool
34
34
 
35
35
 
36
- class SQLConnection(object):
36
+ class AsyncPostgresConnection(object):
37
37
  """
38
38
  SQL Connection Class
39
39
 
@@ -3,7 +3,7 @@ import logging
3
3
  import requests
4
4
  from yarl import URL
5
5
 
6
- from WCP_Library.credentials import MissingCredentialsError
6
+ from wcp_library.credentials import MissingCredentialsError
7
7
 
8
8
  logger = logging.getLogger(__name__)
9
9
 
@@ -3,7 +3,7 @@ import logging
3
3
  import requests
4
4
  from yarl import URL
5
5
 
6
- from WCP_Library.credentials import MissingCredentialsError
6
+ from wcp_library.credentials import MissingCredentialsError
7
7
 
8
8
  logger = logging.getLogger(__name__)
9
9
 
@@ -1,7 +1,7 @@
1
1
  import logging
2
2
  import sys
3
3
 
4
- from WCP_Library import application_path
4
+ from wcp_library import application_path
5
5
 
6
6
 
7
7
  def create_log(level: int, iterations: int, project_name: str, mode: str = "w",
@@ -5,7 +5,7 @@ import pandas as pd
5
5
  import oracledb
6
6
  from oracledb import ConnectionPool
7
7
 
8
- from WCP_Library.sql import retry
8
+ from wcp_library.sql import retry
9
9
 
10
10
  logger = logging.getLogger(__name__)
11
11
 
@@ -36,7 +36,7 @@ def connect_warehouse(username: str, password: str, hostname: str, port: int, da
36
36
  return session_pool
37
37
 
38
38
 
39
- class SQLConnection(object):
39
+ class OracleConnection(object):
40
40
  """
41
41
  SQL Connection Class
42
42
 
@@ -5,7 +5,7 @@ import pandas as pd
5
5
  from psycopg.sql import SQL
6
6
  from psycopg_pool import ConnectionPool
7
7
 
8
- from WCP_Library.sql import retry
8
+ from wcp_library.sql import retry
9
9
 
10
10
  logger = logging.getLogger(__name__)
11
11
 
@@ -33,7 +33,7 @@ def connect_warehouse(username: str, password: str, hostname: str, port: int, da
33
33
  return session_pool
34
34
 
35
35
 
36
- class SQLConnection(object):
36
+ class PostgresConnection(object):
37
37
  """
38
38
  SQL Connection Class
39
39
 
File without changes