hockey-blast-common-lib 0.1.5__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.
@@ -1,13 +1,11 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hockey-blast-common-lib
3
- Version: 0.1.5
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
- UNKNOWN
13
-
8
+ Requires-Dist: setuptools
9
+ Requires-Dist: Flask-SQLAlchemy
10
+ Requires-Dist: SQLAlchemy
11
+ Requires-Dist: requests
@@ -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.5
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
- UNKNOWN
13
-
8
+ Requires-Dist: setuptools
9
+ Requires-Dist: Flask-SQLAlchemy
10
+ Requires-Dist: SQLAlchemy
11
+ Requires-Dist: requests
@@ -2,4 +2,3 @@ setuptools
2
2
  Flask-SQLAlchemy
3
3
  SQLAlchemy
4
4
  requests
5
- psycopg2
@@ -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',
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
  )