pyinputcapture 0.1.1__tar.gz → 0.3.0__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.
- {pyinputcapture-0.1.1 → pyinputcapture-0.3.0}/.github/workflows/ci.yml +18 -4
- {pyinputcapture-0.1.1 → pyinputcapture-0.3.0}/.github/workflows/release.yml +4 -1
- {pyinputcapture-0.1.1 → pyinputcapture-0.3.0}/.gitignore +4 -0
- pyinputcapture-0.3.0/.release-please-manifest.json +3 -0
- pyinputcapture-0.3.0/CHANGELOG.md +32 -0
- {pyinputcapture-0.1.1 → pyinputcapture-0.3.0}/Cargo.lock +189 -407
- {pyinputcapture-0.1.1 → pyinputcapture-0.3.0}/Cargo.toml +5 -3
- pyinputcapture-0.3.0/LICENSE +674 -0
- {pyinputcapture-0.1.1 → pyinputcapture-0.3.0}/Makefile +3 -1
- {pyinputcapture-0.1.1 → pyinputcapture-0.3.0}/PKG-INFO +7 -2
- pyinputcapture-0.3.0/README.md +167 -0
- {pyinputcapture-0.1.1 → pyinputcapture-0.3.0}/pyproject.toml +12 -2
- {pyinputcapture-0.1.1 → pyinputcapture-0.3.0}/python/pyinputcapture/__init__.py +1 -1
- pyinputcapture-0.3.0/python/pyinputcapture/_async.py +108 -0
- pyinputcapture-0.3.0/python/pyinputcapture/pyinputcapture.pyi +107 -0
- pyinputcapture-0.3.0/release-please-config.json +16 -0
- pyinputcapture-0.3.0/src/lib.rs +1590 -0
- pyinputcapture-0.3.0/tests/test_input_capture.py +326 -0
- pyinputcapture-0.1.1/README.md +0 -53
- pyinputcapture-0.1.1/python/pyinputcapture/_async.py +0 -52
- pyinputcapture-0.1.1/python/pyinputcapture/pyinputcapture.pyi +0 -59
- pyinputcapture-0.1.1/src/lib.rs +0 -629
- pyinputcapture-0.1.1/tests/test_input_capture.py +0 -111
- {pyinputcapture-0.1.1 → pyinputcapture-0.3.0}/python/pyinputcapture/py.typed +0 -0
|
@@ -19,7 +19,13 @@ permissions:
|
|
|
19
19
|
|
|
20
20
|
jobs:
|
|
21
21
|
test:
|
|
22
|
+
if: >-
|
|
23
|
+
github.event_name == 'workflow_call' ||
|
|
24
|
+
!startsWith(github.event.head_commit.message, 'chore') &&
|
|
25
|
+
!startsWith(github.event.head_commit.message, 'docs') &&
|
|
26
|
+
!startsWith(github.event.head_commit.message, 'ci')
|
|
22
27
|
runs-on: ubuntu-latest
|
|
28
|
+
timeout-minutes: 20
|
|
23
29
|
steps:
|
|
24
30
|
- uses: actions/checkout@v4
|
|
25
31
|
- uses: dtolnay/rust-toolchain@stable
|
|
@@ -31,10 +37,18 @@ jobs:
|
|
|
31
37
|
run: cargo test
|
|
32
38
|
|
|
33
39
|
- name: Install (dev)
|
|
34
|
-
run:
|
|
40
|
+
run: |
|
|
41
|
+
python -m venv .venv
|
|
42
|
+
source .venv/bin/activate
|
|
43
|
+
pip install -e ".[dev]"
|
|
44
|
+
maturin develop
|
|
35
45
|
|
|
36
46
|
- name: Python tests
|
|
37
|
-
run:
|
|
47
|
+
run: |
|
|
48
|
+
source .venv/bin/activate
|
|
49
|
+
# thread method: a hang inside the Rust extension runs with the GIL
|
|
50
|
+
# released, so the signal-based timeout would never fire.
|
|
51
|
+
python -m pytest tests/ -v --timeout=60 --timeout-method=thread
|
|
38
52
|
|
|
39
53
|
build:
|
|
40
54
|
needs: test
|
|
@@ -48,7 +62,7 @@ jobs:
|
|
|
48
62
|
manylinux: auto
|
|
49
63
|
- name: aarch64
|
|
50
64
|
rust-target: aarch64-unknown-linux-gnu
|
|
51
|
-
manylinux:
|
|
65
|
+
manylinux: auto
|
|
52
66
|
python-version: ["3.11", "3.12", "3.13"]
|
|
53
67
|
steps:
|
|
54
68
|
- uses: actions/checkout@v4
|
|
@@ -60,7 +74,7 @@ jobs:
|
|
|
60
74
|
uses: PyO3/maturin-action@v1
|
|
61
75
|
with:
|
|
62
76
|
target: ${{ matrix.target.rust-target }}
|
|
63
|
-
args: --release --out dist
|
|
77
|
+
args: --release --out dist -i python${{ matrix.python-version }}
|
|
64
78
|
manylinux: ${{ matrix.target.manylinux }}
|
|
65
79
|
|
|
66
80
|
- uses: actions/upload-artifact@v4
|
|
@@ -17,7 +17,10 @@ jobs:
|
|
|
17
17
|
- uses: googleapis/release-please-action@v4
|
|
18
18
|
id: release
|
|
19
19
|
with:
|
|
20
|
-
|
|
20
|
+
# Cargo.toml and python/pyinputcapture/__init__.py are kept in sync
|
|
21
|
+
# via "extra-files" in release-please-config.json.
|
|
22
|
+
config-file: release-please-config.json
|
|
23
|
+
manifest-file: .release-please-manifest.json
|
|
21
24
|
|
|
22
25
|
build:
|
|
23
26
|
needs: release-please
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [0.3.0](https://github.com/fizzi01/pyinputcapture/compare/v0.2.0...v0.3.0) (2026-08-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add set_barriers method ([#4](https://github.com/fizzi01/pyinputcapture/issues/4)) ([68ed3c0](https://github.com/fizzi01/pyinputcapture/commit/68ed3c055803f092768fe9ecfe52dcec8b8172f2))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* keep InputCapturePortal usable after recreation ([#6](https://github.com/fizzi01/pyinputcapture/issues/6)) ([fb4c393](https://github.com/fizzi01/pyinputcapture/commit/fb4c393a389e8a88edf943ed61d4f690cc9e001e))
|
|
14
|
+
|
|
15
|
+
## [0.2.0](https://github.com/fizzi01/pyinputcapture/compare/v0.1.1...v0.2.0) (2026-03-10)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* improve performance ([#2](https://github.com/fizzi01/pyinputcapture/issues/2)) ([f9015a2](https://github.com/fizzi01/pyinputcapture/commit/f9015a2334ca63134c3d1428a97d2fe44e34eb6e))
|
|
21
|
+
|
|
22
|
+
## 0.1.1 (2026-03-09)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* add code base ([654ff6a](https://github.com/fizzi01/pyinputcapture/commit/654ff6a2d8e5958e9102df1e1905153c2f8f33e3))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Continuous Integration
|
|
31
|
+
|
|
32
|
+
* update manylinux to auto ([24f77de](https://github.com/fizzi01/pyinputcapture/commit/24f77def5061cc068c1b4bc8591dd21db6052196))
|