memra 0.2.9__tar.gz → 0.2.10__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.9 → memra-0.2.10}/PKG-INFO +1 -1
  2. {memra-0.2.9 → memra-0.2.10}/memra/__init__.py +1 -1
  3. {memra-0.2.9 → memra-0.2.10}/memra/cli.py +35 -0
  4. {memra-0.2.9 → memra-0.2.10}/pyproject.toml +1 -1
  5. {memra-0.2.9 → memra-0.2.10}/setup.py +1 -1
  6. {memra-0.2.9 → memra-0.2.10}/CHANGELOG.md +0 -0
  7. {memra-0.2.9 → memra-0.2.10}/LICENSE +0 -0
  8. {memra-0.2.9 → memra-0.2.10}/MANIFEST.in +0 -0
  9. {memra-0.2.9 → memra-0.2.10}/README.md +0 -0
  10. {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/.DS_Store +0 -0
  11. {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/README.md +0 -0
  12. {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/.DS_Store +0 -0
  13. {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352259401.PDF +0 -0
  14. {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352259823.PDF +0 -0
  15. {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352260169.PDF +0 -0
  16. {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352260417.PDF +0 -0
  17. {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352260599.PDF +0 -0
  18. {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352260912.PDF +0 -0
  19. {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352261134.PDF +0 -0
  20. {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352261563.PDF +0 -0
  21. {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352261647.PDF +0 -0
  22. {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352261720.PDF +0 -0
  23. {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352261811.PDF +0 -0
  24. {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352262025.PDF +0 -0
  25. {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352262454.PDF +0 -0
  26. {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352262702.PDF +0 -0
  27. {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352262884.PDF +0 -0
  28. {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352263346.PDF +0 -0
  29. {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352263429.PDF +0 -0
  30. {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/invoice_005.pdf +0 -0
  31. {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/database_monitor_agent.py +0 -0
  32. {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/etl_invoice_demo.py +0 -0
  33. {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/setup_demo_data.py +0 -0
  34. {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/simple_pdf_processor.py +0 -0
  35. {memra-0.2.9 → memra-0.2.10}/mcp_bridge_server.py +0 -0
  36. {memra-0.2.9 → memra-0.2.10}/memra/discovery.py +0 -0
  37. {memra-0.2.9 → memra-0.2.10}/memra/discovery_client.py +0 -0
  38. {memra-0.2.9 → memra-0.2.10}/memra/execution.py +0 -0
  39. {memra-0.2.9 → memra-0.2.10}/memra/models.py +0 -0
  40. {memra-0.2.9 → memra-0.2.10}/memra/tool_registry.py +0 -0
  41. {memra-0.2.9 → memra-0.2.10}/memra/tool_registry_client.py +0 -0
  42. {memra-0.2.9 → memra-0.2.10}/memra-ops/app.py +0 -0
  43. {memra-0.2.9 → memra-0.2.10}/memra-ops/config/config.py +0 -0
  44. {memra-0.2.9 → memra-0.2.10}/memra-ops/config.py +0 -0
  45. {memra-0.2.9 → memra-0.2.10}/memra-ops/logic/__init__.py +0 -0
  46. {memra-0.2.9 → memra-0.2.10}/memra-ops/logic/file_tools.py +0 -0
  47. {memra-0.2.9 → memra-0.2.10}/memra-ops/logic/invoice_tools.py +0 -0
  48. {memra-0.2.9 → memra-0.2.10}/memra-ops/logic/invoice_tools_fix.py +0 -0
  49. {memra-0.2.9 → memra-0.2.10}/memra-ops/mcp_bridge_server.py +0 -0
  50. {memra-0.2.9 → memra-0.2.10}/memra-ops/scripts/check_database.py +0 -0
  51. {memra-0.2.9 → memra-0.2.10}/memra-ops/scripts/clear_database.py +0 -0
  52. {memra-0.2.9 → memra-0.2.10}/memra-ops/scripts/monitor_database.py +0 -0
  53. {memra-0.2.9 → memra-0.2.10}/memra-ops/scripts/release.py +0 -0
  54. {memra-0.2.9 → memra-0.2.10}/memra-ops/scripts/reset_database.py +0 -0
  55. {memra-0.2.9 → memra-0.2.10}/memra-ops/scripts/start_memra.py +0 -0
  56. {memra-0.2.9 → memra-0.2.10}/memra-ops/scripts/stop_memra.py +0 -0
  57. {memra-0.2.9 → memra-0.2.10}/memra-ops/server_tool_registry.py +0 -0
  58. {memra-0.2.9 → memra-0.2.10}/memra-ops/tests/test_llm_text_to_sql.py +0 -0
  59. {memra-0.2.9 → memra-0.2.10}/memra-ops/tests/test_llm_vs_pattern.py +0 -0
  60. {memra-0.2.9 → memra-0.2.10}/memra-ops/tests/test_mcp_schema_aware.py +0 -0
  61. {memra-0.2.9 → memra-0.2.10}/memra-ops/tests/test_schema_aware_sql.py +0 -0
  62. {memra-0.2.9 → memra-0.2.10}/memra-ops/tests/test_schema_aware_sql_simple.py +0 -0
  63. {memra-0.2.9 → memra-0.2.10}/memra-ops/tests/test_text_to_sql_demo.py +0 -0
  64. {memra-0.2.9 → memra-0.2.10}/memra-ops/tools/mcp_bridge_server.py +0 -0
  65. {memra-0.2.9 → memra-0.2.10}/memra-sdk/examples/accounts_payable.py +0 -0
  66. {memra-0.2.9 → memra-0.2.10}/memra-sdk/examples/accounts_payable_client.py +0 -0
  67. {memra-0.2.9 → memra-0.2.10}/memra-sdk/examples/accounts_payable_mcp.py +0 -0
  68. {memra-0.2.9 → memra-0.2.10}/memra-sdk/examples/ask_questions.py +0 -0
  69. {memra-0.2.9 → memra-0.2.10}/memra-sdk/examples/invoice_processing.py +0 -0
  70. {memra-0.2.9 → memra-0.2.10}/memra-sdk/examples/propane_delivery.py +0 -0
  71. {memra-0.2.9 → memra-0.2.10}/memra-sdk/examples/simple_text_to_sql.py +0 -0
  72. {memra-0.2.9 → memra-0.2.10}/memra-sdk/memra/__init__.py +0 -0
  73. {memra-0.2.9 → memra-0.2.10}/memra-sdk/memra/discovery.py +0 -0
  74. {memra-0.2.9 → memra-0.2.10}/memra-sdk/memra/discovery_client.py +0 -0
  75. {memra-0.2.9 → memra-0.2.10}/memra-sdk/memra/execution.py +0 -0
  76. {memra-0.2.9 → memra-0.2.10}/memra-sdk/memra/models.py +0 -0
  77. {memra-0.2.9 → memra-0.2.10}/memra-sdk/memra/tool_registry.py +0 -0
  78. {memra-0.2.9 → memra-0.2.10}/memra-sdk/memra/tool_registry_client.py +0 -0
  79. {memra-0.2.9 → memra-0.2.10}/memra-sdk/scripts/release.py +0 -0
  80. {memra-0.2.9 → memra-0.2.10}/memra-sdk/setup.py +0 -0
  81. {memra-0.2.9 → memra-0.2.10}/memra-workflows/accounts_payable/accounts_payable.py +0 -0
  82. {memra-0.2.9 → memra-0.2.10}/memra-workflows/accounts_payable/accounts_payable_client.py +0 -0
  83. {memra-0.2.9 → memra-0.2.10}/memra-workflows/accounts_payable/accounts_payable_mcp.py +0 -0
  84. {memra-0.2.9 → memra-0.2.10}/memra-workflows/accounts_payable/accounts_payable_smart.py +0 -0
  85. {memra-0.2.9 → memra-0.2.10}/memra-workflows/invoice_processing/invoice_processing.py +0 -0
  86. {memra-0.2.9 → memra-0.2.10}/memra-workflows/invoice_processing/smart_invoice_processor.py +0 -0
  87. {memra-0.2.9 → memra-0.2.10}/memra-workflows/logic/__init__.py +0 -0
  88. {memra-0.2.9 → memra-0.2.10}/memra-workflows/logic/file_tools.py +0 -0
  89. {memra-0.2.9 → memra-0.2.10}/memra-workflows/logic/invoice_tools.py +0 -0
  90. {memra-0.2.9 → memra-0.2.10}/memra-workflows/logic/propane_agents.py +0 -0
  91. {memra-0.2.9 → memra-0.2.10}/memra-workflows/mcp_bridge_server.py +0 -0
  92. {memra-0.2.9 → memra-0.2.10}/memra-workflows/propane_delivery/propane_delivery.py +0 -0
  93. {memra-0.2.9 → memra-0.2.10}/memra-workflows/text_to_sql/complete_invoice_workflow_with_queries.py +0 -0
  94. {memra-0.2.9 → memra-0.2.10}/memra-workflows/text_to_sql/complete_text_to_sql_system.py +0 -0
  95. {memra-0.2.9 → memra-0.2.10}/memra-workflows/text_to_sql/file_discovery_demo.py +0 -0
  96. {memra-0.2.9 → memra-0.2.10}/memra.egg-info/SOURCES.txt +0 -0
  97. {memra-0.2.9 → memra-0.2.10}/requirements.txt +0 -0
  98. {memra-0.2.9 → memra-0.2.10}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: memra
3
- Version: 0.2.9
3
+ Version: 0.2.10
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.9"
9
+ __version__ = "0.2.10"
10
10
 
11
11
  # Core imports
12
12
  from .models import Agent, Department, Tool, LLM
@@ -24,6 +24,9 @@ def run_demo():
24
24
  print("🔧 Configuring environment...")
25
25
  setup_environment()
26
26
 
27
+ # Step 2.5: Install dependencies
28
+ install_dependencies()
29
+
27
30
  # Step 3: Start Docker containers
28
31
  print("🐳 Starting Docker services...")
29
32
  if not start_docker_services(demo_dir):
@@ -279,6 +282,38 @@ def setup_environment():
279
282
  os.environ['DATABASE_URL'] = 'postgresql://postgres:postgres@localhost:5432/local_workflow'
280
283
  print("✅ Set DATABASE_URL")
281
284
 
285
+ def install_dependencies():
286
+ """Install required dependencies for the demo"""
287
+ try:
288
+ print("📦 Installing demo dependencies...")
289
+ dependencies = [
290
+ 'requests==2.31.0',
291
+ 'fastapi==0.104.1',
292
+ 'uvicorn[standard]==0.24.0',
293
+ 'pydantic==2.5.0',
294
+ 'aiohttp',
295
+ 'psycopg2-binary',
296
+ 'httpx',
297
+ 'huggingface_hub'
298
+ ]
299
+
300
+ for dep in dependencies:
301
+ print(f" Installing {dep}...")
302
+ result = subprocess.run([
303
+ sys.executable, '-m', 'pip', 'install', dep
304
+ ], capture_output=True, text=True)
305
+
306
+ if result.returncode != 0:
307
+ print(f"⚠️ Warning: Failed to install {dep}: {result.stderr}")
308
+ else:
309
+ print(f" ✅ {dep} installed")
310
+
311
+ print("✅ Dependencies installed")
312
+
313
+ except Exception as e:
314
+ print(f"⚠️ Warning: Could not install dependencies: {e}")
315
+ print(" You may need to install them manually: pip install requests fastapi uvicorn pydantic")
316
+
282
317
  def start_docker_services(demo_dir):
283
318
  """Start Docker containers using docker-compose"""
284
319
  try:
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "memra"
7
- version = "0.2.9"
7
+ version = "0.2.10"
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.9",
8
+ version="0.2.10",
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
File without changes
File without changes