janito 0.9.0__tar.gz → 0.10.0__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.
Files changed (33) hide show
  1. janito-0.10.0/PKG-INFO +88 -0
  2. janito-0.10.0/janito/__init__.py +5 -0
  3. janito-0.10.0/janito.egg-info/PKG-INFO +88 -0
  4. {janito-0.9.0 → janito-0.10.0}/pyproject.toml +25 -20
  5. janito-0.9.0/PKG-INFO +0 -9
  6. janito-0.9.0/janito/__init__.py +0 -5
  7. janito-0.9.0/janito.egg-info/PKG-INFO +0 -9
  8. {janito-0.9.0 → janito-0.10.0}/LICENSE +0 -0
  9. {janito-0.9.0 → janito-0.10.0}/MANIFEST.in +0 -0
  10. {janito-0.9.0 → janito-0.10.0}/README.md +0 -0
  11. {janito-0.9.0 → janito-0.10.0}/janito/__main__.py +0 -0
  12. {janito-0.9.0 → janito-0.10.0}/janito/callbacks.py +0 -0
  13. {janito-0.9.0 → janito-0.10.0}/janito/cli.py +0 -0
  14. {janito-0.9.0 → janito-0.10.0}/janito/config.py +0 -0
  15. {janito-0.9.0 → janito-0.10.0}/janito/data/instructions.txt +0 -0
  16. {janito-0.9.0 → janito-0.10.0}/janito/test_file.py +0 -0
  17. {janito-0.9.0 → janito-0.10.0}/janito/token_report.py +0 -0
  18. {janito-0.9.0 → janito-0.10.0}/janito/tools/__init__.py +0 -0
  19. {janito-0.9.0 → janito-0.10.0}/janito/tools/decorators.py +0 -0
  20. {janito-0.9.0 → janito-0.10.0}/janito/tools/delete_file.py +0 -0
  21. {janito-0.9.0 → janito-0.10.0}/janito/tools/find_files.py +0 -0
  22. {janito-0.9.0 → janito-0.10.0}/janito/tools/search_text.py +0 -0
  23. {janito-0.9.0 → janito-0.10.0}/janito/tools/str_replace_editor/__init__.py +0 -0
  24. {janito-0.9.0 → janito-0.10.0}/janito/tools/str_replace_editor/editor.py +0 -0
  25. {janito-0.9.0 → janito-0.10.0}/janito/tools/str_replace_editor/handlers.py +0 -0
  26. {janito-0.9.0 → janito-0.10.0}/janito/tools/str_replace_editor/utils.py +0 -0
  27. {janito-0.9.0 → janito-0.10.0}/janito.egg-info/SOURCES.txt +0 -0
  28. {janito-0.9.0 → janito-0.10.0}/janito.egg-info/dependency_links.txt +0 -0
  29. {janito-0.9.0 → janito-0.10.0}/janito.egg-info/entry_points.txt +0 -0
  30. {janito-0.9.0 → janito-0.10.0}/janito.egg-info/requires.txt +0 -0
  31. {janito-0.9.0 → janito-0.10.0}/janito.egg-info/top_level.txt +0 -0
  32. {janito-0.9.0 → janito-0.10.0}/setup.cfg +0 -0
  33. {janito-0.9.0 → janito-0.10.0}/setup.py +0 -0
