cortex-llm 1.0.0__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.
Files changed (48) hide show
  1. cortex/__init__.py +73 -0
  2. cortex/__main__.py +83 -0
  3. cortex/config.py +329 -0
  4. cortex/conversation_manager.py +468 -0
  5. cortex/fine_tuning/__init__.py +8 -0
  6. cortex/fine_tuning/dataset.py +332 -0
  7. cortex/fine_tuning/mlx_lora_trainer.py +502 -0
  8. cortex/fine_tuning/trainer.py +957 -0
  9. cortex/fine_tuning/wizard.py +707 -0
  10. cortex/gpu_validator.py +467 -0
  11. cortex/inference_engine.py +727 -0
  12. cortex/metal/__init__.py +275 -0
  13. cortex/metal/gpu_validator.py +177 -0
  14. cortex/metal/memory_pool.py +886 -0
  15. cortex/metal/mlx_accelerator.py +678 -0
  16. cortex/metal/mlx_converter.py +638 -0
  17. cortex/metal/mps_optimizer.py +417 -0
  18. cortex/metal/optimizer.py +665 -0
  19. cortex/metal/performance_profiler.py +364 -0
  20. cortex/model_downloader.py +130 -0
  21. cortex/model_manager.py +2187 -0
  22. cortex/quantization/__init__.py +5 -0
  23. cortex/quantization/dynamic_quantizer.py +736 -0
  24. cortex/template_registry/__init__.py +15 -0
  25. cortex/template_registry/auto_detector.py +144 -0
  26. cortex/template_registry/config_manager.py +234 -0
  27. cortex/template_registry/interactive.py +260 -0
  28. cortex/template_registry/registry.py +347 -0
  29. cortex/template_registry/template_profiles/__init__.py +5 -0
  30. cortex/template_registry/template_profiles/base.py +142 -0
  31. cortex/template_registry/template_profiles/complex/__init__.py +5 -0
  32. cortex/template_registry/template_profiles/complex/reasoning.py +263 -0
  33. cortex/template_registry/template_profiles/standard/__init__.py +9 -0
  34. cortex/template_registry/template_profiles/standard/alpaca.py +73 -0
  35. cortex/template_registry/template_profiles/standard/chatml.py +82 -0
  36. cortex/template_registry/template_profiles/standard/gemma.py +103 -0
  37. cortex/template_registry/template_profiles/standard/llama.py +87 -0
  38. cortex/template_registry/template_profiles/standard/simple.py +65 -0
  39. cortex/ui/__init__.py +120 -0
  40. cortex/ui/cli.py +1685 -0
  41. cortex/ui/markdown_render.py +185 -0
  42. cortex/ui/terminal_app.py +534 -0
  43. cortex_llm-1.0.0.dist-info/METADATA +275 -0
  44. cortex_llm-1.0.0.dist-info/RECORD +48 -0
  45. cortex_llm-1.0.0.dist-info/WHEEL +5 -0
  46. cortex_llm-1.0.0.dist-info/entry_points.txt +2 -0
  47. cortex_llm-1.0.0.dist-info/licenses/LICENSE +21 -0
  48. cortex_llm-1.0.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,275 @@
