@compilr-dev/agents-coding-python 0.1.1 → 0.1.2

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 (2) hide show
  1. package/README.md +48 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,48 @@
1
+ # @compilr-dev/agents-coding-python
2
+
3
+ Python analysis tools for AI agents - AST-based code analysis using Tree-sitter.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @compilr-dev/agents-coding-python
9
+ ```
10
+
11
+ **Peer dependency:** `@compilr-dev/agents ^0.3.0`
12
+
13
+ ## Features
14
+
15
+ - **AST Analysis** - Parse and analyze Python code via Tree-sitter
16
+ - **Function/Class Extraction** - Extract definitions with signatures
17
+ - **Import Analysis** - Track module dependencies
18
+ - **Docstring Parsing** - Extract documentation
19
+
20
+ ## Usage
21
+
22
+ ```typescript
23
+ import { pythonTools, pythonSkills } from '@compilr-dev/agents-coding-python';
24
+
25
+ // Register tools with your agent
26
+ agent.registerTools(pythonTools);
27
+ agent.registerSkills(pythonSkills);
28
+ ```
29
+
30
+ ## Tools
31
+
32
+ | Tool | Description |
33
+ |------|-------------|
34
+ | `analyzePython` | Analyze Python file structure |
35
+ | `extractFunctions` | Extract function definitions |
36
+ | `extractClasses` | Extract class definitions |
37
+ | `findImports` | Find import statements |
38
+
39
+ ## Part of the agents-coding ecosystem
40
+
41
+ - [`@compilr-dev/agents-coding`](https://npmjs.com/package/@compilr-dev/agents-coding) - Umbrella package (recommended)
42
+ - [`@compilr-dev/agents-coding-core`](https://npmjs.com/package/@compilr-dev/agents-coding-core) - Language-agnostic tools
43
+ - [`@compilr-dev/agents-coding-ts`](https://npmjs.com/package/@compilr-dev/agents-coding-ts) - TypeScript/JavaScript analysis
44
+ - [`@compilr-dev/agents-coding-go`](https://npmjs.com/package/@compilr-dev/agents-coding-go) - Go analysis
45
+
46
+ ## License
47
+
48
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compilr-dev/agents-coding-python",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Python analysis tools for AI agents - AST-based code analysis using Tree-sitter",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",