janito-0.10.0/PKG-INFO ADDED
@@ -0,0 +1,88 @@
1
+ Metadata-Version: 2.2
2
+ Name: janito
3
+ Version: 0.10.0
4
+ Summary: Janito CLI tool
5
+ Author-email: João Pinto <lamego.pinto@gmail.com>
6
+ Project-URL: Homepage, https://github.com/joaompinto/janito
7
+ Requires-Python: >=3.8
8
+ Description-Content-Type: text/markdown
9
+ License-File: LICENSE
10
+ Requires-Dist: typer>=0.9.0
11
+ Requires-Dist: rich>=13.0.0
12
+ Requires-Dist: claudine>=0.1.0
13
+
14
+ # 🤖 Janito
15
+
16
+ Janito is a powerful AI-assisted command-line interface (CLI) tool built with Python, leveraging Anthropic's Claude for intelligent code and file management.
17
+
18
+ ## ✨ Features
19
+
20
+ - 🧠 Intelligent AI assistant powered by Claude
21
+ - 📁 File management capabilities
22
+ - 🔍 Smart code search and editing
23
+ - 💻 Interactive terminal interface with rich formatting
24
+ - 📊 Token usage tracking and cost reporting
25
+
26
+ ## 🛠️ Installation
27
+
28
+ ```bash
29
+ # Clone the repository
30
+ git clone https://github.com/joaompinto/janito.git
31
+ cd janito
32
+
33
+ # Install the package
34
+ pip install -e .
35
+ ```
36
+
37
+ ## 🚀 Usage
38
+
39
+ After installation, you can use the `janito` command in your terminal:
40
+
41
+ ```bash
42
+ # Get help
43
+ janito --help
44
+
45
+
46
+ # Ask the AI assistant a question
47
+ janito "Suggest improvements to this project"
48
+
49
+ janito "Add a --version to the cli to report he version"
50
+
51
+ ```
52
+
53
+ ## 🔧 Available Tools
54
+
55
+ Janito comes with several built-in tools:
56
+ - 📄 `str_replace_editor` - View, create, and edit files
57
+ - 🔎 `find_files` - Find files matching patterns
58
+ - 🗑️ `delete_file` - Delete files
59
+ - 🔍 `search_text` - Search for text patterns in files
60
+
61
+ ## ⚙️ Requirements
62
+
63
+ - Python 3.8 or higher
64
+ - Dependencies:
65
+ - typer (>=0.9.0)
66
+ - rich (>=13.0.0)
67
+ - claudine (for Claude AI integration)
68
+
69
+ ## 🔑 API Key
70
+
71
+ Janito requires an Anthropic API key to function. You can:
72
+ 1. Set it as an environment variable: `export ANTHROPIC_API_KEY=your_api_key`
73
+ 2. Or enter it when prompted
74
+
75
+ ## 💻 Development
76
+
77
+ ```bash
78
+ # Create a virtual environment
79
+ python -m venv .venv
80
+ source .venv/bin/activate # On Windows: .venv\Scripts\activate
81
+
82
+ # Install development dependencies
83
+ pip install -e ".[dev]"
84
+ ```
85
+
86
+ ## 📜 License
87
+
88
+ [Add your license information here]
@@ -0,0 +1,5 @@
1
+ """
2
+ Janito package.
3
+ """
4
+
5
+ __version__ = "0.10.0"
@@ -0,0 +1,88 @@
1
+ Metadata-Version: 2.2
2
+ Name: janito
3
+ Version: 0.10.0
4
+ Summary: Janito CLI tool
5
+ Author-email: João Pinto <lamego.pinto@gmail.com>
6
+ Project-URL: Homepage, https://github.com/joaompinto/janito
7
+ Requires-Python: >=3.8
8
+ Description-Content-Type: text/markdown
9
+ License-File: LICENSE
10
+ Requires-Dist: typer>=0.9.0
11
+ Requires-Dist: rich>=13.0.0
12
+ Requires-Dist: claudine>=0.1.0
13
+
14
+ # 🤖 Janito
15
+
16
+ Janito is a powerful AI-assisted command-line interface (CLI) tool built with Python, leveraging Anthropic's Claude for intelligent code and file management.
17
+
18
+ ## ✨ Features
19
+
20
+ - 🧠 Intelligent AI assistant powered by Claude
21
+ - 📁 File management capabilities
22
+ - 🔍 Smart code search and editing
23
+ - 💻 Interactive terminal interface with rich formatting
24
+ - 📊 Token usage tracking and cost reporting
25
+
26
+ ## 🛠️ Installation
27
+
28
+ ```bash
29
+ # Clone the repository
30
+ git clone https://github.com/joaompinto/janito.git
31
+ cd janito
32
+
33
+ # Install the package
34
+ pip install -e .
35
+ ```
36
+
37
+ ## 🚀 Usage
38
+
39
+ After installation, you can use the `janito` command in your terminal:
40
+
41
+ ```bash
42
+ # Get help
43
+ janito --help
44
+
45
+
46
+ # Ask the AI assistant a question
47
+ janito "Suggest improvements to this project"
48
+
49
+ janito "Add a --version to the cli to report he version"
50
+
51
+ ```
52
+
53
+ ## 🔧 Available Tools
54
+
55
+ Janito comes with several built-in tools:
56
+ - 📄 `str_replace_editor` - View, create, and edit files
57
+ - 🔎 `find_files` - Find files matching patterns
58
+ - 🗑️ `delete_file` - Delete files
59
+ - 🔍 `search_text` - Search for text patterns in files
60
+
61
+ ## ⚙️ Requirements
62
+
63
+ - Python 3.8 or higher
64
+ - Dependencies:
65
+ - typer (>=0.9.0)
66
+ - rich (>=13.0.0)
67
+ - claudine (for Claude AI integration)
68
+
69
+ ## 🔑 API Key
70
+
71
+ Janito requires an Anthropic API key to function. You can:
72
+ 1. Set it as an environment variable: `export ANTHROPIC_API_KEY=your_api_key`
73
+ 2. Or enter it when prompted
74
+
75
+ ## 💻 Development
76
+
77
+ ```bash
78
+ # Create a virtual environment
79
+ python -m venv .venv
80
+ source .venv/bin/activate # On Windows: .venv\Scripts\activate
81
+
82
+ # Install development dependencies
83
+ pip install -e ".[dev]"
84
+ ```
85
+
86
+ ## 📜 License
87
+
88
+ [Add your license information here]
@@ -1,20 +1,25 @@
1
- [build-system]
2
- requires = ["setuptools>=61.0", "wheel"]
3
- build-backend = "setuptools.build_meta"
4
-
5
- [project]
6
- name = "janito"
7
- version = "0.9.0"
8
- description = "Janito CLI tool"
9
- requires-python = ">=3.8"
10
- dependencies = [
11
- "typer>=0.9.0",
12
- "rich>=13.0.0",
13
- "claudine>=0.1.0",
14
- ]
15
-
16
- [project.scripts]
17
- janito = "janito.__main__:app"
18
-
19
- [tool.setuptools.package-data]
20
- "janito" = ["data/*.txt"]
1
+ [build-system]
2
+ requires = ["setuptools>=61.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "janito"
7
+ version = "0.10.0"
8
+ description = "Janito CLI tool"
9
+ readme = "README.md"
10
+ requires-python = ">=3.8"
11
+ authors = [
12
+ {name = "João Pinto", email = "lamego.pinto@gmail.com"}
13
+ ]
14
+ urls = {Homepage = "https://github.com/joaompinto/janito"}
15
+ dependencies = [
16
+ "typer>=0.9.0",
17
+ "rich>=13.0.0",
18
+ "claudine>=0.1.0",
19
+ ]
20
+
21
+ [project.scripts]
22
+ janito = "janito.__main__:app"
23
+
24
+ [tool.setuptools.package-data]
25
+ "janito" = ["data/*.txt"]
janito-0.9.0/PKG-INFO DELETED
@@ -1,9 +0,0 @@
1
- Metadata-Version: 2.2
2
- Name: janito
3
- Version: 0.9.0
4
- Summary: Janito CLI tool
5
- Requires-Python: >=3.8
6
- License-File: LICENSE
7
- Requires-Dist: typer>=0.9.0
8
- Requires-Dist: rich>=13.0.0
9
- Requires-Dist: claudine>=0.1.0
@@ -1,5 +0,0 @@
1
- """
2
- Janito package.
3
- """
4
-
5
- __version__ = "0.9.0"
@@ -1,9 +0,0 @@
1
- Metadata-Version: 2.2
2
- Name: janito
3
- Version: 0.9.0
4
- Summary: Janito CLI tool
5
- Requires-Python: >=3.8
6
- License-File: LICENSE
7
- Requires-Dist: typer>=0.9.0
8
- Requires-Dist: rich>=13.0.0
9
- Requires-Dist: claudine>=0.1.0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes