ProgramEngineerGPT is an interactive command line tool that leverages the power of AI to assist developers with code comprehension, exploration, and generation. It serves as a virtual assistant that can analyze codebases, answer queries about code, and even help in setting up new coding projects.
Project description
ProgramEngineerGPT
ProgramEngineerGPT is an interactive command line tool that leverages the power of AI to assist developers with code comprehension, exploration, and generation. It serves as a virtual assistant that can analyze codebases, answer queries about code, and even help in setting up new coding projects.
Table of Contents
About
ProgramEngineerGPT is an AI-powered tool designed to assist developers with code comprehension, exploration, and generation. ProgramEngineerGPT can be used as a comprehensive developer's assistant that can understand code at a deep level and can provide valuable insights and assistance. Whether you're trying to understand a complex codebase or starting a new project, ProgramEngineerGPT can be run using two modes of operation
- Analyze Mode
- Develop Mode.
Analyze Mode
In the 'Analyze' mode, ProgramEngineerGPT will thoroughly examine a provided code repository. You will be engaged in an interactive chat session where you can pose queries about the codebase. This could include questions about its structure, dependencies, functions, or any other aspect. The AI will respond with insights, helping you gain a deeper understanding of the code repository and how it funtions.
Develop Mode
In the 'Develop' mode, ProgramEngineerGPT can assist you in setting up a new coding project. This includes planning the project structure, setting up the development environment, and other setup tasks. You will enter an interactive session where you will provide a project description of the program/project you want to create. After you provide a project description, the AI system will ask further questions to gather more information about your project. Your responses will guide the AI in providing the best assistance for your project.
Getting Started
These instructions will get you a copy of the project up and running for development and testing purposes.
Prerequisites
Setup
Instructions on how to get ProgramEngineerGPT configured locally.
Before running, it is important that you have the correct environmental variables set.
Setup required Environmental Variables. You can either change the test.env to .env and add the required environmental variables.
If you would like to export them locally, please use the following keys.
Linux or MacOS
# OpenAI API
export OPENAI_API_KEY="<OPENAI_API_KEY>"
# Deeplake API
export ACTIVELOOP_TOKEN="<ACTIVELOOP_API_KEY>"
export DEEPLAKE_ACCOUNT_NAME="<DEEPLAKE_ACCOUNT_NAME>"
Windows
# OpenAI API
setx OPENAI_API_KEY <OPENAI_API_KEY>
# Deeplake API
setx ACTIVELOOP_TOKEN <ACTIVELOOP_API_KEY>
setx DEEPLAKE_ACCOUNT_NAME <DEEPLAKE_ACCOUNT_NAME>
pip package
pip install pgpt
local package Clone the repository
#Download Repo and Navigate to Directory
git clone https://github.com/hackedbyagirl/ProgramEngineerGPt.git
cd ProgramEngineerGPT
pip install -e .
pgpt
python program Clone the repository
#Download Repo and Navigate to Directory
git clone https://github.com/hackedbyagirl/ProgramEngineerGPt.git
cd ProgramEngineerGPT
Install all the required packages
python3 -m pip install -r requirements.txt
Usage
You can start using ProgramEngineerGPT by running the main script and selecting the mode of operation. Depending on the mode, you will be asked to provide further details such as the code repository URL or the project description.
However, this program does depend on API keys so make sure to set them!
# Python package
pgpt
# Python program
python3 programengineergpt.py
Examples
Program Launch
Main Program Home Screen
Analyze Mode
Loading Code of Current Working Directory
Engaging in conversation about the code
Develop Mode
Providing Developer Mode with a Project Description
Engaging with Developer AI Assistant
Contributing
Contributions are welcome! Please refer to the contributing guide provided in the repository.
License
Please refer to the license file provided in the repository.
Acknowledgements
Inspiration
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 pgpt-0.0.5.tar.gz.
File metadata
- Download URL: pgpt-0.0.5.tar.gz
- Upload date:
- Size: 19.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df74712ace45248ae22845f533ce6bb6928e733b3f46ab03404905b629d584dc
|
|
| MD5 |
081d4c2ad91735eaa355bbbf2dbda4a6
|
|
| BLAKE2b-256 |
f535568f9a46eb53f0fee90bce6b2abe94433542730a2c87a3dfc996ca7f1968
|
File details
Details for the file pgpt-0.0.5-py3-none-any.whl.
File metadata
- Download URL: pgpt-0.0.5-py3-none-any.whl
- Upload date:
- Size: 19.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c351de177dfa5162fbb52b564fb3b066ec38acde167a935bf542afa8b298fb3
|
|
| MD5 |
4a2a6193ac64ce95a3f897b39ec1345f
|
|
| BLAKE2b-256 |
b03dc82e3ea194e7d0edbb39143934dbac86f6e8c9aa375ead4afc7d770c8847
|