Skip to main content

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 changes
  • request - 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 interface
  • change.py - File modification and change tracking
  • claude.py - Claude API interaction
  • console.py - Interactive console and command handling
  • commands.py - Command implementations
  • prompts.py - Prompt templates and builders
  • watcher.py - File system monitoring
  • workspace.py - Workspace analysis and management
  • xmlchangeparser.py - XML parser for file changes
  • watcher.py - File system monitoring

License

MIT License

Project details


Release history Release notifications | RSS feed

This version

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

janito-0.1.0.tar.gz (26.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

janito-0.1.0-py3-none-any.whl (31.1 kB view details)

Uploaded Python 3

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

Hashes for janito-0.1.0.tar.gz
Algorithm Hash digest
SHA256 155890737c85faf5b851f5debd6dc89d70cbda9c4520fe72de0d1eaba10d150a
MD5 938956bfa936ca4cc6a043d3f793efcb
BLAKE2b-256 6fb76fc013e838f3d0f0f2f2008b1ed47fc81acc90712becdf3092b02dab7b8b

See more details on using hashes here.

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

Hashes for janito-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3f1c9dfbf84c6984f82873d1e7d2b930512cafe6d79e8f6d79f5e52639a99488
MD5 6ec911ea0effa815a42dd31062f5f7f4
BLAKE2b-256 4bef23d56eddd198eaa54044275fb7fcfcd4c76e9a89ddf0aa560710a07c149b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page