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.
@@ -1,12 +1,13 @@
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
- Requires-Dist: setuptools
9
- Requires-Dist: Flask-SQLAlchemy
10
- Requires-Dist: SQLAlchemy
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",
@@ -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,13 @@
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
- Requires-Dist: setuptools
9
- Requires-Dist: Flask-SQLAlchemy
10
- Requires-Dist: SQLAlchemy
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.3',
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',