Skip to content

A python Agent used to Direct Python user into new and better code practices -Using open ai and some intresting parsing i thought of while high XD-

License

Notifications You must be signed in to change notification settings

Nbtguyoriginal/Pybonce

Repository files navigation

PyBonce: Python Script Analyzer 🐍🔍

PyBonce GitHub Repo

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 🟢


🌟 Pybonce: Python Code Analysis Tool

testing_curve

🌟 Pybonce: Python Code Analysis Tool

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

🌟 Features

  • 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.

🚀 Getting Started

Prerequisites

  • Python 3.x
  • OpenAI API Key

Installation

  1. Clone this repository:
    git clone https://github.com/Nbtguyoriginal/Pybonce.git
  2. Navigate to the cloned directory and install the required packages:
    cd pybonce
    pip install -r requirements.txt
  3. Update the config.py file with your OpenAI API key. If needed, delete the __pycache__ and .pyc files in the main directory.
  4. cobfig the logs for your use case in the config.py

📖 Usage

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.


📈 Cost Implications

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.


🙏 Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📜 License

Distributed under the MIT License. See LICENSE for more information.


📞 Contact

Dont XD

Project Link


🌟 Acknowledgements

  • OpenAI
  • python
  • coffee

About

A python Agent used to Direct Python user into new and better code practices -Using open ai and some intresting parsing i thought of while high XD-

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages