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 from OpenAI.
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
Example output
License This project is licensed under the MIT License.
Metadata
Release files for open-dev 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| open_dev-0.1.8.tar.gz | 8.3 kB | Without provenance | Details for open_dev-0.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| open_dev-0.1.8-py3-none-any.whl | Python 3 | none | any | Details for open_dev-0.1.8-py3-none-any.whl |
Total release size: 16.1 kB
Release files / open_dev-0.1.8.tar.gz
| Download URL | open_dev-0.1.8.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2caf9ebe76f05487694946dcae61a89759e443de22db7837f840c764432c753b
|
|
BLAKE2b-256 checksum How to use checksums |
efab9f9c170528cf9c82b9e29298c5b0dd7d9dc4fadb2d825a23454f8f96ed87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.2
|
Release files / open_dev-0.1.8-py3-none-any.whl
| Download URL | open_dev-0.1.8-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ae3b7f8571f32e04e740941353e72cb52e1c45f691f3265fb5e75be46151d81c
|
|
BLAKE2b-256 checksum How to use checksums |
0d3a0a984c57f1d609396736083ce4d0d869c47deab11e315c24266cd03dedda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.2
|
Security for open-dev 0.1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.