hockey-blast-common-lib 0.1.4__py3-none-any.whl → 0.1.6__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.
- hockey_blast_common_lib/db_utils.py +6 -1
- {hockey_blast_common_lib-0.1.4.dist-info → hockey_blast_common_lib-0.1.6.dist-info}/METADATA +1 -8
- hockey_blast_common_lib-0.1.6.dist-info/RECORD +8 -0
- {hockey_blast_common_lib-0.1.4.dist-info → hockey_blast_common_lib-0.1.6.dist-info}/WHEEL +1 -1
- hockey_blast_common_lib-0.1.4.dist-info/RECORD +0 -8
- {hockey_blast_common_lib-0.1.4.dist-info → hockey_blast_common_lib-0.1.6.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@ import sys
|
|
2
2
|
import os
|
3
3
|
|
4
4
|
from models import Human
|
5
|
+
from db_connection import create_session
|
5
6
|
|
6
7
|
def get_fake_human_for_stats(session):
|
7
8
|
first_name = "Fake"
|
@@ -18,4 +19,8 @@ def get_fake_human_for_stats(session):
|
|
18
19
|
session.add(human)
|
19
20
|
session.commit() # Commit to get the human.id
|
20
21
|
|
21
|
-
return human.id
|
22
|
+
return human.id
|
23
|
+
|
24
|
+
# session = create_session("hockey-blast-radonly")
|
25
|
+
# human_id = get_fake_human_for_stats(session)
|
26
|
+
# print(f"Human ID: {human_id}")
|
{hockey_blast_common_lib-0.1.4.dist-info → hockey_blast_common_lib-0.1.6.dist-info}/METADATA
RENAMED
@@ -1,18 +1,11 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: hockey-blast-common-lib
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.6
|
4
4
|
Summary: Common library for shared functionality and DB models
|
5
|
-
Home-page: UNKNOWN
|
6
5
|
Author: Pavel Kletskov
|
7
6
|
Author-email: kletskov@gmail.com
|
8
|
-
License: UNKNOWN
|
9
|
-
Platform: UNKNOWN
|
10
7
|
Requires-Python: >=3.7
|
11
8
|
Requires-Dist: setuptools
|
12
9
|
Requires-Dist: Flask-SQLAlchemy
|
13
10
|
Requires-Dist: SQLAlchemy
|
14
11
|
Requires-Dist: requests
|
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=GjtcQsSilR55GlLuFAzIGhEVYG3cve7KBkUggW03tDo,767
|
4
|
+
hockey_blast_common_lib/models.py,sha256=Sfq1dwaDx4fQpfd66o1R_3AyRNKv34vjnvY4B-ebqg8,33910
|
5
|
+
hockey_blast_common_lib-0.1.6.dist-info/METADATA,sha256=y5wsjzJGFDx-qdCYnAABIwIXdwPJcYgrj0zCuaUTOFE,317
|
6
|
+
hockey_blast_common_lib-0.1.6.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
7
|
+
hockey_blast_common_lib-0.1.6.dist-info/top_level.txt,sha256=wIR4LIkE40npoA2QlOdfCYlgFeGbsHR8Z6r0h46Vtgc,24
|
8
|
+
hockey_blast_common_lib-0.1.6.dist-info/RECORD,,
|
@@ -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=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,,
|
{hockey_blast_common_lib-0.1.4.dist-info → hockey_blast_common_lib-0.1.6.dist-info}/top_level.txt
RENAMED
File without changes
|