medicafe 0.250806.1__tar.gz → 0.250806.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.

Potentially problematic release.


This version of medicafe might be problematic. Click here for more details.

Files changed (74) hide show
  1. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediBot/MediBot.bat +17 -1
  2. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediCafe/migration_helpers.py +9 -9
  3. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediCafe/smart_import.py +17 -17
  4. {medicafe-0.250806.1 → medicafe-0.250806.4}/PKG-INFO +1 -1
  5. {medicafe-0.250806.1 → medicafe-0.250806.4}/medicafe.egg-info/PKG-INFO +1 -1
  6. {medicafe-0.250806.1 → medicafe-0.250806.4}/setup.py +1 -1
  7. {medicafe-0.250806.1 → medicafe-0.250806.4}/LICENSE +0 -0
  8. {medicafe-0.250806.1 → medicafe-0.250806.4}/MANIFEST.in +0 -0
  9. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediBot/MediBot.py +0 -0
  10. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediBot/MediBot_Charges.py +0 -0
  11. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediBot/MediBot_Crosswalk_Library.py +0 -0
  12. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediBot/MediBot_Crosswalk_Utils.py +0 -0
  13. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediBot/MediBot_Post.py +0 -0
  14. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediBot/MediBot_Preprocessor.py +0 -0
  15. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediBot/MediBot_Preprocessor_lib.py +0 -0
  16. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediBot/MediBot_UI.py +0 -0
  17. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediBot/MediBot_dataformat_library.py +0 -0
  18. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediBot/MediBot_docx_decoder.py +0 -0
  19. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediBot/MediBot_smart_import.py +0 -0
  20. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediBot/__init__.py +0 -0
  21. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediBot/get_medicafe_version.py +0 -0
  22. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediBot/update_json.py +0 -0
  23. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediBot/update_medicafe.py +0 -0
  24. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediCafe/MediLink_ConfigLoader.py +0 -0
  25. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediCafe/__init__.py +0 -0
  26. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediCafe/__main__.py +0 -0
  27. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediCafe/api_core.py +0 -0
  28. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediCafe/api_core_backup.py +0 -0
  29. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediCafe/api_factory.py +0 -0
  30. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediCafe/api_utils.py +0 -0
  31. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediCafe/core_utils.py +0 -0
  32. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediCafe/graphql_utils.py +0 -0
  33. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediCafe/logging_config.py +0 -0
  34. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediCafe/logging_demo.py +0 -0
  35. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/MediLink_837p_cob_library.py +0 -0
  36. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/MediLink_837p_encoder.py +0 -0
  37. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/MediLink_837p_encoder_library.py +0 -0
  38. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/MediLink_837p_utilities.py +0 -0
  39. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/MediLink_API_Generator.py +0 -0
  40. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/MediLink_Azure.py +0 -0
  41. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/MediLink_ClaimStatus.py +0 -0
  42. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/MediLink_DataMgmt.py +0 -0
  43. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/MediLink_Decoder.py +0 -0
  44. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/MediLink_Deductible.py +0 -0
  45. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/MediLink_Deductible_Validator.py +0 -0
  46. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/MediLink_Display_Utils.py +0 -0
  47. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/MediLink_Down.py +0 -0
  48. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/MediLink_Gmail.py +0 -0
  49. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/MediLink_Mailer.py +0 -0
  50. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/MediLink_Parser.py +0 -0
  51. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/MediLink_PatientProcessor.py +0 -0
  52. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/MediLink_Scan.py +0 -0
  53. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/MediLink_Scheduler.py +0 -0
  54. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/MediLink_UI.py +0 -0
  55. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/MediLink_Up.py +0 -0
  56. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/MediLink_insurance_utils.py +0 -0
  57. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/MediLink_main.py +0 -0
  58. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/MediLink_smart_import.py +0 -0
  59. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/Soumit_api.py +0 -0
  60. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/__init__.py +0 -0
  61. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/insurance_type_integration_test.py +0 -0
  62. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/openssl.cnf +0 -0
  63. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/test.py +0 -0
  64. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/test_cob_library.py +0 -0
  65. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/test_timing.py +0 -0
  66. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/test_validation.py +0 -0
  67. {medicafe-0.250806.1 → medicafe-0.250806.4}/MediLink/webapp.html +0 -0
  68. {medicafe-0.250806.1 → medicafe-0.250806.4}/medicafe.egg-info/SOURCES.txt +0 -0
  69. {medicafe-0.250806.1 → medicafe-0.250806.4}/medicafe.egg-info/dependency_links.txt +0 -0
  70. {medicafe-0.250806.1 → medicafe-0.250806.4}/medicafe.egg-info/entry_points.txt +0 -0
  71. {medicafe-0.250806.1 → medicafe-0.250806.4}/medicafe.egg-info/not-zip-safe +0 -0
  72. {medicafe-0.250806.1 → medicafe-0.250806.4}/medicafe.egg-info/requires.txt +0 -0
  73. {medicafe-0.250806.1 → medicafe-0.250806.4}/medicafe.egg-info/top_level.txt +0 -0
  74. {medicafe-0.250806.1 → medicafe-0.250806.4}/setup.cfg +0 -0
@@ -529,7 +529,23 @@ cls
529
529
  echo Clearing Python cache for MediCafe...
530
530
  echo.
531
531
  cd /d "%~dp0.."
532
- python "MediBot\update_medicafe.py" --clear-cache
532
+
533
+ :: Check if update_medicafe.py exists in the moved location first
534
+ if exist "F:\Medibot\update_medicafe.py" (
535
+ echo Found update_medicafe.py in F:\Medibot\ - using moved location
536
+ python "F:\Medibot\update_medicafe.py" --clear-cache
537
+ ) else if exist "MediBot\update_medicafe.py" (
538
+ echo Found update_medicafe.py in original location - using relative path
539
+ python "MediBot\update_medicafe.py" --clear-cache
540
+ ) else (
541
+ echo ERROR: update_medicafe.py not found in either location
542
+ echo Expected locations:
543
+ echo - F:\Medibot\update_medicafe.py
544
+ echo - MediBot\update_medicafe.py
545
+ pause
546
+ goto main_menu
547
+ )
548
+
533
549
  if errorlevel 1 (
534
550
  echo Cache clearing failed.
535
551
  pause
@@ -27,7 +27,7 @@ import importlib
27
27
  # from pathlib import Path # Replaced with os.path for Python 3.4.4 compatibility
28
28
  import warnings
29
29
 
30
- def analyze_module_imports(file_path: str) -> Dict[str, Any]:
30
+ def analyze_module_imports(file_path):
31
31
  """Analyze the import statements in a Python module."""
32
32
  try:
33
33
  with open(file_path, 'r', encoding='utf-8') as f:
@@ -85,7 +85,7 @@ def analyze_module_imports(file_path: str) -> Dict[str, Any]:
85
85
  'migration_complexity': _assess_migration_complexity(imports)
86
86
  }
87
87
 
88
- def _categorize_import(module_name: str, imports: Dict, names: Optional[List] = None) -> Dict:
88
+ def _categorize_import(module_name, imports, names=None):
89
89
  """Categorize an import based on the module name."""
90
90
  import_info = {
91
91
  'module': module_name,
@@ -107,7 +107,7 @@ def _categorize_import(module_name: str, imports: Dict, names: Optional[List] =
107
107
 
108
108
  return imports
109
109
 
110
- def _generate_smart_import_suggestions(imports: Dict) -> List[Dict[str, str]]:
110
+ def _generate_smart_import_suggestions(imports):
111
111
  """Generate suggestions for using smart import system."""
112
112
  suggestions = []
113
113
 
@@ -164,7 +164,7 @@ def _assess_migration_complexity(imports: Dict) -> str:
164
164
  else:
165
165
  return 'high'
166
166
 
167
- def suggest_migration(file_path: str) -> Dict[str, Any]:
167
+ def suggest_migration(file_path):
168
168
  """Generate detailed migration suggestions for a module."""
169
169
  analysis = analyze_module_imports(file_path)
170
170
 
@@ -196,7 +196,7 @@ def suggest_migration(file_path: str) -> Dict[str, Any]:
196
196
  'estimated_effort': _estimate_migration_effort(analysis)
197
197
  }
198
198
 
199
- def _determine_module_type(file_path: str) -> Optional[str]:
199
+ def _determine_module_type(file_path):
200
200
  """Determine the appropriate module type based on file path and name."""
201
201
  file_name = os.path.basename(file_path).lower()
202
202
 
@@ -247,7 +247,7 @@ logging_config = components.get('logging_config')
247
247
  """
248
248
  return example.strip()
249
249
 
250
- def _generate_component_suggestions(analysis: Dict) -> List[Dict]:
250
+ def _generate_component_suggestions(analysis):
251
251
  """Generate specific component-level suggestions."""
252
252
  suggestions = []
253
253
 
@@ -299,7 +299,7 @@ def _estimate_migration_effort(analysis: Dict) -> str:
299
299
  else:
300
300
  return 'Significant (> 60 minutes)'
301
301
 
302
- def validate_smart_import_system() -> Dict[str, Any]:
302
+ def validate_smart_import_system():
303
303
  """Validate the smart import system functionality."""
304
304
  results = {
305
305
  'system_available': False,
@@ -341,7 +341,7 @@ def validate_smart_import_system() -> Dict[str, Any]:
341
341
 
342
342
  return results
343
343
 
344
- def batch_analyze_directory(directory: str, pattern: str = "*.py") -> Dict[str, Any]:
344
+ def batch_analyze_directory(directory, pattern="*.py"):
345
345
  """Analyze all Python files in a directory for migration opportunities."""
346
346
  directory_path = directory
347
347
 
@@ -378,7 +378,7 @@ def batch_analyze_directory(directory: str, pattern: str = "*.py") -> Dict[str,
378
378
 
379
379
  return results
380
380
 
381
- def generate_migration_report(directories: List[str]) -> str:
381
+ def generate_migration_report(directories):
382
382
  """Generate a comprehensive migration report for multiple directories."""
383
383
  report_lines = [
384
384
  "MediCafe Smart Import System - Migration Report",
@@ -34,17 +34,17 @@ import os
34
34
  import warnings
35
35
 
36
36
  # Define typing aliases for Python 3.4.4 compatibility
37
- try:
38
- from typing import Any, Dict, List, Optional, Union, Tuple, Set
39
- except ImportError:
40
- # Python 3.4.4 compatibility - define as object
41
- Any = object
42
- Dict = dict
43
- List = list
44
- Optional = object
45
- Union = object
46
- Tuple = tuple
47
- Set = set
37
+ # Removed typing import to prevent subscriptable type errors in Python 3.4
38
+ # from typing import Any, Dict, List, Optional, Union, Tuple, Set # Removed for Python 3.4.4 compatibility
39
+
40
+ # Python 3.4.4 compatibility - define as basic types
41
+ Any = object
42
+ Dict = dict
43
+ List = list
44
+ Optional = object
45
+ Union = object
46
+ Tuple = tuple
47
+ Set = set
48
48
 
49
49
  class ComponentRegistry:
50
50
  """Registry for managing all available components and their dependencies."""
@@ -261,7 +261,7 @@ class ComponentProvider:
261
261
  results.append(component)
262
262
  return tuple(results)
263
263
 
264
- def for_module(self, module_type: str, silent_fail: bool = False) -> Dict[str, Any]:
264
+ def for_module(self, module_type, silent_fail=False):
265
265
  """Get all components needed for a specific module type."""
266
266
  if module_type not in self.registry._module_configs:
267
267
  available_types = list(self.registry._module_configs.keys())
@@ -296,19 +296,19 @@ class ComponentProvider:
296
296
 
297
297
  return components
298
298
 
299
- def get_api_suite(self) -> Dict[str, Any]:
299
+ def get_api_suite(self):
300
300
  """Get the complete API access suite."""
301
301
  return self.for_module('general_api_access')
302
302
 
303
- def get_medibot_suite(self, module_type: str = 'medibot_preprocessor') -> Dict[str, Any]:
303
+ def get_medibot_suite(self, module_type='medibot_preprocessor'):
304
304
  """Get components specifically for MediBot operations."""
305
305
  return self.for_module(module_type)
306
306
 
307
- def get_medilink_suite(self, module_type: str = 'medilink_main') -> Dict[str, Any]:
307
+ def get_medilink_suite(self, module_type='medilink_main'):
308
308
  """Get components specifically for MediLink operations."""
309
309
  return self.for_module(module_type)
310
310
 
311
- def list_available_components(self) -> List[str]:
311
+ def list_available_components(self):
312
312
  """List all available component names."""
313
313
  # Get component mappings from registry's _load_component method
314
314
  component_mappings = {
@@ -327,7 +327,7 @@ class ComponentProvider:
327
327
  }
328
328
  return sorted(list(component_mappings))
329
329
 
330
- def list_available_module_types(self) -> List[str]:
330
+ def list_available_module_types(self):
331
331
  """List all available module type configurations."""
332
332
  return sorted(list(self.registry._module_configs.keys()))
333
333
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: medicafe
3
- Version: 0.250806.1
3
+ Version: 0.250806.4
4
4
  Summary: MediCafe
5
5
  Home-page: https://github.com/katanada2
6
6
  Author: Daniel Vidaud
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: medicafe
3
- Version: 0.250806.1
3
+ Version: 0.250806.4
4
4
  Summary: MediCafe
5
5
  Home-page: https://github.com/katanada2
6
6
  Author: Daniel Vidaud
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='medicafe',
5
- version="0.250806.1",
5
+ version="0.250806.4",
6
6
  description='MediCafe',
7
7
  long_description="""
8
8
  # Project Overview: MediCafe
File without changes
File without changes
File without changes