Skip to main content

pull-requests

⬆️ A command line tool for creating pull requests.

Requirements

  • Python 3.10 or above

Installation

pip install pull-requests

Usage

First of all, you need to have a file in your project root directory called pr.json. That file needs to have the following fields in order to make the program works. See below an example of that file structure:

{
    "username": "YOUR_GITHUB_USERNAME",
    "repository": "YOUR_REPOSITORY_NAME",
    "token": "YOUR_GITHUB_ACCESS_TOKEN"
}

That's is everything we need to use the program. Now, on your project root directory, you can the following command:

pull-requests --from "HEAD_BRANCH" --to "BASE_BRANCH" --title "Some title" --body "Some optional body text"

License

This project is licensed under the MIT license. See LICENSE.

Release files for pull-requests 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pull-requests 1.1.2
File Size Uploaded
pull-requests-1.1.2.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pull-requests 1.1.2
File Interpreter ABI Platform
pull_requests-1.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 10.4 kB

Release files / pull-requests-1.1.2.tar.gz

Download URL pull-requests-1.1.2.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2b0faa092582e7741f6d7951d143137a6a0bacbe68a3b9823c1bae0a9447783a
BLAKE2b-256 checksum
How to use checksums
2dd3fa9da50778602d9ae763070517d8814a9d783fe82336af4a5b1fd1305a12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release files / pull_requests-1.1.2-py3-none-any.whl

Download URL pull_requests-1.1.2-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d410944dafdab3a5553cf30424589dcf684929b899a59c17398b48ca201a3d9
BLAKE2b-256 checksum
How to use checksums
e5ccdd3d7e0c219d547cbff6dc39cef933434d4d01b7adc70830595894de031a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files

1.1.1

2 release files

1.1.0

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page