Get coding help, right in your terminal
Project description
Jemma: Your Command-Line Coding Assistant
Overview
Jemma is a free and open-source command-line tool that brings the power of Google's Gemini API to your terminal. Get instant coding assistance, codebase explanations, and more, all without leaving your workflow.
Features
-
Interactive Code Sessions: Ask Jemma coding questions and receive real-time suggestions.
-
Codebase Explanation: Understand complex projects quickly with Jemma's detailed codebase analysis.
-
Command Watching: Let Jemma monitor the output of your commands and provide insights.
-
Code Editing: Automatically apply fixes and features to your code with Jemma's edit capabilities.
Installation
pip install .
Configuration
Before using Jemma, you need to configure your Google Gemini API key. You have two options:
- Using the
jemma-initcommand:
jemma-init
This will prompt you to enter your API key, which will be stored in ~/.jemma/config.
- Setting the
GEMINI_API_KEYenvironment variable:
export GEMINI_API_KEY="YOUR_API_KEY"
You can further configure Jemma using the jemma-configure command to select your preferred model and adjust settings like temperature and max output tokens.
jemma-configure
Usage
Jemma provides several commands to help you with your coding tasks:
- Interactive Code Session:
jemma --chat
Starts an interactive session where you can ask coding questions.
- Codebase Explanation:
jemma --explain
Provides a detailed explanation of your codebase.
- Command Watching:
jemma --watch "pytest"
Watches the output of the pytest command and provides analysis.
- Code Editing:
jemma --edit "Fix the bug in the login function"
Asks Jemma to help you fix bugs or add features to your code.
Roadmap
-
Fix configuration and improve the use of the configuration file
-
Fix edit with line enumeration
-
Add support for multiple models (Gemini Pro, etc.)
-
Implement configuration via command-line arguments
-
Create command for starting new projects
-
Improve error handling and logging
-
Add unit tests
-
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 jemma_code-0.1.1.tar.gz.
File metadata
- Download URL: jemma_code-0.1.1.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9595a5899b55be4c7d428fc17ee245a643ec22e67827a69bba83e803e07929e
|
|
| MD5 |
f169e98b74eb4d6822e6faa523ee00dd
|
|
| BLAKE2b-256 |
c10a4f83f48eac065db3e848cf5f16b5151ab261973070e435c2165a98f78584
|
File details
Details for the file jemma_code-0.1.1-py3-none-any.whl.
File metadata
- Download URL: jemma_code-0.1.1-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6df350c6d629dfc20f7aca62f981d3d0d613bc11f6fec44875fd9416ee63dd05
|
|
| MD5 |
d48a0ce3bb5a247b6ae5cef8ada5dc53
|
|
| BLAKE2b-256 |
0e801caa028e532bbbe09f117191d833693f0eb91000956334f016cbd2be0411
|