1
+ Metadata-Version: 2.4
2
+ Name: cortex-llm
3
+ Version: 1.0.0
4
+ Summary: GPU-Accelerated LLM Terminal for Apple Silicon
5
+ Home-page: https://github.com/faisalmumtaz/Cortex
6
+ Author: Cortex Development Team
7
+ License: MIT
8
+ Project-URL: Homepage, https://github.com/faisalmumtaz/Cortex
9
+ Project-URL: Bug Tracker, https://github.com/faisalmumtaz/Cortex/issues
10
+ Project-URL: Documentation, https://github.com/faisalmumtaz/Cortex/wiki
11
+ Keywords: llm,gpu,metal,mps,apple-silicon,ai,machine-learning,terminal,mlx,pytorch
12
+ Platform: darwin
13
+ Classifier: Development Status :: 4 - Beta
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
16
+ Classifier: License :: OSI Approved :: MIT License
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Operating System :: MacOS
21
+ Classifier: Environment :: Console
22
+ Classifier: Environment :: GPU
23
+ Requires-Python: >=3.11
24
+ Description-Content-Type: text/markdown
25
+ License-File: LICENSE
26
+ Requires-Dist: torch>=2.1.0
27
+ Requires-Dist: mlx>=0.10.0
28
+ Requires-Dist: mlx-lm>=0.10.0
29
+ Requires-Dist: transformers>=4.36.0
30
+ Requires-Dist: safetensors>=0.4.0
31
+ Requires-Dist: huggingface-hub>=0.19.0
32
+ Requires-Dist: accelerate>=0.25.0
33
+ Requires-Dist: llama-cpp-python>=0.2.0
34
+ Requires-Dist: pyyaml>=6.0
35
+ Requires-Dist: pydantic>=2.5.0
36
+ Requires-Dist: rich>=13.0.0
37
+ Requires-Dist: psutil>=5.9.0
38
+ Requires-Dist: numpy>=1.24.0
39
+ Requires-Dist: packaging>=23.0
40
+ Requires-Dist: requests>=2.31.0
41
+ Provides-Extra: dev
42
+ Requires-Dist: pytest>=7.4.0; extra == "dev"
43
+ Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev"
44
+ Requires-Dist: black>=23.0.0; extra == "dev"
45
+ Requires-Dist: ruff>=0.1.0; extra == "dev"
46
+ Requires-Dist: mypy>=1.8.0; extra == "dev"
47
+ Provides-Extra: optional
48
+ Requires-Dist: sentencepiece>=0.1.99; extra == "optional"
49
+ Requires-Dist: auto-gptq>=0.7.0; extra == "optional"
50
+ Requires-Dist: autoawq>=0.2.0; extra == "optional"
51
+ Requires-Dist: bitsandbytes>=0.41.0; extra == "optional"
52
+ Requires-Dist: optimum>=1.16.0; extra == "optional"
53
+ Requires-Dist: torchvision>=0.16.0; extra == "optional"
54
+ Requires-Dist: torchaudio>=2.1.0; extra == "optional"
55
+ Dynamic: home-page
56
+ Dynamic: license-file
57
+ Dynamic: platform
58
+ Dynamic: requires-python
59
+
60
+ # Cortex - LLM Terminal Client for Apple Silicon
61
+
62
+ Cortex is an LLM terminal interface designed for Apple Silicon, using MLX and PyTorch MPS frameworks for GPU-accelerated inference.
63
+
64
+ ## What It Does
65
+
66
+ - **GPU-accelerated inference** via MLX (primary) and PyTorch MPS backends
67
+ - **Apple Silicon required** - leverages unified memory architecture
68
+ - **Multiple model formats** - MLX, GGUF, SafeTensors, PyTorch, GPTQ, AWQ
69
+ - **Built-in fine-tuning** - LoRA-based model customization via interactive wizard
70
+ - **Chat template auto-detection** - automatic format detection with confidence scoring
71
+ - **Conversation persistence** - SQLite-backed chat history with branching
72
+
73
+ ## Features
74
+
75
+ - **GPU-Accelerated Inference** - Delegates to MLX and PyTorch MPS for Metal-based execution
76
+ - **Apple Silicon Only** - Requires Metal GPU; exits if GPU acceleration is unavailable
77
+ - **Model Format Support**:
78
+ - MLX (Apple's format, loaded via `mlx_lm`)
79
+ - GGUF (via `llama-cpp-python` with Metal backend)
80
+ - SafeTensors (via HuggingFace `transformers`)
81
+ - PyTorch models (via HuggingFace `transformers` with MPS device)
82
+ - GPTQ quantized (via `auto-gptq`)
83
+ - AWQ quantized (via `awq`)
84
+ - **Quantization** - 4-bit, 5-bit, 8-bit, and mixed-precision quantization via MLX conversion pipeline
85
+ - **Model Conversion** - Convert HuggingFace models to MLX format with configurable quantization recipes
86
+ - **Template Registry** - Automatic detection of chat templates (ChatML, Llama, Alpaca, Gemma, Reasoning) with confidence scoring and real-time token filtering for reasoning models
87
+ - **Rotating KV Cache** - MLX-based KV cache for long context handling (default 4096 tokens)
88
+ - **Fine-Tuning** - LoRA-based model customization with interactive 6-step wizard
89
+ - **Terminal UI** - ANSI terminal interface with streaming output
90
+
91
+ ## Installation
92
+
93
+ ```bash
94
+ # Clone and install
95
+ git clone https://github.com/faisalmumtaz/Cortex.git
96
+ cd Cortex
97
+ ./install.sh
98
+ ```
99
+
100
+ The installer:
101
+ - Checks for Apple Silicon (arm64) compatibility
102
+ - Creates a Python virtual environment
103
+ - Installs dependencies via `pip install -e .` (from `pyproject.toml`)
104
+ - Sets up the `cortex` command in your PATH
105
+
106
+ ### Quick Install (pipx)
107
+
108
+ If you just want the CLI without cloning the repo, use pipx:
109
+
110
+ ```bash
111
+ pipx install cortex-llm
112
+ ```
113
+
114
+ ## Quick Start
115
+
116
+ ```bash
117
+ # After installation, just run:
118
+ cortex
119
+ ```
120
+
121
+ ### Downloading Models
122
+
123
+ ```bash
124
+ # Inside Cortex, use the download command:
125
+ cortex
126
+ # Then type: /download
127
+ ```
128
+
129
+ The download feature:
130
+ - **HuggingFace integration** - download any model by repository ID
131
+ - **Automatic loading** - option to load model immediately after download
132
+
133
+ ## Documentation
134
+
135
+ ### User Documentation
136
+ - **[Installation Guide](docs/installation.md)** - Complete setup instructions
137
+ - **[CLI Reference](docs/cli.md)** - Commands and user interface
138
+ - **[Configuration](docs/configuration.md)** - System settings and optimization
139
+ - **[Model Management](docs/model-management.md)** - Loading and managing models
140
+ - **[Template Registry](docs/template-registry.md)** - Automatic chat template detection and management
141
+ - **[Fine-Tuning Guide](docs/fine-tuning.md)** - Customize models with LoRA
142
+ - **[Troubleshooting](docs/troubleshooting.md)** - Common issues and solutions
143
+
144
+ ### Technical Documentation
145
+ - **[MLX Acceleration](docs/mlx-acceleration.md)** - MLX framework integration and optimization
146
+ - **[GPU Validation](docs/gpu-validation.md)** - Hardware requirements and detection
147
+ - **[Inference Engine](docs/inference-engine.md)** - Text generation architecture
148
+ - **[Conversation Management](docs/conversation-management.md)** - Chat history and persistence
149
+ - **[Development Guide](docs/development.md)** - Contributing and architecture
150
+
151
+ ## System Requirements
152
+
153
+ - Apple Silicon Mac (M1/M2/M3/M4 - all variants supported)
154
+ - macOS 13.3+ (required by MLX framework)
155
+ - Python 3.11+
156
+ - 16GB+ unified memory (24GB+ recommended for larger models)
157
+ - Xcode Command Line Tools
158
+
159
+ ## Performance
160
+
161
+ Performance depends on your Apple Silicon chip, model size, and quantization level. The inference engine measures tokens/second, first-token latency, and memory usage at runtime.
162
+
163
+ To check that GPU acceleration is working:
164
+
165
+ ```bash
166
+ source venv/bin/activate
167
+ python tests/test_apple_silicon.py
168
+ ```
169
+
170
+ You should see:
171
+ - All validation checks passing
172
+ - Measured GFLOPS from matrix operations
173
+ - Confirmation of Metal and MLX availability
174
+
175
+ ## GPU Acceleration Architecture
176
+
177
+ Cortex uses a multi-layer approach, delegating all GPU computation to established frameworks:
178
+
179
+ 1. **MLX Framework (Primary Backend)**
180
+ - Apple's ML framework with native Metal support
181
+ - Quantization support (4-bit, 5-bit, 8-bit, mixed-precision)
182
+ - Rotating KV cache for long contexts
183
+ - JIT compilation via `mx.compile`
184
+ - Operation fusion for reduced kernel launches
185
+
186
+ 2. **PyTorch MPS Backend**
187
+ - Metal Performance Shaders for PyTorch models
188
+ - FP16 optimization and channels-last tensor format
189
+
190
+ 3. **llama.cpp (GGUF Backend)**
191
+ - Metal-accelerated inference for GGUF models
192
+
193
+ 4. **Memory Management**
194
+ - Pre-allocated memory pools with best-fit/first-fit allocation strategies
195
+ - Automatic pool sizing (60% of available memory, capped at 75% of total)
196
+ - Defragmentation support
197
+
198
+ ### Understanding "Skipping Kernel" Messages
199
+
200
+ When loading GGUF models, you may see messages like:
201
+ ```
202
+ ggml_metal_init: skipping kernel_xxx_bf16 (not supported)
203
+ ```
204
+
205
+ **These are NORMAL!** They indicate:
206
+ - BF16 kernels being skipped (your GPU uses FP16 instead)
207
+ - GPU acceleration is still fully active
208
+ - The system automatically uses optimal alternatives
209
+
210
+ ## Troubleshooting
211
+
212
+ If you suspect GPU isn't being used:
213
+
214
+ 1. **Run validation**: `python tests/test_apple_silicon.py`
215
+ 2. **Check output**: Should see passing checks and measured GFLOPS
216
+ 3. **Monitor tokens/sec**: Displayed during inference
217
+ 4. **Verify Metal**: Ensure Xcode Command Line Tools installed
218
+
219
+ Common issues:
220
+ - **Low performance**: Run `python tests/test_apple_silicon.py` to diagnose
221
+ - **Memory errors**: Reduce `gpu_memory_fraction` in config.yaml
222
+
223
+ ## MLX Model Conversion
224
+
225
+ Cortex includes an MLX model converter:
226
+
227
+ ```python
228
+ from cortex.metal.mlx_converter import MLXConverter, ConversionConfig, QuantizationRecipe
229
+
230
+ converter = MLXConverter()
231
+ config = ConversionConfig(
232
+ quantization=QuantizationRecipe.SPEED_4BIT, # 4-bit quantization
233
+ compile_model=True # JIT compilation
234
+ )
235
+
236
+ success, message, output_path = converter.convert_model(
237
+ "microsoft/DialoGPT-medium",
238
+ config=config
239
+ )
240
+ ```
241
+
242
+ ### Quantization Options
243
+
244
+ - **4-bit**: Maximum speed, 75% size reduction
245
+ - **5-bit**: Balanced speed and quality
246
+ - **8-bit**: Higher quality, 50% size reduction
247
+ - **Mixed Precision**: Custom per-layer quantization
248
+
249
+ ## MLX as Primary Backend
250
+
251
+ Cortex uses MLX (Apple's machine learning framework) as the primary acceleration backend:
252
+ - **Metal Support**: GPU execution via MLX's built-in Metal operations
253
+ - **Quantization**: Support for 4-bit, 5-bit, 8-bit, and mixed-precision quantization
254
+ - **Model Conversion**: Convert HuggingFace models to MLX format
255
+
256
+ ## Built With
257
+
258
+ - [MLX](https://github.com/ml-explore/mlx) - Apple's machine learning framework
259
+ - [mlx-lm](https://github.com/ml-explore/mlx-examples) - LLM utilities and LoRA fine-tuning for MLX
260
+ - [PyTorch](https://pytorch.org/) - With Metal Performance Shaders backend
261
+ - [llama.cpp](https://github.com/ggerganov/llama.cpp) - Metal-accelerated GGUF support
262
+ - [Rich](https://github.com/Textualize/rich) - Terminal formatting
263
+ - [HuggingFace](https://huggingface.co/) - Model hub and transformers
264
+
265
+ ## Contributing
266
+
267
+ We welcome contributions! Please see the [Development Guide](docs/development.md) for contributing guidelines and setup instructions.
268
+
269
+ ## License
270
+
271
+ MIT License - See [LICENSE](LICENSE) for details.
272
+
273
+ ---
274
+
275
+ **Note**: Cortex requires Apple Silicon. Intel Macs are not supported.
@@ -0,0 +1,48 @@
1
+ cortex/__init__.py,sha256=cAZXKEqjOtK2P-kij00tDHwtM3asYNCW1386R4WHyTQ,2201
2
+ cortex/__main__.py,sha256=9k1Cvz8ncltQzbrJlxz8JDv-jHAOLCZoCaKSlJ4YFHE,2664
3
+ cortex/config.py,sha256=txmpJXy3kUEKULZyu1OWb_jkNQRHZClm5ovZfCTX_Zc,13444
4
+ cortex/conversation_manager.py,sha256=aSTdGjVttsMKIiRPzztP0tOXlqZBkWtgZDNCZGyaR-c,17177
5
+ cortex/gpu_validator.py,sha256=un6vMQ78MWMnKWIz8n-92v9Fb4g_YXqU_E1pUPinncY,16582
6
+ cortex/inference_engine.py,sha256=WUi5YS_sTQFayc-UJbyixHEzZlMN0-ATNdoPNEhHbbo,28543
7
+ cortex/model_downloader.py,sha256=VuPhvxq_66qKjsPjEWcLW-VmUHzOHik6LBMiGDk-cX8,4977
8
+ cortex/model_manager.py,sha256=Blk-JA_kajJcDp-h2A4tplECijHPw8LZ8c_fbq0FGFg,100670
9
+ cortex/fine_tuning/__init__.py,sha256=IXKQqNqN1C3mha3na35i7KI-hMnsqqrmUgV4NrPKHy0,269
10
+ cortex/fine_tuning/dataset.py,sha256=hIz_dfFSaJoiFzWZ6vwlwqjpTfdsnFNIEmwhhTD2d9k,15414
11
+ cortex/fine_tuning/mlx_lora_trainer.py,sha256=idNzKtVG8pObwsnSrP0N1rU1EanhrIRvHiNL1asdzr8,22438
12
+ cortex/fine_tuning/trainer.py,sha256=Y9l7RQMGHEqVpVS0rcuCe0ZkNzE0Yvmgb00oCWH_b6Q,38775
13
+ cortex/fine_tuning/wizard.py,sha256=eIRUM3zTqKKATJEbQrBsaOfFfRWfY9BV5FkSAzT82QM,31815
14
+ cortex/metal/__init__.py,sha256=Ycs81qVOsaYV4UJocCFGW3rPPBySMPy7eOHKzfc4Q7o,8780
15
+ cortex/metal/gpu_validator.py,sha256=1YHKJXqicXvTwKIdSj34n1DgKoluy9yho6S1jWt1UAs,5818
16
+ cortex/metal/memory_pool.py,sha256=g5PFQAiouQe4TyX-SVi-Di1MLysb3YBF77uR4nAEomo,34698
17
+ cortex/metal/mlx_accelerator.py,sha256=HknYFHwFOPzAtdrV5OqxBvENX3qwNoiKC6H8lXGmJPg,25637
18
+ cortex/metal/mlx_converter.py,sha256=lMmIh6PqLwraWInZDLJjktBtumLHD9TYRnhiKCpilrc,26722
19
+ cortex/metal/mps_optimizer.py,sha256=4r6dj-_KAr3vedCwwu7lR-nIaF4g4D4kkOoF2KiQ0FQ,15307
20
+ cortex/metal/optimizer.py,sha256=9ixKj8ca1iovF-mFHYGa9_DUHcqgGyzLoP_lIRAzfMM,21996
21
+ cortex/metal/performance_profiler.py,sha256=GMxxqwqE2kVJ4WePwVdUp2ADqhrV6wCCNrFnaMfBDpI,12274
22
+ cortex/quantization/__init__.py,sha256=ElLP3ZO_XItddTl-PeoJ5GPb16RYIAk8m5sqwfAVE9s,184
23
+ cortex/quantization/dynamic_quantizer.py,sha256=sAoHoQ6wfs6FvejG-iehB2Qij-0WC9qSTlBfj3D1pTI,31724
24
+ cortex/template_registry/__init__.py,sha256=O5BWmHRmfMSK-Ukpu8UqFO_kaN0kum-d-Wsz0Ds-sC0,491
25
+ cortex/template_registry/auto_detector.py,sha256=lqI19Ef_w6ClZvD5dzDw1i5gnf2AUN_L4WjCMvW99Yg,5432
26
+ cortex/template_registry/config_manager.py,sha256=vh7cXAUTJ4dLY74u5EHTpTa46jXxj34BlMyWsC_ZIaM,8658
27
+ cortex/template_registry/interactive.py,sha256=ldKc8Ilvr5RBrtBRJjue-hFgLSB5uh7dQmVW7rI1Fms,10986
28
+ cortex/template_registry/registry.py,sha256=pVgyGhEMemCN8mdZXxg8rnWKr1FMEIK1JiEEu8rta4M,12949
29
+ cortex/template_registry/template_profiles/__init__.py,sha256=bM_VkDzHJYIty-5Gr92mbUPEnwmMtMrIZZvkp2Nqxos,232
30
+ cortex/template_registry/template_profiles/base.py,sha256=2dHsdv0MRrNEEd5G8Y4WWey_g9ylMZ8orUh5CMrSPYw,4854
31
+ cortex/template_registry/template_profiles/complex/__init__.py,sha256=g1fcy4magj26j8-OuXJHH5gEyoIVpbWkJLEN8k_-RDI,182
32
+ cortex/template_registry/template_profiles/complex/reasoning.py,sha256=RZ8-JSEz48bF99WyVwadAaPYOQk69iTGfuMXyAUeiGQ,11460
33
+ cortex/template_registry/template_profiles/standard/__init__.py,sha256=9CfYhufq3fGwmX1J7IRa4RJT15Qnqwf1aj2tKbw--ls,550
34
+ cortex/template_registry/template_profiles/standard/alpaca.py,sha256=vk3o27fSqXOJFhVhipxolTKd9hcafqE8SUo2UsIuSS4,2732
35
+ cortex/template_registry/template_profiles/standard/chatml.py,sha256=_oQdqV90bGNPZy5d27qzyRCzM5ykSTSow0ygLyvHURA,3190
36
+ cortex/template_registry/template_profiles/standard/gemma.py,sha256=D4wZN3_6QzUj-icfkX6o35USLbhXe08VaYGclHXvHSw,4074
37
+ cortex/template_registry/template_profiles/standard/llama.py,sha256=jz4MyvmISSPtIAcffPE7LrTosHvlC0NoJhzTw1DCvpY,3209
38
+ cortex/template_registry/template_profiles/standard/simple.py,sha256=dGOOcL6HRoJFxkixLrYC4w7c63h-QmOOWC2TsOihYog,2422
39
+ cortex/ui/__init__.py,sha256=t3GrHJMHTVgBEKh2_qt4B9mS594V5jriTDqc3eZKMGc,3409
40
+ cortex/ui/cli.py,sha256=oxHRIhLu_izy4ZfBWqUngnV060UD4P0J8bcvquKz2lU,74632
41
+ cortex/ui/markdown_render.py,sha256=bXt60vkNYT_jbpKeIg_1OlcrxssmdbMO7RB2E1sWw3E,5759
42
+ cortex/ui/terminal_app.py,sha256=SF3KqcGFyZ4hpTmgX21idPzOTJLdKGkt4QdA-wwUBNE,18317
43
+ cortex_llm-1.0.0.dist-info/licenses/LICENSE,sha256=_frJ3VsZWQGhMznZw2Tgjk7xwfAfDZRcBl43uZh8_4E,1070
44
+ cortex_llm-1.0.0.dist-info/METADATA,sha256=STGY7B8BthPSY29Slojmq1_HiXsQ5NxUtgwQoKPToMg,10087
45
+ cortex_llm-1.0.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
46
+ cortex_llm-1.0.0.dist-info/entry_points.txt,sha256=g83Nuz3iFrNdMLHxGLR2LnscdM7rdQRchuL3WGobQC8,48
47
+ cortex_llm-1.0.0.dist-info/top_level.txt,sha256=79LAeTJJ_pMIBy3mkF7uNaN0mdBRt5tGrnne5N_iAio,7
48
+ cortex_llm-1.0.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.10.2)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ cortex = cortex.__main__:main
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Faisal Mumtaz
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.
@@ -0,0 +1 @@
1
+ cortex