codehound 0.1.0__tar.gz → 1.0.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: codehound
3
- Version: 0.1.0
3
+ Version: 1.0.3
4
4
  Summary: An AST-based static analyzer that hunts real correctness and async-safety bugs in Python code.
5
5
  Project-URL: Homepage, https://github.com/kratos0718/codehound
6
6
  Project-URL: Issues, https://github.com/kratos0718/codehound/issues
@@ -23,6 +23,7 @@ Description-Content-Type: text/markdown
23
23
  **An AST-based static analyzer that hunts *real* bugs in large Python codebases — every rule is backed by a bug that was actually found and merged into a major open-source AI framework.**
24
24
 
25
25
  [![CI](https://github.com/kratos0718/codehound/actions/workflows/ci.yml/badge.svg)](https://github.com/kratos0718/codehound/actions/workflows/ci.yml)
26
+ [![PyPI](https://img.shields.io/pypi/v/codehound.svg)](https://pypi.org/project/codehound/)
26
27
  ![Python](https://img.shields.io/badge/python-3.9%2B-blue)
27
28
  ![License](https://img.shields.io/badge/license-MIT-green)
28
29
  [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.21851079.svg)](https://doi.org/10.5281/zenodo.21851079)
@@ -63,13 +64,23 @@ I was contributing bug fixes to large AI frameworks and noticed the same handful
63
64
  ## Install
64
65
 
65
66
  ```bash
66
- # from a clone (modern pip)
67
+ pip install codehound
68
+ ```
69
+
70
+ Zero dependencies — it's ~750 lines on top of the standard-library `ast` module, so this installs instantly and runs fully offline, no API key or network call involved.
71
+
72
+ <details>
73
+ <summary>From a clone instead (for development)</summary>
74
+
75
+ ```bash
67
76
  pip install -e .
68
77
 
69
78
  # or run straight from source, no install needed
70
79
  PYTHONPATH=src python -m codehound.cli scan path/to/project
71
80
  ```
72
81
 
82
+ </details>
83
+
73
84
  ## Usage
74
85
 
75
86
  ```bash
@@ -3,6 +3,7 @@
3
3
  **An AST-based static analyzer that hunts *real* bugs in large Python codebases — every rule is backed by a bug that was actually found and merged into a major open-source AI framework.**
4
4
 
5
5
  [![CI](https://github.com/kratos0718/codehound/actions/workflows/ci.yml/badge.svg)](https://github.com/kratos0718/codehound/actions/workflows/ci.yml)
6
+ [![PyPI](https://img.shields.io/pypi/v/codehound.svg)](https://pypi.org/project/codehound/)
6
7
  ![Python](https://img.shields.io/badge/python-3.9%2B-blue)
7
8
  ![License](https://img.shields.io/badge/license-MIT-green)
8
9
  [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.21851079.svg)](https://doi.org/10.5281/zenodo.21851079)
@@ -43,13 +44,23 @@ I was contributing bug fixes to large AI frameworks and noticed the same handful
43
44
  ## Install
44
45
 
45
46
  ```bash
46
- # from a clone (modern pip)
47
+ pip install codehound
48
+ ```
49
+
50
+ Zero dependencies — it's ~750 lines on top of the standard-library `ast` module, so this installs instantly and runs fully offline, no API key or network call involved.
51
+
52
+ <details>
53
+ <summary>From a clone instead (for development)</summary>
54
+
55
+ ```bash
47
56
  pip install -e .
48
57
 
49
58
  # or run straight from source, no install needed
50
59
  PYTHONPATH=src python -m codehound.cli scan path/to/project
51
60
  ```
52
61
 
62
+ </details>
63
+
53
64
  ## Usage
54
65
 
55
66
  ```bash
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "codehound"
7
- version = "0.1.0"
7
+ dynamic = ["version"]
8
8
  description = "An AST-based static analyzer that hunts real correctness and async-safety bugs in Python code."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -30,6 +30,9 @@ codehound = "codehound.cli:main"
30
30
  [project.optional-dependencies]
31
31
  dev = ["pytest>=7"]
32
32
 
33
+ [tool.hatch.version]
34
+ path = "src/codehound/__init__.py"
35
+
33
36
  [tool.hatch.build.targets.wheel]
34
37
  packages = ["src/codehound"]
35
38
 
@@ -9,7 +9,7 @@ from __future__ import annotations
9
9
  from codehound.checks import ALL_CHECKS, get_checks
10
10
  from codehound.core import Check, Finding, scan_file, scan_path
11
11
 
12
- __version__ = "0.1.0"
12
+ __version__ = "1.0.3"
13
13
 
14
14
  __all__ = [
15
15
  "ALL_CHECKS",
File without changes
File without changes