Language-Driven Software Development Assistant powered by Claude AI
Project description
Janito is an open source Language-Driven Software Development Assistant powered by Claude AI. It helps developers understand, modify, and improve their Python code through natural language interaction.
Features
- Natural language code interactions
- File system monitoring and auto-restart
- Interactive command-line interface
- Workspace management and visualization
- History and session management
- Debug mode for troubleshooting
- Syntax error detection and fixing
- Python file execution
- File editing with system editor
Installation
# Install package
pip install janito
Usage
Start Janito in your project directory:
python -m janito
Or launch with options:
python -m janito --debug # Enable debug mode
python -m janito --no-watch # Disable file watching
Commands
.help- Show help information.exit- Exit the console.clear- Clear console output.debug- Toggle debug mode.workspace- Show workspace structure.last- Show last Claude response.show <file>- Show file content with syntax highlighting.check- Check workspace Python files for syntax errors.p <file>- Run a Python file.python <file>- Run a Python file (alias for .p).edit <file>- Open file in system editor
Input Formats
!request- Request file changes (e.g. '!add logging to utils.py')request?- Get information and analysis without changesrequest- General discussion and queries$command- Execute shell commands
Configuration
Requires an Anthropic API key set via environment variable:
export ANTHROPIC_API_KEY='your_api_key_here'
Development
The package consists of several modules:
janito.py- Core functionality and CLI interfacechange.py- File modification and change trackingclaude.py- Claude API interactionconsole.py- Interactive console and command handlingcommands.py- Command implementationsprompts.py- Prompt templates and builderswatcher.py- File system monitoringworkspace.py- Workspace analysis and managementxmlchangeparser.py- XML parser for file changeswatcher.py- File system monitoring
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file janito-0.1.0.tar.gz.
File metadata
- Download URL: janito-0.1.0.tar.gz
- Upload date:
- Size: 26.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
155890737c85faf5b851f5debd6dc89d70cbda9c4520fe72de0d1eaba10d150a
|
|
| MD5 |
938956bfa936ca4cc6a043d3f793efcb
|
|
| BLAKE2b-256 |
6fb76fc013e838f3d0f0f2f2008b1ed47fc81acc90712becdf3092b02dab7b8b
|
File details
Details for the file janito-0.1.0-py3-none-any.whl.
File metadata
- Download URL: janito-0.1.0-py3-none-any.whl
- Upload date:
- Size: 31.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f1c9dfbf84c6984f82873d1e7d2b930512cafe6d79e8f6d79f5e52639a99488
|
|
| MD5 |
6ec911ea0effa815a42dd31062f5f7f4
|
|
| BLAKE2b-256 |
4bef23d56eddd198eaa54044275fb7fcfcd4c76e9a89ddf0aa560710a07c149b
|