PyBonce is an advanced Python script analyzer that leverages the power of OpenAI's API. It's designed to provide developers with insights on performance, style, security, and functionality of their Python code. With a user-friendly GUI, PyBonce makes code analysis a breeze!
🔵 BRANCH STATUS
🟢 Stable 🟢 🟢 Ready for code use 🟢 🟢 no open issue 🟢
lets take a look at your code
🔍📜 Learn More
PyBonce is an advanced Python script analyzer that leverages the power of OpenAI's API. It's designed to provide developers with insights on performance.
🌌👁️ Read More
Ready to get started? Follow the instructions below:
git clone https://github.com/Nbtguyoriginal/Pybonce.git
- Directory Selection: Seamlessly choose a directory containing Python files for analysis.
- Real-time Code Analysis: Get comprehensive, real-time feedback on your Python scripts.
- Interactive GUI: A user-friendly interface that displays analysis results and directory structures.
- Abort Option: Flexibility to stop the analysis process whenever you want.
- Detailed Logging: Save all analysis results in a log file for future reference.
- Python 3.x
- OpenAI API Key
- Clone this repository:
git clone https://github.com/Nbtguyoriginal/Pybonce.git
- Navigate to the cloned directory and install the required packages:
cd pybonce pip install -r requirements.txt
- Update the
config.py
file with your OpenAI API key. If needed, delete the__pycache__
and.pyc
files in the main directory. - cobfig the logs for your use case in the config.py
Run pybonce.py
. Use the GUI to select a directory containing Python files. Click "Start Analysis" it will reprompt you to select the directory to initiate the code review. View results in the GUI and in the specified log file.
#path/python pybonce.py-- to run the script
Important Advisory for Users: If you haven't been directly involved in the development of this project, please exercise caution. We strongly recommend utilizing the current release version available for general use. The main directory, especially in the development branch, contains configurations and settings that might need slight modifications to function optimally. These adjustments are typically handled by our development team. Using the current release ensures that you're working with a stable, tested, and optimized version of the software, minimizing potential issues or disruptions.
Each API call to OpenAI incurs a cost based on the number of tokens processed. Ensure you're aware of the potential costs, especially when analyzing large codebases.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Dont XD
- OpenAI
- python
- coffee