Skip to content

greet-cli is a command-line tool designed to leverage the power of the greet language model for detecting linguistic antipatterns in Python code

License

Notifications You must be signed in to change notification settings

Mantra-Coding/greet-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project was developed during the academic year 2022/2023 as part of the Software Engineering for Artificial Intelligence course instructed by Professor Fabio Palomba (@fpalomba89) at the University of Salerno.

greet-cli prototype

About

❔ You can find a description concerning the context of the problem addressed with this tool here.
The original abstract for ProjectSunshine is on the main repository (https://github.com/SCANL/ProjectSunshine)

Screenshots

image

Requirements

  • Python 3.10.7

Installation

Running the tool from the repo
  1. Clone the repo:
$ git clone https://github.com/xrenegade100/greet-cli.git
  1. Change into the cloned repository directory:
$ cd greet-cli
  1. Create a virtual environment (optional but recommended for isolation):
$ python -m venv myenv
  1. Activate the virtual environment:
    • For Windows:
    	myenv\Scripts\activate
    • For macOS/Linux:
    $ source myenv/bin/activate
  2. Install the required dependencies using pip from the requirements.txt file:
$ pip install -r requirements.txt
  1. Run the tool by executing the following command:
$ python src/core/cli.py -i <path>

Replace <path> with the desired input path or file.

Utilizing Prepackaged Zip Packages
  1. Visit the "Release" page of the GitHub repository.

  2. Download the appropriate zip package for your platform (e.g., Ubuntu or Windows).

  3. Extract the contents of the downloaded zip package.

  4. Change into the extracted directory.

  5. Make the script executable (for Ubuntu):

$ chmod +x ./greet.sh
  1. Execute the script (for Ubuntu):
$ ./greet.sh

Alternatively, for Windows, execute the following command:

./greet.cmd

About

greet-cli is a command-line tool designed to leverage the power of the greet language model for detecting linguistic antipatterns in Python code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%