hockey-blast-common-lib 0.1.3__tar.gz → 0.1.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.
- {hockey_blast_common_lib-0.1.3 → hockey-blast-common-lib-0.1.4}/PKG-INFO +7 -6
- {hockey_blast_common_lib-0.1.3 → hockey-blast-common-lib-0.1.4}/hockey_blast_common_lib/db_connection.py +7 -0
- {hockey_blast_common_lib-0.1.3 → hockey-blast-common-lib-0.1.4}/hockey_blast_common_lib/db_utils.py +1 -5
- {hockey_blast_common_lib-0.1.3 → hockey-blast-common-lib-0.1.4}/hockey_blast_common_lib.egg-info/PKG-INFO +7 -6
- {hockey_blast_common_lib-0.1.3 → hockey-blast-common-lib-0.1.4}/setup.py +1 -1
- {hockey_blast_common_lib-0.1.3 → hockey-blast-common-lib-0.1.4}/README.md +0 -0
- {hockey_blast_common_lib-0.1.3 → hockey-blast-common-lib-0.1.4}/hockey_blast_common_lib/__init__.py +0 -0
- {hockey_blast_common_lib-0.1.3 → hockey-blast-common-lib-0.1.4}/hockey_blast_common_lib/models.py +0 -0
- {hockey_blast_common_lib-0.1.3 → hockey-blast-common-lib-0.1.4}/hockey_blast_common_lib.egg-info/SOURCES.txt +0 -0
- {hockey_blast_common_lib-0.1.3 → hockey-blast-common-lib-0.1.4}/hockey_blast_common_lib.egg-info/dependency_links.txt +0 -0
- {hockey_blast_common_lib-0.1.3 → hockey-blast-common-lib-0.1.4}/hockey_blast_common_lib.egg-info/requires.txt +0 -0
- {hockey_blast_common_lib-0.1.3 → hockey-blast-common-lib-0.1.4}/hockey_blast_common_lib.egg-info/top_level.txt +0 -0
- {hockey_blast_common_lib-0.1.3 → hockey-blast-common-lib-0.1.4}/setup.cfg +0 -0
@@ -1,12 +1,13 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: hockey-blast-common-lib
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.4
|
4
4
|
Summary: Common library for shared functionality and DB models
|
5
|
+
Home-page: UNKNOWN
|
5
6
|
Author: Pavel Kletskov
|
6
7
|
Author-email: kletskov@gmail.com
|
8
|
+
License: UNKNOWN
|
9
|
+
Platform: UNKNOWN
|
7
10
|
Requires-Python: >=3.7
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
Requires-Dist: requests
|
12
|
-
Requires-Dist: psycopg2
|
11
|
+
|
12
|
+
UNKNOWN
|
13
|
+
|
@@ -4,6 +4,13 @@ from sqlalchemy.orm import sessionmaker
|
|
4
4
|
|
5
5
|
# Database connection parameters per organization
|
6
6
|
DB_PARAMS = {
|
7
|
+
"hockey-blast-radonly": {
|
8
|
+
"dbname": "hockey_blast",
|
9
|
+
"user": "read_only_user",
|
10
|
+
"password": "hockey-blast",
|
11
|
+
"host": "localhost",
|
12
|
+
"port": 5432
|
13
|
+
},
|
7
14
|
"sharksice": {
|
8
15
|
"dbname": "hockey_blast",
|
9
16
|
"user": "read_only_user",
|
{hockey_blast_common_lib-0.1.3 → hockey-blast-common-lib-0.1.4}/hockey_blast_common_lib/db_utils.py
RENAMED
@@ -1,11 +1,7 @@
|
|
1
1
|
import sys
|
2
2
|
import os
|
3
3
|
|
4
|
-
|
5
|
-
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
6
|
-
|
7
|
-
from db.models import Human
|
8
|
-
from db.db_connection import create_session
|
4
|
+
from models import Human
|
9
5
|
|
10
6
|
def get_fake_human_for_stats(session):
|
11
7
|
first_name = "Fake"
|
@@ -1,12 +1,13 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: hockey-blast-common-lib
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.4
|
4
4
|
Summary: Common library for shared functionality and DB models
|
5
|
+
Home-page: UNKNOWN
|
5
6
|
Author: Pavel Kletskov
|
6
7
|
Author-email: kletskov@gmail.com
|
8
|
+
License: UNKNOWN
|
9
|
+
Platform: UNKNOWN
|
7
10
|
Requires-Python: >=3.7
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
Requires-Dist: requests
|
12
|
-
Requires-Dist: psycopg2
|
11
|
+
|
12
|
+
UNKNOWN
|
13
|
+
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
2
2
|
|
3
3
|
setup(
|
4
4
|
name='hockey-blast-common-lib', # The name of your package
|
5
|
-
version='0.1.
|
5
|
+
version='0.1.4',
|
6
6
|
description='Common library for shared functionality and DB models',
|
7
7
|
author='Pavel Kletskov',
|
8
8
|
author_email='kletskov@gmail.com',
|
File without changes
|
{hockey_blast_common_lib-0.1.3 → hockey-blast-common-lib-0.1.4}/hockey_blast_common_lib/__init__.py
RENAMED
File without changes
|
{hockey_blast_common_lib-0.1.3 → hockey-blast-common-lib-0.1.4}/hockey_blast_common_lib/models.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|