code-analyser 1.0.0__tar.gz → 1.0.2__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.
- {code_analyser-1.0.0 → code_analyser-1.0.2}/PKG-INFO +4 -4
- {code_analyser-1.0.0 → code_analyser-1.0.2}/README.md +3 -3
- {code_analyser-1.0.0 → code_analyser-1.0.2}/pyproject.toml +1 -1
- {code_analyser-1.0.0 → code_analyser-1.0.2}/src/code_analyser/api.py +1 -0
- code_analyser-1.0.2/uv.lock +827 -0
- code_analyser-1.0.0/CODE-LENS.md +0 -223
- code_analyser-1.0.0/uv.lock +0 -1671
- {code_analyser-1.0.0 → code_analyser-1.0.2}/.dockerignore +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/.env.example +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/.gitignore +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/LICENSE +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/docs/superpowers/plans/2026-05-06-code-analyser-rewrite.md +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/docs/superpowers/specs/2026-05-05-code-analyser-design.md +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/src/code_analyser/__init__.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/src/code_analyser/cli.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/src/code_analyser/core/__init__.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/src/code_analyser/core/css_.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/src/code_analyser/core/html_.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/src/code_analyser/core/javascript_.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/src/code_analyser/core/notebook_.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/src/code_analyser/core/python_.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/src/code_analyser/core/sql_.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/src/code_analyser/core/typescript_.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/src/code_analyser/detect.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/src/code_analyser/llm.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/src/code_analyser/models.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/src/code_analyser/pipeline.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/src/code_analyser/settings.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/tests/__init__.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/tests/api/__init__.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/tests/api/test_api.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/tests/cli/__init__.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/tests/cli/test_cli.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/tests/conftest.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/tests/integration/__init__.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/tests/integration/test_full_pipeline.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/tests/integration/test_pipeline.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/tests/unit/__init__.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/tests/unit/test_css_.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/tests/unit/test_detect.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/tests/unit/test_html_.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/tests/unit/test_javascript_.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/tests/unit/test_llm.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/tests/unit/test_models.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/tests/unit/test_notebook_.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/tests/unit/test_python_.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/tests/unit/test_scaffold.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/tests/unit/test_sql_.py +0 -0
- {code_analyser-1.0.0 → code_analyser-1.0.2}/tests/unit/test_typescript_.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: code-analyser
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: Source code analyser — part of the analyser family
|
|
5
5
|
License-File: LICENSE
|
|
6
6
|
Requires-Python: >=3.10
|
|
@@ -46,7 +46,7 @@ Requires Python 3.11+.
|
|
|
46
46
|
### Python
|
|
47
47
|
|
|
48
48
|
```python
|
|
49
|
-
from
|
|
49
|
+
from code_analyser import analyse
|
|
50
50
|
|
|
51
51
|
result = analyse("submission.py")
|
|
52
52
|
|
|
@@ -59,7 +59,7 @@ print(f"Issues: {len(result['issues'])}")
|
|
|
59
59
|
|
|
60
60
|
```bash
|
|
61
61
|
# Start the server
|
|
62
|
-
uvicorn
|
|
62
|
+
uvicorn code_analyser.main:app --port 8004
|
|
63
63
|
|
|
64
64
|
curl -X POST http://localhost:8004/api/v1/analyze/python \
|
|
65
65
|
-H "Content-Type: application/json" \
|
|
@@ -105,7 +105,7 @@ Low-level analysis tools. Each accepts files directly and returns structured JSO
|
|
|
105
105
|
| [document-analyser](https://github.com/michael-borck/document-analyser) | PDF, DOCX, PPTX, TXT — text and readability |
|
|
106
106
|
| [code-analyser](https://github.com/michael-borck/code-analyser) | source code — style, complexity, and quality metrics |
|
|
107
107
|
| [records-analyser](https://github.com/michael-borck/records-analyser) | CSV, Excel, SQLite, Parquet, JSON — data profiling |
|
|
108
|
-
| [
|
|
108
|
+
| [auto-analyser](https://github.com/michael-borck/auto-analyser) | any file — detects format and routes to the right tool |
|
|
109
109
|
|
|
110
110
|
## License
|
|
111
111
|
|
|
@@ -19,7 +19,7 @@ Requires Python 3.11+.
|
|
|
19
19
|
### Python
|
|
20
20
|
|
|
21
21
|
```python
|
|
22
|
-
from
|
|
22
|
+
from code_analyser import analyse
|
|
23
23
|
|
|
24
24
|
result = analyse("submission.py")
|
|
25
25
|
|
|
@@ -32,7 +32,7 @@ print(f"Issues: {len(result['issues'])}")
|
|
|
32
32
|
|
|
33
33
|
```bash
|
|
34
34
|
# Start the server
|
|
35
|
-
uvicorn
|
|
35
|
+
uvicorn code_analyser.main:app --port 8004
|
|
36
36
|
|
|
37
37
|
curl -X POST http://localhost:8004/api/v1/analyze/python \
|
|
38
38
|
-H "Content-Type: application/json" \
|
|
@@ -78,7 +78,7 @@ Low-level analysis tools. Each accepts files directly and returns structured JSO
|
|
|
78
78
|
| [document-analyser](https://github.com/michael-borck/document-analyser) | PDF, DOCX, PPTX, TXT — text and readability |
|
|
79
79
|
| [code-analyser](https://github.com/michael-borck/code-analyser) | source code — style, complexity, and quality metrics |
|
|
80
80
|
| [records-analyser](https://github.com/michael-borck/records-analyser) | CSV, Excel, SQLite, Parquet, JSON — data profiling |
|
|
81
|
-
| [
|
|
81
|
+
| [auto-analyser](https://github.com/michael-borck/auto-analyser) | any file — detects format and routes to the right tool |
|
|
82
82
|
|
|
83
83
|
## License
|
|
84
84
|
|