MEDfl 0.1.22__py3-none-any.whl → 0.1.23__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: Medfl
3
- Version: 0.1.22
3
+ Version: 0.1.23
4
4
  Summary: Python Open-source package for simulating federated learning and differential privacy
5
5
  Home-page: https://github.com/HaithemLamri/MEDfl
6
6
  Author: MEDomics consortium
@@ -19,14 +19,14 @@ Medfl/NetManager/net_helper.py,sha256=VYJPVI65wo34X9GO9t1joNGPr3TutZdxfva-X6P3MS
19
19
  Medfl/NetManager/net_manager_queries.py,sha256=2dfhba0iuh40kVoC7am-vC4Hlrvr-zfJ5ESymsI1Kps,4327
20
20
  Medfl/NetManager/network.py,sha256=m6TOnzVCWOJME6fUUZ25ZpQedDeRn4O-tdE5HPVqOvw,5519
21
21
  Medfl/NetManager/node.py,sha256=Mua63zKs865bSu3QKfLJx7pxYdEXpPxDSCMRhDYNhms,6475
22
- Medfl-0.1.22.data/scripts/setup_mysql.sh,sha256=PXl271yvYBrXwrZ7P0tsYHnGkOubKvRaFee4MnzsSko,560
22
+ Medfl-0.1.23.data/scripts/setup_mysql.sh,sha256=PXl271yvYBrXwrZ7P0tsYHnGkOubKvRaFee4MnzsSko,560
23
23
  alembic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
24
  alembic/env.py,sha256=a4zJAzPNLHnIrUlXCqf_8vuAlFu0pceFJJKM1PQaOI4,1649
25
25
  scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
26
  scripts/base.py,sha256=B0KKbl9Czh4HhExmO41tdbI2-g1OyiW2ArYhLYgKNEw,778
27
27
  scripts/config.ini,sha256=tDQQlpwZbCFQuSS017yjEiLglLihp6wETbWtNrSWeAA,82
28
- scripts/create_db.py,sha256=TyOEFTV5pXECAb15NDgn_-jQfIiHx15MpMnscorHl6o,4216
29
- Medfl-0.1.22.dist-info/METADATA,sha256=l1gbhi4ApKwVZulM6xyc4weG7V0tR6kE7SHnQN8hYHc,5577
30
- Medfl-0.1.22.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
31
- Medfl-0.1.22.dist-info/top_level.txt,sha256=CmLt1TC7PJj-V55rhffMZ9LSOiuSaaEbz9FJm_zOw_E,22
32
- Medfl-0.1.22.dist-info/RECORD,,
28
+ scripts/create_db.py,sha256=vxgpb1FtF8QYbhQGhUxKJPb6cWn3mQ0PHjwfeoaH-dk,4272
29
+ Medfl-0.1.23.dist-info/METADATA,sha256=k76WOAbqZNi05S-LN5iOtKFHzHjzyzj2Ajn_n8Liqe0,5577
30
+ Medfl-0.1.23.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
31
+ Medfl-0.1.23.dist-info/top_level.txt,sha256=CmLt1TC7PJj-V55rhffMZ9LSOiuSaaEbz9FJm_zOw_E,22
32
+ Medfl-0.1.23.dist-info/RECORD,,
scripts/create_db.py CHANGED
@@ -14,9 +14,14 @@ def main(csv_file_path):
14
14
  mysql_config = load_db_config()
15
15
 
16
16
 
17
+ print('Step 1')
18
+
17
19
  mydb = mysql.connector.connect(host=mysql_config['host'], user=mysql_config['user'], password=mysql_config['password'])
18
20
  mycursor = mydb.cursor()
19
21
 
22
+ print('Step 2')
23
+
24
+
20
25
  # Create the 'MEDfl' database if it doesn't exist
21
26
  mycursor.execute("CREATE DATABASE IF NOT EXISTS MEDfl")
22
27
 
File without changes