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.
- {memra-0.2.9 → memra-0.2.10}/PKG-INFO +1 -1
- {memra-0.2.9 → memra-0.2.10}/memra/__init__.py +1 -1
- {memra-0.2.9 → memra-0.2.10}/memra/cli.py +35 -0
- {memra-0.2.9 → memra-0.2.10}/pyproject.toml +1 -1
- {memra-0.2.9 → memra-0.2.10}/setup.py +1 -1
- {memra-0.2.9 → memra-0.2.10}/CHANGELOG.md +0 -0
- {memra-0.2.9 → memra-0.2.10}/LICENSE +0 -0
- {memra-0.2.9 → memra-0.2.10}/MANIFEST.in +0 -0
- {memra-0.2.9 → memra-0.2.10}/README.md +0 -0
- {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/.DS_Store +0 -0
- {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/README.md +0 -0
- {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/.DS_Store +0 -0
- {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352259401.PDF +0 -0
- {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352259823.PDF +0 -0
- {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352260169.PDF +0 -0
- {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352260417.PDF +0 -0
- {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352260599.PDF +0 -0
- {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352260912.PDF +0 -0
- {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352261134.PDF +0 -0
- {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352261563.PDF +0 -0
- {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352261647.PDF +0 -0
- {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352261720.PDF +0 -0
- {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352261811.PDF +0 -0
- {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352262025.PDF +0 -0
- {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352262454.PDF +0 -0
- {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352262702.PDF +0 -0
- {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352262884.PDF +0 -0
- {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352263346.PDF +0 -0
- {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/10352263429.PDF +0 -0
- {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/data/invoices/invoice_005.pdf +0 -0
- {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/database_monitor_agent.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/etl_invoice_demo.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/setup_demo_data.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/demos/etl_invoice_processing/simple_pdf_processor.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/mcp_bridge_server.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra/discovery.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra/discovery_client.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra/execution.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra/models.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra/tool_registry.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra/tool_registry_client.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-ops/app.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-ops/config/config.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-ops/config.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-ops/logic/__init__.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-ops/logic/file_tools.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-ops/logic/invoice_tools.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-ops/logic/invoice_tools_fix.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-ops/mcp_bridge_server.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-ops/scripts/check_database.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-ops/scripts/clear_database.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-ops/scripts/monitor_database.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-ops/scripts/release.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-ops/scripts/reset_database.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-ops/scripts/start_memra.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-ops/scripts/stop_memra.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-ops/server_tool_registry.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-ops/tests/test_llm_text_to_sql.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-ops/tests/test_llm_vs_pattern.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-ops/tests/test_mcp_schema_aware.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-ops/tests/test_schema_aware_sql.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-ops/tests/test_schema_aware_sql_simple.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-ops/tests/test_text_to_sql_demo.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-ops/tools/mcp_bridge_server.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-sdk/examples/accounts_payable.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-sdk/examples/accounts_payable_client.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-sdk/examples/accounts_payable_mcp.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-sdk/examples/ask_questions.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-sdk/examples/invoice_processing.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-sdk/examples/propane_delivery.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-sdk/examples/simple_text_to_sql.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-sdk/memra/__init__.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-sdk/memra/discovery.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-sdk/memra/discovery_client.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-sdk/memra/execution.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-sdk/memra/models.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-sdk/memra/tool_registry.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-sdk/memra/tool_registry_client.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-sdk/scripts/release.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-sdk/setup.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-workflows/accounts_payable/accounts_payable.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-workflows/accounts_payable/accounts_payable_client.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-workflows/accounts_payable/accounts_payable_mcp.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-workflows/accounts_payable/accounts_payable_smart.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-workflows/invoice_processing/invoice_processing.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-workflows/invoice_processing/smart_invoice_processor.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-workflows/logic/__init__.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-workflows/logic/file_tools.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-workflows/logic/invoice_tools.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-workflows/logic/propane_agents.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-workflows/mcp_bridge_server.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-workflows/propane_delivery/propane_delivery.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-workflows/text_to_sql/complete_invoice_workflow_with_queries.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-workflows/text_to_sql/complete_text_to_sql_system.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra-workflows/text_to_sql/file_discovery_demo.py +0 -0
- {memra-0.2.9 → memra-0.2.10}/memra.egg-info/SOURCES.txt +0 -0
- {memra-0.2.9 → memra-0.2.10}/requirements.txt +0 -0
- {memra-0.2.9 → memra-0.2.10}/setup.cfg +0 -0
@@ -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:
|
@@ -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.
|
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
|
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
|
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
|
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
|
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
|
{memra-0.2.9 → memra-0.2.10}/memra-workflows/text_to_sql/complete_invoice_workflow_with_queries.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|