emdash-ai 0.1.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.
@@ -0,0 +1,62 @@
1
+ Metadata-Version: 2.4
2
+ Name: emdash-ai
3
+ Version: 0.1.10
4
+ Summary: Graph-based coding intelligence system - The 'Senior Engineer' Context Engine
5
+ Author: Em Dash Team
6
+ Requires-Python: >=3.10,<4.0
7
+ Classifier: Programming Language :: Python :: 3
8
+ Classifier: Programming Language :: Python :: 3.10
9
+ Classifier: Programming Language :: Python :: 3.11
10
+ Classifier: Programming Language :: Python :: 3.12
11
+ Classifier: Programming Language :: Python :: 3.13
12
+ Classifier: Programming Language :: Python :: 3.14
13
+ Provides-Extra: local
14
+ Requires-Dist: astroid (>=3.0.1,<4.0.0)
15
+ Requires-Dist: click (>=8.1.7,<9.0.0)
16
+ Requires-Dist: emdash-cli (>=0.1.10)
17
+ Requires-Dist: emdash-core (>=0.1.10)
18
+ Requires-Dist: gitpython (>=3.1.40,<4.0.0)
19
+ Requires-Dist: httpx (>=0.25.0)
20
+ Requires-Dist: kuzu (>=0.4.0)
21
+ Requires-Dist: loguru (>=0.7.2,<0.8.0)
22
+ Requires-Dist: networkx (>=3.2.1,<4.0.0)
23
+ Requires-Dist: numpy (>=1.26.0)
24
+ Requires-Dist: openai (>=1.0.0)
25
+ Requires-Dist: pillow (>=10.0.0,<11.0.0)
26
+ Requires-Dist: prompt_toolkit (>=3.0.43,<4.0.0)
27
+ Requires-Dist: pydantic (>=2.5.0,<3.0.0)
28
+ Requires-Dist: pygithub (>=2.1.1,<3.0.0)
29
+ Requires-Dist: python-dotenv (>=1.0.0,<2.0.0)
30
+ Requires-Dist: python-louvain (>=0.16,<0.17)
31
+ Requires-Dist: rich (>=13.7.0)
32
+ Requires-Dist: scipy (>=1.11.4,<2.0.0)
33
+ Requires-Dist: sentence-transformers (>=2.2.0)
34
+ Requires-Dist: supabase (>=2.0.0)
35
+ Requires-Dist: textual (>=0.47.0)
36
+ Requires-Dist: tqdm (>=4.66.1,<5.0.0)
37
+ Description-Content-Type: text/markdown
38
+
39
+ # emdash-ai
40
+
41
+ Graph-based coding intelligence system - The 'Senior Engineer' Context Engine
42
+
43
+ ## Installation
44
+
45
+ ```bash
46
+ pip install emdash-ai
47
+ ```
48
+
49
+ ## Usage
50
+
51
+ ```bash
52
+ emdash index # Index your codebase
53
+ emdash agent # Start the AI agent
54
+ ```
55
+
56
+ ## Features
57
+
58
+ - Graph-based code analysis
59
+ - Semantic code search
60
+ - AI-powered code exploration
61
+ - MCP server integration
62
+
@@ -0,0 +1,23 @@
1
+ # emdash-ai
2
+
3
+ Graph-based coding intelligence system - The 'Senior Engineer' Context Engine
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pip install emdash-ai
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```bash
14
+ emdash index # Index your codebase
15
+ emdash agent # Start the AI agent
16
+ ```
17
+
18
+ ## Features
19
+
20
+ - Graph-based code analysis
21
+ - Semantic code search
22
+ - AI-powered code exploration
23
+ - MCP server integration
@@ -0,0 +1,32 @@
1
+ """EmDash - Graph-based coding intelligence system.
2
+
3
+ DEPRECATED: This package now re-exports from emdash_core.
4
+ Import directly from emdash_core for new code.
5
+
6
+ The business logic has been consolidated into:
7
+ - emdash-core: All agents, tools, analytics, etc.
8
+ - emdash-cli: CLI that calls the emdash-core FastAPI server
9
+
10
+ The `em` and `emdash` commands now use emdash-cli.
11
+ """
12
+
13
+ import warnings
14
+
15
+ warnings.warn(
16
+ "Importing from 'emdash' is deprecated. "
17
+ "Use 'emdash_core' for business logic or 'emdash_cli' for CLI.",
18
+ DeprecationWarning,
19
+ stacklevel=2,
20
+ )
21
+
22
+ # Re-export common items from emdash_core for backwards compatibility
23
+ try:
24
+ from emdash_core.agent.toolkit import AgentToolkit
25
+ from emdash_core.agent.events import AgentEventEmitter
26
+ from emdash_core.agent.providers import get_provider
27
+ from emdash_core.analytics.engine import AnalyticsEngine
28
+ from emdash_core.graph.connection import get_connection
29
+ except ImportError:
30
+ pass # emdash_core may not be installed
31
+
32
+ __version__ = "0.1.10"
@@ -0,0 +1,6 @@
1
+ """Entry point for running EmDash as a module."""
2
+
3
+ from emdash_cli.main import cli
4
+
5
+ if __name__ == "__main__":
6
+ cli()
@@ -0,0 +1,100 @@
1
+ [tool.poetry]
2
+ name = "emdash-ai"
3
+ version = "0.1.10"
4
+ description = "Graph-based coding intelligence system - The 'Senior Engineer' Context Engine"
5
+ authors = ["Em Dash Team"]
6
+ readme = "README.md"
7
+ packages = [{include = "emdash"}]
8
+ exclude = ["emdash/kanban-app", "emdash/kanban_app", "emdash/venv", "venv", "benchmarks", ".venv", "*.venv", "node_modules"]
9
+
10
+ [tool.poetry.dependencies]
11
+ python = "^3.10"
12
+ # CLI
13
+ click = "^8.1.7"
14
+ rich = ">=13.7.0"
15
+ prompt_toolkit = "^3.0.43"
16
+ textual = ">=0.47.0"
17
+
18
+ # Database
19
+ kuzu = ">=0.4.0"
20
+ supabase = ">=2.0.0"
21
+
22
+ # LLM
23
+ openai = ">=1.0.0"
24
+
25
+ # Vector operations
26
+ numpy = ">=1.26.0"
27
+ sentence-transformers = ">=2.2.0"
28
+
29
+ # Code Analysis
30
+ astroid = "^3.0.1"
31
+
32
+ # Git
33
+ gitpython = "^3.1.40"
34
+ pygithub = "^2.1.1"
35
+
36
+ # Analytics
37
+ networkx = "^3.2.1"
38
+ python-louvain = "^0.16"
39
+ scipy = "^1.11.4"
40
+
41
+ # HTTP
42
+ httpx = ">=0.25.0"
43
+
44
+ # Utilities
45
+ pydantic = "^2.5.0"
46
+ python-dotenv = "^1.0.0"
47
+ loguru = "^0.7.2"
48
+ tqdm = "^4.66.1"
49
+
50
+ # Image Processing
51
+ pillow = "^10.0.0"
52
+
53
+ # Monorepo packages (local dev) - comment out for PyPI release
54
+ emdash-core = ">=0.1.10"
55
+ emdash-cli = ">=0.1.10"
56
+ # emdash-graph-mcp = {path = "packages/graph-mcp", develop = true}
57
+
58
+ [tool.poetry.group.dev.dependencies]
59
+ pytest = "^7.4.3"
60
+ pytest-cov = "^4.1.0"
61
+ black = "^23.11.0"
62
+ ruff = "^0.1.6"
63
+ mypy = "^1.7.1"
64
+
65
+ # Optional dependencies for local LLM support
66
+ pyinstaller = {version = ">=6.0,<7.0", python = ">=3.10,<3.15"}
67
+ [tool.poetry.extras]
68
+ local = ["transformers", "torch", "accelerate"]
69
+
70
+ [tool.poetry.group.local]
71
+ optional = true
72
+
73
+ [tool.poetry.group.local.dependencies]
74
+ transformers = "^4.36.0"
75
+ torch = "^2.1.0"
76
+ accelerate = "^0.25.0"
77
+
78
+ [tool.poetry.scripts]
79
+ # Entry points now use emdash-cli which calls the FastAPI server
80
+ emdash = "emdash_cli.main:cli"
81
+ em = "emdash_cli.main:start_coding_agent"
82
+ "--" = "emdash_cli.main:start_coding_agent"
83
+
84
+ [build-system]
85
+ requires = ["poetry-core"]
86
+ build-backend = "poetry.core.masonry.api"
87
+
88
+ [tool.black]
89
+ line-length = 100
90
+ target-version = ['py310']
91
+
92
+ [tool.ruff]
93
+ line-length = 100
94
+ target-version = "py310"
95
+
96
+ [tool.mypy]
97
+ python_version = "3.10"
98
+ warn_return_any = true
99
+ warn_unused_configs = true
100
+ disallow_untyped_defs = false