memra 0.2.5__tar.gz → 0.2.7__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 (73) hide show
  1. {memra-0.2.5 → memra-0.2.7}/MANIFEST.in +3 -0
  2. {memra-0.2.5 → memra-0.2.7}/PKG-INFO +1 -1
  3. {memra-0.2.5 → memra-0.2.7}/memra/__init__.py +1 -1
  4. {memra-0.2.5 → memra-0.2.7}/memra/cli.py +30 -1
  5. {memra-0.2.5 → memra-0.2.7}/pyproject.toml +2 -2
  6. {memra-0.2.5 → memra-0.2.7}/setup.py +2 -2
  7. {memra-0.2.5 → memra-0.2.7}/CHANGELOG.md +0 -0
  8. {memra-0.2.5 → memra-0.2.7}/LICENSE +0 -0
  9. {memra-0.2.5 → memra-0.2.7}/README.md +0 -0
  10. {memra-0.2.5 → memra-0.2.7}/mcp_bridge_server.py +0 -0
  11. {memra-0.2.5 → memra-0.2.7}/memra/discovery.py +0 -0
  12. {memra-0.2.5 → memra-0.2.7}/memra/discovery_client.py +0 -0
  13. {memra-0.2.5 → memra-0.2.7}/memra/execution.py +0 -0
  14. {memra-0.2.5 → memra-0.2.7}/memra/models.py +0 -0
  15. {memra-0.2.5 → memra-0.2.7}/memra/tool_registry.py +0 -0
  16. {memra-0.2.5 → memra-0.2.7}/memra/tool_registry_client.py +0 -0
  17. {memra-0.2.5 → memra-0.2.7}/memra-ops/app.py +0 -0
  18. {memra-0.2.5 → memra-0.2.7}/memra-ops/config/config.py +0 -0
  19. {memra-0.2.5 → memra-0.2.7}/memra-ops/config.py +0 -0
  20. {memra-0.2.5 → memra-0.2.7}/memra-ops/logic/__init__.py +0 -0
  21. {memra-0.2.5 → memra-0.2.7}/memra-ops/logic/file_tools.py +0 -0
  22. {memra-0.2.5 → memra-0.2.7}/memra-ops/logic/invoice_tools.py +0 -0
  23. {memra-0.2.5 → memra-0.2.7}/memra-ops/logic/invoice_tools_fix.py +0 -0
  24. {memra-0.2.5 → memra-0.2.7}/memra-ops/mcp_bridge_server.py +0 -0
  25. {memra-0.2.5 → memra-0.2.7}/memra-ops/scripts/check_database.py +0 -0
  26. {memra-0.2.5 → memra-0.2.7}/memra-ops/scripts/clear_database.py +0 -0
  27. {memra-0.2.5 → memra-0.2.7}/memra-ops/scripts/monitor_database.py +0 -0
  28. {memra-0.2.5 → memra-0.2.7}/memra-ops/scripts/release.py +0 -0
  29. {memra-0.2.5 → memra-0.2.7}/memra-ops/scripts/reset_database.py +0 -0
  30. {memra-0.2.5 → memra-0.2.7}/memra-ops/scripts/start_memra.py +0 -0
  31. {memra-0.2.5 → memra-0.2.7}/memra-ops/scripts/stop_memra.py +0 -0
  32. {memra-0.2.5 → memra-0.2.7}/memra-ops/server_tool_registry.py +0 -0
  33. {memra-0.2.5 → memra-0.2.7}/memra-ops/tests/test_llm_text_to_sql.py +0 -0
  34. {memra-0.2.5 → memra-0.2.7}/memra-ops/tests/test_llm_vs_pattern.py +0 -0
  35. {memra-0.2.5 → memra-0.2.7}/memra-ops/tests/test_mcp_schema_aware.py +0 -0
  36. {memra-0.2.5 → memra-0.2.7}/memra-ops/tests/test_schema_aware_sql.py +0 -0
  37. {memra-0.2.5 → memra-0.2.7}/memra-ops/tests/test_schema_aware_sql_simple.py +0 -0
  38. {memra-0.2.5 → memra-0.2.7}/memra-ops/tests/test_text_to_sql_demo.py +0 -0
  39. {memra-0.2.5 → memra-0.2.7}/memra-ops/tools/mcp_bridge_server.py +0 -0
  40. {memra-0.2.5 → memra-0.2.7}/memra-sdk/examples/accounts_payable.py +0 -0
  41. {memra-0.2.5 → memra-0.2.7}/memra-sdk/examples/accounts_payable_client.py +0 -0
  42. {memra-0.2.5 → memra-0.2.7}/memra-sdk/examples/accounts_payable_mcp.py +0 -0
  43. {memra-0.2.5 → memra-0.2.7}/memra-sdk/examples/ask_questions.py +0 -0
  44. {memra-0.2.5 → memra-0.2.7}/memra-sdk/examples/invoice_processing.py +0 -0
  45. {memra-0.2.5 → memra-0.2.7}/memra-sdk/examples/propane_delivery.py +0 -0
  46. {memra-0.2.5 → memra-0.2.7}/memra-sdk/examples/simple_text_to_sql.py +0 -0
  47. {memra-0.2.5 → memra-0.2.7}/memra-sdk/memra/__init__.py +0 -0
  48. {memra-0.2.5 → memra-0.2.7}/memra-sdk/memra/discovery.py +0 -0
  49. {memra-0.2.5 → memra-0.2.7}/memra-sdk/memra/discovery_client.py +0 -0
  50. {memra-0.2.5 → memra-0.2.7}/memra-sdk/memra/execution.py +0 -0
  51. {memra-0.2.5 → memra-0.2.7}/memra-sdk/memra/models.py +0 -0
  52. {memra-0.2.5 → memra-0.2.7}/memra-sdk/memra/tool_registry.py +0 -0
  53. {memra-0.2.5 → memra-0.2.7}/memra-sdk/memra/tool_registry_client.py +0 -0
  54. {memra-0.2.5 → memra-0.2.7}/memra-sdk/scripts/release.py +0 -0
  55. {memra-0.2.5 → memra-0.2.7}/memra-sdk/setup.py +0 -0
  56. {memra-0.2.5 → memra-0.2.7}/memra-workflows/accounts_payable/accounts_payable.py +0 -0
  57. {memra-0.2.5 → memra-0.2.7}/memra-workflows/accounts_payable/accounts_payable_client.py +0 -0
  58. {memra-0.2.5 → memra-0.2.7}/memra-workflows/accounts_payable/accounts_payable_mcp.py +0 -0
  59. {memra-0.2.5 → memra-0.2.7}/memra-workflows/accounts_payable/accounts_payable_smart.py +0 -0
  60. {memra-0.2.5 → memra-0.2.7}/memra-workflows/invoice_processing/invoice_processing.py +0 -0
  61. {memra-0.2.5 → memra-0.2.7}/memra-workflows/invoice_processing/smart_invoice_processor.py +0 -0
  62. {memra-0.2.5 → memra-0.2.7}/memra-workflows/logic/__init__.py +0 -0
  63. {memra-0.2.5 → memra-0.2.7}/memra-workflows/logic/file_tools.py +0 -0
  64. {memra-0.2.5 → memra-0.2.7}/memra-workflows/logic/invoice_tools.py +0 -0
  65. {memra-0.2.5 → memra-0.2.7}/memra-workflows/logic/propane_agents.py +0 -0
  66. {memra-0.2.5 → memra-0.2.7}/memra-workflows/mcp_bridge_server.py +0 -0
  67. {memra-0.2.5 → memra-0.2.7}/memra-workflows/propane_delivery/propane_delivery.py +0 -0
  68. {memra-0.2.5 → memra-0.2.7}/memra-workflows/text_to_sql/complete_invoice_workflow_with_queries.py +0 -0
  69. {memra-0.2.5 → memra-0.2.7}/memra-workflows/text_to_sql/complete_text_to_sql_system.py +0 -0
  70. {memra-0.2.5 → memra-0.2.7}/memra-workflows/text_to_sql/file_discovery_demo.py +0 -0
  71. {memra-0.2.5 → memra-0.2.7}/memra.egg-info/SOURCES.txt +0 -0
  72. {memra-0.2.5 → memra-0.2.7}/requirements.txt +0 -0
  73. {memra-0.2.5 → memra-0.2.7}/setup.cfg +0 -0
