Skip to main content

1. Environment

  • Python 3.14.7
  • pip 26.2.1

2. Installation

$ pipx install spreen-pr

(pip install spreen-pr works too if you prefer managing the environment yourself.)

For development, install the dependencies via requirements.txt:

$ pip install -r requirements.txt

3. Execution

$ pr-title hayat01sh1da/issue-89/service/improve-onboarding-flow
[service] Improve Onboarding Flow

With no argument, the current git branch is used:

$ git switch hayat01sh1da/issue-90/hotfix/service/fix_login_crash
$ pr-title
[Hotfix][service] Fix Login Crash

--format json exposes the labels separately for scripting and CI:

$ pr-title hayat01sh1da/issue-90/hotfix/service/fix_login_crash --format json
{"title": "[Hotfix][service] Fix Login Crash", "labels": ["Hotfix", "service"]}

As a library:

from spreen_pr import Application

Application.run(branch_name='hayat01sh1da/issue-89/service/improve-onboarding-flow')
# => '[service] Improve Onboarding Flow'

application = Application(branch_name='hayat01sh1da/issue-90/hotfix/service/fix_login_crash')
application.title   # => '[Hotfix][service] Fix Login Crash'
application.labels  # => ['Hotfix', 'service']

4. Unit Test

$ pytest
============================= test session starts ==============================
platform linux -- Python 3.14.7, pytest-9.1.1, pluggy-1.6.0
rootdir: spreen-pr/pypi
configfile: pyproject.toml
collected 15 items

test/test_application.py .........                                       [ 60%]
test/test_cli.py ......                                                  [100%]

============================== 15 passed in 0.12s ===============================

5. Static Code Analysis

$ flake8 .
$ autoflake8 --in-place --remove-duplicate-keys --remove-unused-variables --recursive .
$ autopep8 --in-place --aggressive --aggressive --recursive .

6. Type Checks

$ mypy .
Success: no issues found in 6 source files

7. Build

$ python -m build
$ pipx install ./dist/spreen_pr-0.1.1-py3-none-any.whl

Release files for spreen-pr 0.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 spreen-pr 0.1.2
File Size Uploaded
spreen_pr-0.1.2.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for spreen-pr 0.1.2
File Interpreter ABI Platform
spreen_pr-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 10.8 kB

Release files / spreen_pr-0.1.2.tar.gz

Download URL spreen_pr-0.1.2.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b9a96727a65b0ef248c17a4cee64c0dde1cb2254a71ccf8ce9a9fd10137d95a5
BLAKE2b-256 checksum
How to use checksums
0b2471de6a809d85fe36c0ac73202f6850b3fc01465717d4fb1345c1f32d55a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 6, 2026.

Transparency log

Release files / spreen_pr-0.1.2-py3-none-any.whl

Download URL spreen_pr-0.1.2-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c7a348a2e6125ed7693c621ae0b61c284da856e59ecfb52063a203b75e9b346
BLAKE2b-256 checksum
How to use checksums
1e2b71dc1d5fdcfab63adf59ab1298f86ce19dd20e556e2ae6ae3990bae83467
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 6, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

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