nogic 0.0.1__py3-none-any.whl

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,201 @@
1
+ Metadata-Version: 2.4
2
+ Name: nogic
3
+ Version: 0.0.1
4
+ Summary: Code intelligence CLI for AI agents — index, search, and understand codebases via graph + vector embeddings.
5
+ Project-URL: Homepage, https://nogic.dev
6
+ Project-URL: Repository, https://github.com/nogic-dev/cli
7
+ Project-URL: Documentation, https://docs.nogic.dev
8
+ Author-email: Nogic <support@nogic.dev>
9
+ License-Expression: MIT
10
+ License-File: LICENSE
11
+ Keywords: ai-agents,code-graph,code-intelligence,embeddings,mcp,tree-sitter
12
+ Classifier: Development Status :: 4 - Beta
13
+ Classifier: Environment :: Console
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Operating System :: OS Independent
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Topic :: Software Development :: Libraries
22
+ Classifier: Topic :: Software Development :: Quality Assurance
23
+ Classifier: Typing :: Typed
24
+ Requires-Python: >=3.11
25
+ Requires-Dist: httpx>=0.27.0
26
+ Requires-Dist: pathspec>=0.12.0
27
+ Requires-Dist: posthog>=3.0.0
28
+ Requires-Dist: python-dotenv>=1.0.0
29
+ Requires-Dist: rich>=13.0.0
30
+ Requires-Dist: tree-sitter-javascript>=0.23.0
31
+ Requires-Dist: tree-sitter-python>=0.23.0
32
+ Requires-Dist: tree-sitter-typescript>=0.23.0
33
+ Requires-Dist: tree-sitter>=0.24.0
34
+ Requires-Dist: typer>=0.12.0
35
+ Requires-Dist: watchdog>=6.0.0
36
+ Description-Content-Type: text/markdown
37
+
38
+ # Nogic CLI
39
+
40
+ Graph visualization for Developers and AI Agents.
41
+
42
+ ## Installation
43
+
44
+ ### Prerequisites
45
+
46
+ - Python 3.11 or higher
47
+
48
+ ### Install from PyPI
49
+
50
+ ```bash
51
+ pip install nogic
52
+ ```
53
+
54
+ ### Install from Source
55
+
56
+ ```bash
57
+ git clone https://github.com/nogic/cli.git
58
+ cd cli
59
+ pip install .
60
+ ```
61
+
62
+ ## Quick Start
63
+
64
+ ### 1. Login with your API key
65
+
66
+ ```bash
67
+ nogic login
68
+ ```
69
+
70
+ You'll be prompted to enter your API key from the Nogic dashboard.
71
+
72
+ ### 2. Initialize a project
73
+
74
+ ```bash
75
+ cd /path/to/your/project
76
+ nogic init
77
+ ```
78
+
79
+ This creates a `.nogic/` directory with project configuration.
80
+
81
+ ### 3. Sync your codebase
82
+
83
+ One-time sync:
84
+
85
+ ```bash
86
+ nogic sync
87
+ ```
88
+
89
+ Or watch for continuous syncing:
90
+
91
+ ```bash
92
+ nogic watch
93
+ ```
94
+
95
+ ## Commands
96
+
97
+ ### `nogic login`
98
+
99
+ Authenticate with the Nogic API.
100
+
101
+ ```bash
102
+ nogic login
103
+ nogic login --api-key YOUR_API_KEY
104
+ ```
105
+
106
+ ### `nogic init`
107
+
108
+ Initialize a project for Nogic tracking.
109
+
110
+ ```bash
111
+ nogic init # Initialize current directory
112
+ nogic init /path/to/project # Initialize specific directory
113
+ nogic init --name "My Project" # Set project name
114
+ nogic init --project-id UUID # Use existing project ID
115
+ ```
116
+
117
+ ### `nogic sync`
118
+
119
+ Perform a one-time full sync of your codebase.
120
+
121
+ ```bash
122
+ nogic sync # Sync current directory
123
+ nogic sync /path/to/project # Sync specific directory
124
+ nogic sync --ignore "*.log" # Ignore specific patterns
125
+ ```
126
+
127
+ ### `nogic watch`
128
+
129
+ Continuously monitor and sync file changes.
130
+
131
+ ```bash
132
+ nogic watch # Watch current directory
133
+ nogic watch /path/to/project # Watch specific directory
134
+ nogic watch --ignore "*.log" # Ignore specific patterns
135
+ ```
136
+
137
+ Press `Ctrl+C` to stop watching.
138
+
139
+ ### `nogic projects`
140
+
141
+ Manage your Nogic projects.
142
+
143
+ ```bash
144
+ nogic projects list # List all projects
145
+ nogic projects create "Project Name" # Create new project
146
+ nogic projects create "Name" --use # Create and set as current
147
+ nogic projects use PROJECT_ID # Set current project
148
+ ```
149
+
150
+ ## Configuration
151
+
152
+ ### Environment Variables
153
+
154
+ Create a `.env` file or set environment variables:
155
+
156
+ ```bash
157
+ NOGIC_API_URL=http://localhost:8000 # Backend API URL
158
+ NOGIC_API_KEY=your-api-key # API key (alternative to login)
159
+ ```
160
+
161
+ ### Config Files
162
+
163
+ - **Global config**: `~/.nogic/config.json` - Stores API key and telemetry preference
164
+ - **Project config**: `.nogic/config.json` - Stores project ID
165
+
166
+ ## Telemetry
167
+
168
+ Nogic collects anonymous usage data to improve the product. All data is anonymized.
169
+
170
+ ### Manage Telemetry
171
+
172
+ ```bash
173
+ nogic telemetry status # Check current status
174
+ nogic telemetry disable # Opt out
175
+ nogic telemetry enable # Opt back in
176
+ ```
177
+
178
+ ### Environment Variables
179
+
180
+ ```bash
181
+ NOGIC_TELEMETRY_DISABLED=1 # Disable telemetry
182
+ DO_NOT_TRACK=1 # Standard opt-out (also works)
183
+ ```
184
+
185
+ ### Default Ignore Patterns
186
+
187
+ The following patterns are ignored by default:
188
+
189
+ - `.git/`
190
+ - `__pycache__/`
191
+ - `node_modules/`
192
+ - `.venv/`
193
+ - `.nogic/`
194
+ - `*.pyc`
195
+ - `.DS_Store`
196
+
197
+ Add custom patterns with the `--ignore` flag.
198
+
199
+ ## License
200
+
201
+ MIT
@@ -0,0 +1,35 @@
1
+ nogic/__init__.py,sha256=mrqbp3Uwau7m5t8uqo6Eq7az13oFNOWlx9Q1ETCRBHo,47
2
+ nogic/config.py,sha256=LPjsIPHjhERh0LkFIKe6n2z-RdkibOFvIlMQFTkBaAs,5006
3
+ nogic/ignore.py,sha256=Q2uumbWVAXW201GAahvEEtgipqQmTPf49W_SEpyVyDk,2695
4
+ nogic/main.py,sha256=AdAbbnXlxcbek8nTxL44-ZTNc1sqzWGIlWu-jzXK_9M,1399
5
+ nogic/telemetry.py,sha256=rBE3B8J55mno1KIFwpMWojfDOxEl2f5mBYmQPJCANXc,3696
6
+ nogic/ui.py,sha256=nCBHktKX2nOwMDv-Duvof-hBvfTkOiCGB41Lx0Rj_QI,1316
7
+ nogic/api/__init__.py,sha256=fK108K0urB8LhB56bY5o1qUq_Pj_TQFP9YEP4xMVH1E,375
8
+ nogic/api/client.py,sha256=BwdC3gyYPEGyY6lFDYXA8c3wrccuIq_pejalogrLeWk,12779
9
+ nogic/commands/__init__.py,sha256=eMuQR40Ye6ei4XbISb4dO1BwFk5RRqKIKGMxrztVu9Y,28
10
+ nogic/commands/init.py,sha256=nXUaO1qC8bFuxUCbeueNiJDyPBbphnfRrpHU2MXFZGo,5217
11
+ nogic/commands/login.py,sha256=dYR6HeveQej1Rgclz2DsT5Kq7qqoSfOad2f4iFtv4bI,2251
12
+ nogic/commands/projects.py,sha256=I4DTWPJdgUgQDAmFUZT99CYU_ZXlNChU07CptuDAZa0,4422
13
+ nogic/commands/reindex.py,sha256=2A1N2Ze6E064lcnlUa39Jr2xLAQq22-QeV8vRPSz3Io,4027
14
+ nogic/commands/status.py,sha256=5ZdaLDdanCgSBL8ALoVban1vs7pdivyoSvwsoUP6ItI,6071
15
+ nogic/commands/sync.py,sha256=b64uM2oUJDDGzn2Jc5ka9iFxnxafi1pKUYKgQpYANoE,2447
16
+ nogic/commands/telemetry_cmd.py,sha256=zFArvmYN-CTBAE8jgowWE9CMOniFdyufkQZS7lTcIaw,1796
17
+ nogic/commands/watch.py,sha256=mHqUwBy-0zsAN7ZrpJI8aRVW4VReBqLV6epjIyFQki8,5769
18
+ nogic/parsing/__init__.py,sha256=PdfNe7OlMIx7pXUV73XCEts-gJbKDWl6d37Xgk5Dq1I,417
19
+ nogic/parsing/js_extractor.py,sha256=m9SWP93byQqB-zcKdPqXdVkL2B_iM2kp1dj_6fUnwA4,25580
20
+ nogic/parsing/parser.py,sha256=TgIVWGizdca606MV5gSdbQXFqsuzver5dKR3UMoYPg8,7051
21
+ nogic/parsing/python_extractor.py,sha256=Xw2doubY0sVPvFtwJKpUXlcFu5Xvz3x0y3FUrQdBOHc,18155
22
+ nogic/parsing/types.py,sha256=rASqYLRieBAFUjgiHarf06IzDfhv4Na-7NyRsE20r1o,2000
23
+ nogic/storage/__init__.py,sha256=9fWmDwPW4BeK5ZvXGJzYjQwOxzRi2KNTRUDm4Xpzlqo,322
24
+ nogic/storage/relationships.py,sha256=QNHwRL70CRiccyHPb9u4y2no_Lx4go53hqE8o5bdDlA,9917
25
+ nogic/storage/schema.py,sha256=EnIa_1bU4GeoYrrV1M7F4L5XNmvEIGTYQ29KDgc5d5Q,6677
26
+ nogic/storage/symbols.py,sha256=2aBKbqmyyAUCOzKLPJUecp49YkgGz_I3gj0esCZl-r8,6287
27
+ nogic/watcher/__init__.py,sha256=NXX_7l69rhPc0EmNpGuV9uuFrqYqw2g9ulod5280f-c,238
28
+ nogic/watcher/monitor.py,sha256=zSz6YLB0Wzp3u3bXITn6LuTFZ3uZ66l_Dg12S4KDE9s,2289
29
+ nogic/watcher/storage.py,sha256=zrYK81CFxTFDPoFwFazbJi6EKna-bUkX2nofetUxiVU,5924
30
+ nogic/watcher/sync.py,sha256=JZwDzYxbRFEufYDIGF9ND0UWxb0uySr1MWLTcr-R9d4,32703
31
+ nogic-0.0.1.dist-info/METADATA,sha256=rKY5eGXtfCqBrRxzCnvSMvJY1p5e4LC3mfxUw8fus-U,4555
32
+ nogic-0.0.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
33
+ nogic-0.0.1.dist-info/entry_points.txt,sha256=_mT_cZ1fXzhogKq9r5T7c_qI7xAgcniKzftL0P6xTuQ,43
34
+ nogic-0.0.1.dist-info/licenses/LICENSE,sha256=x8apHaKgnADt4dR_45yHyL-OBaRP8310XzD2jv8HRWg,1062
35
+ nogic-0.0.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.28.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ nogic = nogic.main:entry
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Nogic
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.