Skip to main content

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

pypi python Build Status codecov

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

open_dev-0.1.7.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

open_dev-0.1.7-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file open_dev-0.1.7.tar.gz.

File metadata

  • Download URL: open_dev-0.1.7.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

Hashes for open_dev-0.1.7.tar.gz
Algorithm Hash digest
SHA256 0ce05c3ac1d1317bde4fd1512c32bd27fde9150005e34dc3bc74347ed59563d7
MD5 eaeaa9c3a13449ea049869b53939f1e9
BLAKE2b-256 b2ed26c53e9982ddb6b3d89f6acc0fc63c1878f4687544179ed525702e3ff97d

See more details on using hashes here.

File details

Details for the file open_dev-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: open_dev-0.1.7-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

Hashes for open_dev-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 32dc59ede38aa73b6a2220e6fbde4d7cb376c7004e7c9f7c6be6d0b62afc8d95
MD5 0bb8c0a292fca23f8861f6d62e4775f2
BLAKE2b-256 4bfadd13f5a091c9af8f2c183bf93232d1ba4b8a4782a6055b0b2915fa180068

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page