hockey-blast-common-lib 0.1.3__py3-none-any.whl → 0.1.4__py3-none-any.whl

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.
@@ -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",
@@ -1,11 +1,7 @@
1
1
  import sys
2
2
  import os
3
3
 
4
- # Add the project root directory to the Python path
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,18 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hockey-blast-common-lib
3
- Version: 0.1.3
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
11
  Requires-Dist: setuptools
9
12
  Requires-Dist: Flask-SQLAlchemy
10
13
  Requires-Dist: SQLAlchemy
11
14
  Requires-Dist: requests
12
15
  Requires-Dist: psycopg2
16
+
17
+ UNKNOWN
18
+
@@ -0,0 +1,8 @@
1
+ hockey_blast_common_lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ hockey_blast_common_lib/db_connection.py,sha256=4bN9pLynzOhd_9_u0bvQjgmE0qvkKHoOA95Ga3e_x7g,1361
3
+ hockey_blast_common_lib/db_utils.py,sha256=1EMGUEQhtuMFWNyBxMwQUm4Kx0j4bQqaKr-hLg6hdik,594
4
+ hockey_blast_common_lib/models.py,sha256=Sfq1dwaDx4fQpfd66o1R_3AyRNKv34vjnvY4B-ebqg8,33910
5
+ hockey_blast_common_lib-0.1.4.dist-info/METADATA,sha256=vpzfgF_otWS05bbwmyKNC7aKlAWIzL0jqGGseMtyRok,405
6
+ hockey_blast_common_lib-0.1.4.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
7
+ hockey_blast_common_lib-0.1.4.dist-info/top_level.txt,sha256=wIR4LIkE40npoA2QlOdfCYlgFeGbsHR8Z6r0h46Vtgc,24
8
+ hockey_blast_common_lib-0.1.4.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.6.0)
2
+ Generator: bdist_wheel (0.45.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,8 +0,0 @@
1
- hockey_blast_common_lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- hockey_blast_common_lib/db_connection.py,sha256=aY5VcbB-AUJJpsrnNnyqj8ph_j4UOMt44WD_x6GMUFc,1170
3
- hockey_blast_common_lib/db_utils.py,sha256=Lq_PGuYSK-lS9ujd8TG7ciSXO3WJASW96NstENq4GvI,771
4
- hockey_blast_common_lib/models.py,sha256=Sfq1dwaDx4fQpfd66o1R_3AyRNKv34vjnvY4B-ebqg8,33910
5
- hockey_blast_common_lib-0.1.3.dist-info/METADATA,sha256=8wFNPN9UE4I7uU2mUUAumix1QXMx3iku9b-iRaF9OKY,341
6
- hockey_blast_common_lib-0.1.3.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
7
- hockey_blast_common_lib-0.1.3.dist-info/top_level.txt,sha256=wIR4LIkE40npoA2QlOdfCYlgFeGbsHR8Z6r0h46Vtgc,24
8
- hockey_blast_common_lib-0.1.3.dist-info/RECORD,,