I'm pleased to share my latest project, Navvy - a Python-based tool designed to help automate some basic Git repository management tasks using OpenAI.
Here's a quick example of how you can use Navvy:
# Initialize Navvy # Using OPENAI_API_KEY environment variable navvy = Navvy(project_path="./repo_project_path") # Send a message to create a snake game chunks = navvy.send_message("Create a snake game!") for chunk in chunks: print(chunk, end="", flush=True)
You can install the Navvy package using pip:
pip install navvy
If you're interested, check out:
https://github.com/itsrofly/navvy-package
The above is the detailed content of Introducing Navvy: A Simple AI-Powered Git Automation Tool. For more information, please follow other related articles on the PHP Chinese website!