rpx-kit 0.2.4__tar.gz → 0.2.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,27 @@
1
+ name: PyPI release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
+
8
+ jobs:
9
+ release:
10
+ runs-on: codeberg-tiny
11
+ steps:
12
+ - name: Checkout repository
13
+ uses: actions/checkout@v7
14
+
15
+ - name: Set up Python
16
+ uses: actions/setup-python@v7
17
+ with:
18
+ python-version: '3.14'
19
+
20
+ - name: Build and publish to PyPI
21
+ env:
22
+ TWINE_USERNAME: __token__
23
+ TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
24
+ run: |
25
+ python -m pip install --upgrade pip build twine
26
+ python -m build
27
+ twine upload --skip-existing dist/*
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: rpx-kit
3
- Version: 0.2.4
3
+ Version: 0.2.5
4
4
  Summary: Toolkit for Ren'Py RPA 3.0 archives
5
5
  Author: Padorublad3
6
6
  License: MIT
@@ -9,7 +9,7 @@ Requires-Python: >=3.11
9
9
  Description-Content-Type: text/markdown
10
10
 
11
11
  # RPX-KIT
12
- [![Pylint](https://github.com/Padorublad3/rpx-kit/actions/workflows/pylint.yml/badge.svg)](https://github.com/Padorublad3/rpx-kit/actions/workflows/pylint.yml)
12
+
13
13
  [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
14
14
  [![PyPI version](https://badge.fury.io/py/rpx-kit.svg)](https://pypi.org/project/rpx-kit/)
15
15
  [![Python >=3.11](https://img.shields.io/badge/python-≥3.11-blue.svg)](https://www.python.org/downloads/)
@@ -39,20 +39,20 @@ pip install rpx-kit
39
39
  ```
40
40
  or
41
41
  ```bash
42
- pip install git+https://github.com/Padorublad3/rpx-kit.git
42
+ pip install git+https://codeberg.org/Padorublad3/rpx-kit.git
43
43
  ```
44
44
 
45
45
 
46
46
 
47
47
  ## Usage
48
48
  ```
49
- rpx-kit [-l | -o DIR] [-m PATTERN]... INPUT_PATH
49
+ rpx-kit [-l | -o DIR] [-m PATTERN]... DIR_OR_ARCHIVE...
50
50
 
51
51
  Arguments:
52
- INPUT_PATHS Input .rpa archive(s) files or directory, better wrap them with quotes
52
+ DIR_OR_ARCHIVE Input .rpa archive(s) or directories to scan for .rpa files (wrap in quotes if paths contain spaces)
53
53
 
54
54
  Options:
55
- -l, --list Print list of files contained in the archive
55
+ -l, --list Print list of files contained in the archive(s)
56
56
  -o, --output Target directory for extraction (creates if missing)
57
57
  -m, --mask Filter by fnmatch pattern (repeatable, e.g., -m "*.png")
58
58
  -v, --version Print current version
@@ -1,5 +1,5 @@
1
1
  # RPX-KIT
2
- [![Pylint](https://github.com/Padorublad3/rpx-kit/actions/workflows/pylint.yml/badge.svg)](https://github.com/Padorublad3/rpx-kit/actions/workflows/pylint.yml)
2
+
3
3
  [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
4
4
  [![PyPI version](https://badge.fury.io/py/rpx-kit.svg)](https://pypi.org/project/rpx-kit/)
5
5
  [![Python >=3.11](https://img.shields.io/badge/python-≥3.11-blue.svg)](https://www.python.org/downloads/)
@@ -29,20 +29,20 @@ pip install rpx-kit
29
29
  ```
30
30
  or
31
31
  ```bash
32
- pip install git+https://github.com/Padorublad3/rpx-kit.git
32
+ pip install git+https://codeberg.org/Padorublad3/rpx-kit.git
33
33
  ```
34
34
 
35
35
 
36
36
 
37
37
  ## Usage
38
38
  ```
39
- rpx-kit [-l | -o DIR] [-m PATTERN]... INPUT_PATH
39
+ rpx-kit [-l | -o DIR] [-m PATTERN]... DIR_OR_ARCHIVE...
40
40
 
41
41
  Arguments:
42
- INPUT_PATHS Input .rpa archive(s) files or directory, better wrap them with quotes
42
+ DIR_OR_ARCHIVE Input .rpa archive(s) or directories to scan for .rpa files (wrap in quotes if paths contain spaces)
43
43
 
44
44
  Options:
45
- -l, --list Print list of files contained in the archive
45
+ -l, --list Print list of files contained in the archive(s)
46
46
  -o, --output Target directory for extraction (creates if missing)
47
47
  -m, --mask Filter by fnmatch pattern (repeatable, e.g., -m "*.png")
48
48
  -v, --version Print current version
@@ -0,0 +1 @@
1
+ __version__ = "0.2.5"
@@ -1,25 +0,0 @@
1
- name: Pylint
2
-
3
- on: [push,pull_request]
4
-
5
- jobs:
6
- build:
7
- runs-on: ubuntu-latest
8
- strategy:
9
- matrix:
10
- python-version: ["3.11","3.12","3.13","3.14"]
11
- steps:
12
- - uses: actions/checkout@v7
13
- - name: Set up Python ${{ matrix.python-version }}
14
- uses: actions/setup-python@v7
15
- with:
16
- python-version: ${{ matrix.python-version }}
17
- - name: Install dependencies
18
- run: |
19
- python -m pip install --upgrade pip
20
- pip install pylint
21
- - name: Analysing the code with pylint
22
- run: |
23
- pylint src/rpx_kit \
24
- --disable=C0114,C0116,W0511,R0903 \
25
- --fail-under=7.0
@@ -1,49 +0,0 @@
1
- name: Upload Python Package
2
-
3
- on:
4
- push:
5
- tags:
6
- - 'v*'
7
-
8
- permissions:
9
- contents: read
10
-
11
- jobs:
12
- release-build:
13
- runs-on: ubuntu-latest
14
- steps:
15
- - uses: actions/checkout@v7
16
-
17
- - uses: actions/setup-python@v7
18
- with:
19
- python-version: "3.x"
20
-
21
- - name: Build release distributions
22
- run: |
23
- python -m pip install --upgrade pip
24
- python -m pip install build
25
- python -m build
26
-
27
- - name: Upload distributions
28
- uses: actions/upload-artifact@v7
29
- with:
30
- name: release-dists
31
- path: dist/
32
-
33
- pypi-publish:
34
- runs-on: ubuntu-latest
35
- needs: release-build
36
-
37
- steps:
38
- - name: Retrieve release distributions
39
- uses: actions/download-artifact@v8
40
- with:
41
- name: release-dists
42
- path: dist/
43
-
44
- - name: Publish release distributions to PyPI
45
- uses: pypa/gh-action-pypi-publish@release/v1
46
- with:
47
- packages-dir: dist/
48
- password: ${{ secrets.PYPI_API_TOKEN }}
49
- skip-existing: true
@@ -1 +0,0 @@
1
- __version__ = "0.2.4"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes