memra 0.2.11__tar.gz → 0.2.12__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.
Files changed (98) hide show
  1. {memra-0.2.11 → memra-0.2.12}/PKG-INFO +1 -1
  2. {memra-0.2.11 → memra-0.2.12}/memra/__init__.py +1 -1
  3. {memra-0.2.11 → memra-0.2.12}/memra/cli.py +15 -1
  4. {memra-0.2.11 → memra-0.2.12}/pyproject.toml +1 -1
  5. {memra-0.2.11 → memra-0.2.12}/setup.py +1 -1
  6. {memra-0.2.11 → memra-0.2.12}/CHANGELOG.md +0 -0
  7. {memra-0.2.11 → memra-0.2.12}/LICENSE +0 -0
  8. {memra-0.2.11 → memra-0.2.12}/MANIFEST.in +0 -0
  9. {memra-0.2.11 → memra-0.2.12}/README.md +0 -0
  10. {memra-0.2.11 → memra-0.2.12}/demos/etl_invoice_processing/data/.DS_Store +0 -0
  11. {memra-0.2.11 → memra-0.2.12}/demos/etl_invoice_processing/data/README.md +0 -0
  12. {memra-0.2.11 → memra-0.2.12}/demos/etl_invoice_processing/data/invoices/.DS_Store +0 -0
  13. {memra-0.2.11 → memra-0.2.12}/demos/etl_invoice_processing/data/invoices/10352259401.PDF +0 -0
  14. {memra-0.2.11 → memra-0.2.12}/demos/etl_invoice_processing/data/invoices/10352259823.PDF +0 -0
  15. {memra-0.2.11 → memra-0.2.12}/demos/etl_invoice_processing/data/invoices/10352260169.PDF +0 -0
  16. {memra-0.2.11 → memra-0.2.12}/demos/etl_invoice_processing/data/invoices/10352260417.PDF +0 -0
  17. {memra-0.2.11 → memra-0.2.12}/demos/etl_invoice_processing/data/invoices/10352260599.PDF +0 -0
  18. {memra-0.2.11 → memra-0.2.12}/demos/etl_invoice_processing/data/invoices/10352260912.PDF +0 -0
  19. {memra-0.2.11 → memra-0.2.12}/demos/etl_invoice_processing/data/invoices/10352261134.PDF +0 -0
  20. {memra-0.2.11 → memra-0.2.12}/demos/etl_invoice_processing/data/invoices/10352261563.PDF +0 -0
  21. {memra-0.2.11 → memra-0.2.12}/demos/etl_invoice_processing/data/invoices/10352261647.PDF +0 -0
  22. {memra-0.2.11 → memra-0.2.12}/demos/etl_invoice_processing/data/invoices/10352261720.PDF +0 -0
  23. {memra-0.2.11 → memra-0.2.12}/demos/etl_invoice_processing/data/invoices/10352261811.PDF +0 -0
  24. {memra-0.2.11 → memra-0.2.12}/demos/etl_invoice_processing/data/invoices/10352262025.PDF +0 -0
  25. {memra-0.2.11 → memra-0.2.12}/demos/etl_invoice_processing/data/invoices/10352262454.PDF +0 -0
  26. {memra-0.2.11 → memra-0.2.12}/demos/etl_invoice_processing/data/invoices/10352262702.PDF +0 -0
  27. {memra-0.2.11 → memra-0.2.12}/demos/etl_invoice_processing/data/invoices/10352262884.PDF +0 -0
  28. {memra-0.2.11 → memra-0.2.12}/demos/etl_invoice_processing/data/invoices/10352263346.PDF +0 -0
  29. {memra-0.2.11 → memra-0.2.12}/demos/etl_invoice_processing/data/invoices/10352263429.PDF +0 -0
  30. {memra-0.2.11 → memra-0.2.12}/demos/etl_invoice_processing/data/invoices/invoice_005.pdf +0 -0
  31. {memra-0.2.11 → memra-0.2.12}/demos/etl_invoice_processing/database_monitor_agent.py +0 -0
  32. {memra-0.2.11 → memra-0.2.12}/demos/etl_invoice_processing/etl_invoice_demo.py +0 -0
  33. {memra-0.2.11 → memra-0.2.12}/demos/etl_invoice_processing/setup_demo_data.py +0 -0
  34. {memra-0.2.11 → memra-0.2.12}/demos/etl_invoice_processing/simple_pdf_processor.py +0 -0
  35. {memra-0.2.11 → memra-0.2.12}/mcp_bridge_server.py +0 -0
  36. {memra-0.2.11 → memra-0.2.12}/memra/discovery.py +0 -0
  37. {memra-0.2.11 → memra-0.2.12}/memra/discovery_client.py +0 -0
  38. {memra-0.2.11 → memra-0.2.12}/memra/execution.py +0 -0
  39. {memra-0.2.11 → memra-0.2.12}/memra/models.py +0 -0
  40. {memra-0.2.11 → memra-0.2.12}/memra/tool_registry.py +0 -0
  41. {memra-0.2.11 → memra-0.2.12}/memra/tool_registry_client.py +0 -0
  42. {memra-0.2.11 → memra-0.2.12}/memra-ops/app.py +0 -0
  43. {memra-0.2.11 → memra-0.2.12}/memra-ops/config/config.py +0 -0
  44. {memra-0.2.11 → memra-0.2.12}/memra-ops/config.py +0 -0
  45. {memra-0.2.11 → memra-0.2.12}/memra-ops/logic/__init__.py +0 -0
  46. {memra-0.2.11 → memra-0.2.12}/memra-ops/logic/file_tools.py +0 -0
  47. {memra-0.2.11 → memra-0.2.12}/memra-ops/logic/invoice_tools.py +0 -0
  48. {memra-0.2.11 → memra-0.2.12}/memra-ops/logic/invoice_tools_fix.py +0 -0
  49. {memra-0.2.11 → memra-0.2.12}/memra-ops/mcp_bridge_server.py +0 -0
  50. {memra-0.2.11 → memra-0.2.12}/memra-ops/scripts/check_database.py +0 -0
  51. {memra-0.2.11 → memra-0.2.12}/memra-ops/scripts/clear_database.py +0 -0
  52. {memra-0.2.11 → memra-0.2.12}/memra-ops/scripts/monitor_database.py +0 -0
  53. {memra-0.2.11 → memra-0.2.12}/memra-ops/scripts/release.py +0 -0
  54. {memra-0.2.11 → memra-0.2.12}/memra-ops/scripts/reset_database.py +0 -0
  55. {memra-0.2.11 → memra-0.2.12}/memra-ops/scripts/start_memra.py +0 -0
  56. {memra-0.2.11 → memra-0.2.12}/memra-ops/scripts/stop_memra.py +0 -0
  57. {memra-0.2.11 → memra-0.2.12}/memra-ops/server_tool_registry.py +0 -0
  58. {memra-0.2.11 → memra-0.2.12}/memra-ops/tests/test_llm_text_to_sql.py +0 -0
  59. {memra-0.2.11 → memra-0.2.12}/memra-ops/tests/test_llm_vs_pattern.py +0 -0
  60. {memra-0.2.11 → memra-0.2.12}/memra-ops/tests/test_mcp_schema_aware.py +0 -0
  61. {memra-0.2.11 → memra-0.2.12}/memra-ops/tests/test_schema_aware_sql.py +0 -0
  62. {memra-0.2.11 → memra-0.2.12}/memra-ops/tests/test_schema_aware_sql_simple.py +0 -0
  63. {memra-0.2.11 → memra-0.2.12}/memra-ops/tests/test_text_to_sql_demo.py +0 -0
  64. {memra-0.2.11 → memra-0.2.12}/memra-ops/tools/mcp_bridge_server.py +0 -0
  65. {memra-0.2.11 → memra-0.2.12}/memra-sdk/examples/accounts_payable.py +0 -0
  66. {memra-0.2.11 → memra-0.2.12}/memra-sdk/examples/accounts_payable_client.py +0 -0
  67. {memra-0.2.11 → memra-0.2.12}/memra-sdk/examples/accounts_payable_mcp.py +0 -0
  68. {memra-0.2.11 → memra-0.2.12}/memra-sdk/examples/ask_questions.py +0 -0
  69. {memra-0.2.11 → memra-0.2.12}/memra-sdk/examples/invoice_processing.py +0 -0
  70. {memra-0.2.11 → memra-0.2.12}/memra-sdk/examples/propane_delivery.py +0 -0
  71. {memra-0.2.11 → memra-0.2.12}/memra-sdk/examples/simple_text_to_sql.py +0 -0
  72. {memra-0.2.11 → memra-0.2.12}/memra-sdk/memra/__init__.py +0 -0
  73. {memra-0.2.11 → memra-0.2.12}/memra-sdk/memra/discovery.py +0 -0
  74. {memra-0.2.11 → memra-0.2.12}/memra-sdk/memra/discovery_client.py +0 -0
  75. {memra-0.2.11 → memra-0.2.12}/memra-sdk/memra/execution.py +0 -0
  76. {memra-0.2.11 → memra-0.2.12}/memra-sdk/memra/models.py +0 -0
  77. {memra-0.2.11 → memra-0.2.12}/memra-sdk/memra/tool_registry.py +0 -0
  78. {memra-0.2.11 → memra-0.2.12}/memra-sdk/memra/tool_registry_client.py +0 -0
  79. {memra-0.2.11 → memra-0.2.12}/memra-sdk/scripts/release.py +0 -0
  80. {memra-0.2.11 → memra-0.2.12}/memra-sdk/setup.py +0 -0
  81. {memra-0.2.11 → memra-0.2.12}/memra-workflows/accounts_payable/accounts_payable.py +0 -0
  82. {memra-0.2.11 → memra-0.2.12}/memra-workflows/accounts_payable/accounts_payable_client.py +0 -0
  83. {memra-0.2.11 → memra-0.2.12}/memra-workflows/accounts_payable/accounts_payable_mcp.py +0 -0
  84. {memra-0.2.11 → memra-0.2.12}/memra-workflows/accounts_payable/accounts_payable_smart.py +0 -0
  85. {memra-0.2.11 → memra-0.2.12}/memra-workflows/invoice_processing/invoice_processing.py +0 -0
  86. {memra-0.2.11 → memra-0.2.12}/memra-workflows/invoice_processing/smart_invoice_processor.py +0 -0
  87. {memra-0.2.11 → memra-0.2.12}/memra-workflows/logic/__init__.py +0 -0
  88. {memra-0.2.11 → memra-0.2.12}/memra-workflows/logic/file_tools.py +0 -0
  89. {memra-0.2.11 → memra-0.2.12}/memra-workflows/logic/invoice_tools.py +0 -0
  90. {memra-0.2.11 → memra-0.2.12}/memra-workflows/logic/propane_agents.py +0 -0
  91. {memra-0.2.11 → memra-0.2.12}/memra-workflows/mcp_bridge_server.py +0 -0
  92. {memra-0.2.11 → memra-0.2.12}/memra-workflows/propane_delivery/propane_delivery.py +0 -0
  93. {memra-0.2.11 → memra-0.2.12}/memra-workflows/text_to_sql/complete_invoice_workflow_with_queries.py +0 -0
  94. {memra-0.2.11 → memra-0.2.12}/memra-workflows/text_to_sql/complete_text_to_sql_system.py +0 -0
  95. {memra-0.2.11 → memra-0.2.12}/memra-workflows/text_to_sql/file_discovery_demo.py +0 -0
  96. {memra-0.2.11 → memra-0.2.12}/memra.egg-info/SOURCES.txt +0 -0
  97. {memra-0.2.11 → memra-0.2.12}/requirements.txt +0 -0
  98. {memra-0.2.11 → memra-0.2.12}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: memra
3
- Version: 0.2.11
3
+ Version: 0.2.12
4
4
  Summary: Declarative framework for enterprise workflows with MCP integration - Client SDK
5
5
  Home-page: https://github.com/memra/memra-sdk
6
6
  Author: Memra
@@ -6,7 +6,7 @@ Think of it as "Kubernetes for business logic" where agents are the pods and
6
6
  departments are the deployments.
7
7
  """
8
8
 
9
- __version__ = "0.2.11"
9
+ __version__ = "0.2.12"
10
10
 
11
11
  # Core imports
12
12
  from .models import Agent, Department, Tool, LLM
@@ -351,9 +351,23 @@ def wait_for_services():
351
351
  """Wait for services to be ready"""
352
352
  print("⏳ Waiting for PostgreSQL to be ready...")
353
353
 
354
- # Wait for PostgreSQL
354
+ # Wait for PostgreSQL - try both possible container names
355
355
  for i in range(30): # Wait up to 30 seconds
356
356
  try:
357
+ # Try the memra-ops container name first
358
+ result = subprocess.run([
359
+ 'docker', 'exec', 'memra-ops_postgres_1',
360
+ 'pg_isready', '-U', 'postgres', '-d', 'local_workflow'
361
+ ], capture_output=True, text=True)
362
+
363
+ if result.returncode == 0:
364
+ print("✅ PostgreSQL is ready")
365
+ break
366
+ except:
367
+ pass
368
+
369
+ try:
370
+ # Fallback to the old container name
357
371
  result = subprocess.run([
358
372
  'docker', 'exec', 'memra_postgres',
359
373
  'pg_isready', '-U', 'postgres', '-d', 'local_workflow'
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "memra"
7
- version = "0.2.11"
7
+ version = "0.2.12"
8
8
  description = "Declarative framework for enterprise workflows with MCP integration - Client SDK"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
5
5
 
6
6
  setup(
7
7
  name="memra",
8
- version="0.2.11",
8
+ version="0.2.12",
9
9
  author="Memra",
10
10
  author_email="support@memra.com",
11
11
  description="Declarative framework for enterprise workflows with MCP integration - Client SDK",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes