hockey-blast-common-lib 0.1.4__tar.gz → 0.1.6__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.4 → hockey_blast_common_lib-0.1.6}/PKG-INFO +5 -7
- {hockey-blast-common-lib-0.1.4 → hockey_blast_common_lib-0.1.6}/hockey_blast_common_lib/db_utils.py +6 -1
- {hockey-blast-common-lib-0.1.4 → hockey_blast_common_lib-0.1.6}/hockey_blast_common_lib.egg-info/PKG-INFO +5 -7
- {hockey-blast-common-lib-0.1.4 → hockey_blast_common_lib-0.1.6}/hockey_blast_common_lib.egg-info/requires.txt +0 -1
- {hockey-blast-common-lib-0.1.4 → hockey_blast_common_lib-0.1.6}/setup.py +1 -2
- {hockey-blast-common-lib-0.1.4 → hockey_blast_common_lib-0.1.6}/README.md +0 -0
- {hockey-blast-common-lib-0.1.4 → hockey_blast_common_lib-0.1.6}/hockey_blast_common_lib/__init__.py +0 -0
- {hockey-blast-common-lib-0.1.4 → hockey_blast_common_lib-0.1.6}/hockey_blast_common_lib/db_connection.py +0 -0
- {hockey-blast-common-lib-0.1.4 → hockey_blast_common_lib-0.1.6}/hockey_blast_common_lib/models.py +0 -0
- {hockey-blast-common-lib-0.1.4 → hockey_blast_common_lib-0.1.6}/hockey_blast_common_lib.egg-info/SOURCES.txt +0 -0
- {hockey-blast-common-lib-0.1.4 → hockey_blast_common_lib-0.1.6}/hockey_blast_common_lib.egg-info/dependency_links.txt +0 -0
- {hockey-blast-common-lib-0.1.4 → hockey_blast_common_lib-0.1.6}/hockey_blast_common_lib.egg-info/top_level.txt +0 -0
- {hockey-blast-common-lib-0.1.4 → hockey_blast_common_lib-0.1.6}/setup.cfg +0 -0
@@ -1,13 +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
|
-
|
12
|
-
|
13
|
-
|
8
|
+
Requires-Dist: setuptools
|
9
|
+
Requires-Dist: Flask-SQLAlchemy
|
10
|
+
Requires-Dist: SQLAlchemy
|
11
|
+
Requires-Dist: requests
|
{hockey-blast-common-lib-0.1.4 → hockey_blast_common_lib-0.1.6}/hockey_blast_common_lib/db_utils.py
RENAMED
@@ -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}")
|
@@ -1,13 +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
|
-
|
12
|
-
|
13
|
-
|
8
|
+
Requires-Dist: setuptools
|
9
|
+
Requires-Dist: Flask-SQLAlchemy
|
10
|
+
Requires-Dist: SQLAlchemy
|
11
|
+
Requires-Dist: requests
|
@@ -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.6',
|
6
6
|
description='Common library for shared functionality and DB models',
|
7
7
|
author='Pavel Kletskov',
|
8
8
|
author_email='kletskov@gmail.com',
|
@@ -12,7 +12,6 @@ setup(
|
|
12
12
|
"Flask-SQLAlchemy", # For Flask database interactions
|
13
13
|
"SQLAlchemy", # For database interactions
|
14
14
|
"requests", # For HTTP requests
|
15
|
-
"psycopg2", # For PostgreSQL database connections
|
16
15
|
],
|
17
16
|
python_requires='>=3.7', # Specify the Python version compatibility
|
18
17
|
)
|
File without changes
|
{hockey-blast-common-lib-0.1.4 → hockey_blast_common_lib-0.1.6}/hockey_blast_common_lib/__init__.py
RENAMED
File without changes
|
File without changes
|
{hockey-blast-common-lib-0.1.4 → hockey_blast_common_lib-0.1.6}/hockey_blast_common_lib/models.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|