A collection of tooling to enable open source development..
Project description
Open_Dev
open_dev is a command-line tool built to assist developers in creating pull requests with ease. The tool interacts with the OpenAI GPT-3 API to generate a summary of changes made to a repository and use it to create a pull request.
Requirements
Installation from Source
To install open_dev, you must have Python 3.6 or later installed on your system.
Clone this repository: git clone https://github.com/8ball030/open_dev.git.
Navigate to the project directory: cd open_dev
.
Install the required dependencies: pip install -r requirements.txt
.
Set up your OPENAI_API_KEY environment variable by following the instructions here.
Run python setup.py install
to install open_dev.
Install from Pip
You can also install open_dev from pip by running the following command:
pip install open_dev
Usage
Once open_dev is installed, you can use it by running the open-dev command in your terminal.
odev repo pull --help
Usage: odev repo pull [OPTIONS]
Creates a pull request based on a summary of changes from chatgpt.
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --target-branch -tb TEXT The target branch to compare against. │
│ --title -t TEXT The title of the PR. If none will be │
│ autogenerated by chatgpt3. │
│ --description -d TEXT The description of the PR. If none will be │
│ autogenerated by chatgpt3. │
│ --dry-run Simulate the commit and pr creation. │
│ --help Show this message and exit. │
╰─────────────────────────────────────────────────────────────────────────────╯
open-dev repo pull
You can also specify options when running the pull command. For example, to specify a target branch, you can run:
open-dev repo pull --target-branch develop
License This project is licensed under the MIT License.
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
File details
Details for the file open_dev-0.1.7.dev18.tar.gz
.
File metadata
- Download URL: open_dev-0.1.7.dev18.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2f2285c8159c93f4cee697d641bf90314499ec52a2fbf3adb6ae8b7f446d2c2 |
|
MD5 | dfd53f3d31b3d064ee5a4315aa80c8f6 |
|
BLAKE2b-256 | ddd6a867892e77b8f719ee0cfcb13d21ba7212750259ba2be7b774d11f664481 |
File details
Details for the file open_dev-0.1.7.dev18-py3-none-any.whl
.
File metadata
- Download URL: open_dev-0.1.7.dev18-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c127c6a2f7703244cb3efe969c04dc1de52e58ba6458193894158b173d40a1fd |
|
MD5 | beaba0cd20a8ade2a31a36395d9975fc |
|
BLAKE2b-256 | e3f39b6566912a47fcf4f514409472fde8b020d3787294832a38d2882275327f |