aidebug


Nameaidebug JSON
Version 0.1.6 PyPI version JSON
download
home_page
SummaryAI Coding Assistant Shell
upload_time2023-11-28 05:41:52
maintainer
docs_urlNone
author00-Python (Joseph Webster)
requires_python
license
keywords aidebug ai debug ai debugging debug with ai code with ai ai programming python ai coding assistant ai coding openai gpt-4 gpt
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# AIDebug Console
![Alt Text](./images/AIDebug_Help_Menus.png)

AIDebug Console is a Python-based command line application that leverages the power of OpenAI's GPT models to assist with debugging and developing software projects. It provides a user-friendly interface for interacting with your codebase, running your project, and even debugging your code with the help of AI.

## Features

- **Project Management**: Select and deselect project files and directories.
- **Project Configuration**: Configure specific project details such as language, type, framework, and run command.
- **Code Execution**: Run your project directly from the console. (Automatically catches errors and asks user if they want to debug)
- **AI Debugging**: Debug your project with the help of OpenAI's GPT Models.
- **AI Feature Request**: Request a feature for your project from OpenAI's GPT Models.
- **AI Code Documentation**: Get a README.md file for your project's GitHub repository.

## Installation

### Install With Pip

```bash
pip install aidebug
```

### Manual Build and Install

1. Clone the repository to your local machine.
2. Navigate to the project directory.
3. Install the required Python packages using pip:

```bash
pip install setuptools wheel
```
4. Build the project with setup.py:

```bash
python setup.py sdist bdist_wheel
```
5. Change directory to the built project:

```bash
cd dist
```
6. Install the built .whl file with pip:

```bash
pip install aidebug-0.0.8-py3-none-any.whl
```


## Usage
1. Set the necessary environment variables. You need to provide your OpenAI API key:

```bash
export OPENAI_API_KEY=your_openai_api_key
```

2. Run the project:

```bash
aidebug
```

3. Use the `help` command to see a list of available commands.

## Environment Variables

- `OPENAI_API_HOST`: The API host for OpenAI. Default is `https://api.openai.com`.
- `OPENAI_API_KEY`: Your OpenAI API key.

# Commands
Here is a brief explanation of the commands available in the AIDebug Console:

- `cd <directory>`: Change the current working directory.
- `exit`: Exit the AIDebug Console.
- `project select`: Select project files and directories.
- `project deselect`: Unselect files and directories by id.
- `project run`: Run the project.
- `project files paths`: Prints selected files paths.
- `project files contents`: Prints selected files path and contents.
- `config project language <language>`: Set the programming language of your project.
- `config project type`: Set the type of your project.
- `config project framework`: Set the framework that your project is using.
- `config project run <command>`: Set the command used to run your project.
- `config openai model <model>`: Set the OpenAI model to be used.
- `config openai temperature <temperature>`: Set the OpenAI model's temperature.
- `debug <error>`: Debug your project with the help of OpenAI's GPT Models.
- `feature <feature_request>`: Request a feature for your project from OpenAI's GPT Models.
- `readme <optional_message>`: Request a README.md file for your project's GitHub repository from OpenAI's GPT Models.

Remember to replace `<directory>`, `<language>`, `<command>`, `<model>`, `<temperature>`, `<error>`, `<feature_request>`, and `<optional_message>` with your actual values.

## Running System Commands

AIDebug Console allows you to run native system commands directly from the shell. Simply input the desired command, and it will be executed in the console.

For example, to list the files in the current directory, you can use the command `ls`:

```
> ls
```

This feature provides flexibility and convenience for running various system tasks alongside your project debugging and development.

## Credits

This project has borrowed code from [TheR1D's shell_gpt project](https://github.com/TheR1D/shell_gpt/blob/main/sgpt/client.py). I would like to express my gratitude for the contribution to the open-source community which has greatly aided the development of this project.

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

## License

This project is licensed under the GNU v3 GPL-3.0 License. See the [LICENSE](LICENSE) file for details.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "aidebug",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "aidebug,ai debug,ai debugging,debug with AI,Code with ai,ai programming,python,AI,Coding Assistant,AI Coding,OpenAI,GPT-4,GPT",
    "author": "00-Python (Joseph Webster)",
    "author_email": "<rwc.webster@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/63/ac/245a99ec8bc9cd5e6e154580a877692c6474523bfc4c984c9ac91674364b/aidebug-0.1.6.tar.gz",
    "platform": null,
    "description": "\n# AIDebug Console\n![Alt Text](./images/AIDebug_Help_Menus.png)\n\nAIDebug Console is a Python-based command line application that leverages the power of OpenAI's GPT models to assist with debugging and developing software projects. It provides a user-friendly interface for interacting with your codebase, running your project, and even debugging your code with the help of AI.\n\n## Features\n\n- **Project Management**: Select and deselect project files and directories.\n- **Project Configuration**: Configure specific project details such as language, type, framework, and run command.\n- **Code Execution**: Run your project directly from the console. (Automatically catches errors and asks user if they want to debug)\n- **AI Debugging**: Debug your project with the help of OpenAI's GPT Models.\n- **AI Feature Request**: Request a feature for your project from OpenAI's GPT Models.\n- **AI Code Documentation**: Get a README.md file for your project's GitHub repository.\n\n## Installation\n\n### Install With Pip\n\n```bash\npip install aidebug\n```\n\n### Manual Build and Install\n\n1. Clone the repository to your local machine.\n2. Navigate to the project directory.\n3. Install the required Python packages using pip:\n\n```bash\npip install setuptools wheel\n```\n4. Build the project with setup.py:\n\n```bash\npython setup.py sdist bdist_wheel\n```\n5. Change directory to the built project:\n\n```bash\ncd dist\n```\n6. Install the built .whl file with pip:\n\n```bash\npip install aidebug-0.0.8-py3-none-any.whl\n```\n\n\n## Usage\n1. Set the necessary environment variables. You need to provide your OpenAI API key:\n\n```bash\nexport OPENAI_API_KEY=your_openai_api_key\n```\n\n2. Run the project:\n\n```bash\naidebug\n```\n\n3. Use the `help` command to see a list of available commands.\n\n## Environment Variables\n\n- `OPENAI_API_HOST`: The API host for OpenAI. Default is `https://api.openai.com`.\n- `OPENAI_API_KEY`: Your OpenAI API key.\n\n# Commands\nHere is a brief explanation of the commands available in the AIDebug Console:\n\n- `cd <directory>`: Change the current working directory.\n- `exit`: Exit the AIDebug Console.\n- `project select`: Select project files and directories.\n- `project deselect`: Unselect files and directories by id.\n- `project run`: Run the project.\n- `project files paths`: Prints selected files paths.\n- `project files contents`: Prints selected files path and contents.\n- `config project language <language>`: Set the programming language of your project.\n- `config project type`: Set the type of your project.\n- `config project framework`: Set the framework that your project is using.\n- `config project run <command>`: Set the command used to run your project.\n- `config openai model <model>`: Set the OpenAI model to be used.\n- `config openai temperature <temperature>`: Set the OpenAI model's temperature.\n- `debug <error>`: Debug your project with the help of OpenAI's GPT Models.\n- `feature <feature_request>`: Request a feature for your project from OpenAI's GPT Models.\n- `readme <optional_message>`: Request a README.md file for your project's GitHub repository from OpenAI's GPT Models.\n\nRemember to replace `<directory>`, `<language>`, `<command>`, `<model>`, `<temperature>`, `<error>`, `<feature_request>`, and `<optional_message>` with your actual values.\n\n## Running System Commands\n\nAIDebug Console allows you to run native system commands directly from the shell. Simply input the desired command, and it will be executed in the console.\n\nFor example, to list the files in the current directory, you can use the command `ls`:\n\n```\n> ls\n```\n\nThis feature provides flexibility and convenience for running various system tasks alongside your project debugging and development.\n\n## Credits\n\nThis project has borrowed code from [TheR1D's shell_gpt project](https://github.com/TheR1D/shell_gpt/blob/main/sgpt/client.py). I would like to express my gratitude for the contribution to the open-source community which has greatly aided the development of this project.\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## License\n\nThis project is licensed under the GNU v3 GPL-3.0 License. See the [LICENSE](LICENSE) file for details.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "AI Coding Assistant Shell",
    "version": "0.1.6",
    "project_urls": null,
    "split_keywords": [
        "aidebug",
        "ai debug",
        "ai debugging",
        "debug with ai",
        "code with ai",
        "ai programming",
        "python",
        "ai",
        "coding assistant",
        "ai coding",
        "openai",
        "gpt-4",
        "gpt"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4b4101f3358d8a4367cff55787ca45d5da7868c6c885334dc309e3a6d55d34b6",
                "md5": "d615aedfc757c5a0e0b58a21606837b9",
                "sha256": "125189fef74a4e42099ce391439c94ba29b73c9f32576faf48bcc8a696dbdb88"
            },
            "downloads": -1,
            "filename": "aidebug-0.1.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d615aedfc757c5a0e0b58a21606837b9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 25749,
            "upload_time": "2023-11-28T05:41:50",
            "upload_time_iso_8601": "2023-11-28T05:41:50.932692Z",
            "url": "https://files.pythonhosted.org/packages/4b/41/01f3358d8a4367cff55787ca45d5da7868c6c885334dc309e3a6d55d34b6/aidebug-0.1.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "63ac245a99ec8bc9cd5e6e154580a877692c6474523bfc4c984c9ac91674364b",
                "md5": "98280d98690b02f5d256936c8107c617",
                "sha256": "765f80a9dcde23a4157c429357a5e39ebd20b960c65ab8e42d8a196baa9fb2cf"
            },
            "downloads": -1,
            "filename": "aidebug-0.1.6.tar.gz",
            "has_sig": false,
            "md5_digest": "98280d98690b02f5d256936c8107c617",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 25576,
            "upload_time": "2023-11-28T05:41:52",
            "upload_time_iso_8601": "2023-11-28T05:41:52.359636Z",
            "url": "https://files.pythonhosted.org/packages/63/ac/245a99ec8bc9cd5e6e154580a877692c6474523bfc4c984c9ac91674364b/aidebug-0.1.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-28 05:41:52",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "aidebug"
}
        
Elapsed time: 0.15566s