@@ -17,6 +17,9 @@ exclude fly.toml
17
17
  exclude Dockerfile
18
18
  exclude Procfile
19
19
  exclude docker-compose.yml
20
+ exclude memra-ops/docker-compose.yml
21
+ exclude memra-ops/docker-compose.mcp.yml
22
+ exclude memra-ops/docker/docker-compose.yml
20
23
  recursive-exclude logic *
21
24
  recursive-exclude scripts *
22
25
  recursive-exclude docs *
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: memra
3
- Version: 0.2.5
3
+ Version: 0.2.7
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.5"
9
+ __version__ = "0.2.7"
10
10
 
11
11
  # Core imports
12
12
  from .models import Agent, Department, Tool, LLM
@@ -282,5 +282,34 @@ def run_etl_workflow(demo_dir):
282
282
  print(f"❌ Error running ETL workflow: {e}")
283
283
  return False
284
284
 
285
+ def main():
286
+ """Main CLI entry point"""
287
+ if len(sys.argv) < 2:
288
+ print("Memra SDK - Declarative AI Workflows")
289
+ print("=" * 40)
290
+ print("Usage:")
291
+ print(" memra demo - Run the ETL invoice processing demo")
292
+ print(" memra --help - Show this help message")
293
+ print(" memra --version - Show version information")
294
+ return
295
+
296
+ command = sys.argv[1]
297
+
298
+ if command == "demo":
299
+ run_demo()
300
+ elif command == "--help" or command == "-h":
301
+ print("Memra SDK - Declarative AI Workflows")
302
+ print("=" * 40)
303
+ print("Commands:")
304
+ print(" demo - Run the ETL invoice processing demo")
305
+ print(" --help, -h - Show this help message")
306
+ print(" --version - Show version information")
307
+ elif command == "--version":
308
+ from . import __version__
309
+ print(f"memra {__version__}")
310
+ else:
311
+ print(f"Unknown command: {command}")
312
+ print("Run 'memra --help' for usage information")
313
+
285
314
  if __name__ == "__main__":
286
- run_demo()
315
+ main()
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "memra"
7
- version = "0.2.5"
7
+ version = "0.2.7"
8
8
  description = "Declarative framework for enterprise workflows with MCP integration - Client SDK"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
@@ -47,7 +47,7 @@ Homepage = "https://memra.co"
47
47
  Repository = "https://github.com/memra-platform/memra-sdk"
48
48
 
49
49
  [project.scripts]
50
- memra = "scripts.memra:main"
50
+ memra = "memra.cli:main"
51
51
 
52
52
  [tool.setuptools.packages.find]
53
53
  include = ["memra*"]
@@ -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.5",
8
+ version="0.2.7",
9
9
  author="Memra",
10
10
  author_email="support@memra.com",
11
11
  description="Declarative framework for enterprise workflows with MCP integration - Client SDK",
@@ -45,7 +45,7 @@ setup(
45
45
  },
46
46
  entry_points={
47
47
  "console_scripts": [
48
- "memra=scripts.memra:main",
48
+ "memra=memra.cli:main",
49
49
  ],
50
50
  },
51
51
  )
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