pyinputcapture 0.2.0__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.2.0 → pyinputcapture-0.3.0}/.github/workflows/ci.yml +10 -2
- {pyinputcapture-0.2.0 → pyinputcapture-0.3.0}/.github/workflows/release.yml +4 -1
- {pyinputcapture-0.2.0 → pyinputcapture-0.3.0}/.gitignore +4 -0
- pyinputcapture-0.3.0/.release-please-manifest.json +3 -0
- {pyinputcapture-0.2.0 → pyinputcapture-0.3.0}/CHANGELOG.md +12 -0
- {pyinputcapture-0.2.0 → pyinputcapture-0.3.0}/Cargo.lock +189 -407
- {pyinputcapture-0.2.0 → pyinputcapture-0.3.0}/Cargo.toml +5 -3
- {pyinputcapture-0.2.0 → pyinputcapture-0.3.0}/Makefile +3 -1
- {pyinputcapture-0.2.0 → pyinputcapture-0.3.0}/PKG-INFO +5 -1
- pyinputcapture-0.3.0/README.md +167 -0
- {pyinputcapture-0.2.0 → pyinputcapture-0.3.0}/pyproject.toml +11 -1
- {pyinputcapture-0.2.0 → 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.2.0/README.md +0 -53
- pyinputcapture-0.2.0/python/pyinputcapture/_async.py +0 -52
- pyinputcapture-0.2.0/python/pyinputcapture/pyinputcapture.pyi +0 -59
- pyinputcapture-0.2.0/src/lib.rs +0 -624
- pyinputcapture-0.2.0/tests/test_input_capture.py +0 -111
- {pyinputcapture-0.2.0 → pyinputcapture-0.3.0}/LICENSE +0 -0
- {pyinputcapture-0.2.0 → 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
|
|
@@ -34,13 +40,15 @@ jobs:
|
|
|
34
40
|
run: |
|
|
35
41
|
python -m venv .venv
|
|
36
42
|
source .venv/bin/activate
|
|
37
|
-
pip install
|
|
43
|
+
pip install -e ".[dev]"
|
|
38
44
|
maturin develop
|
|
39
45
|
|
|
40
46
|
- name: Python tests
|
|
41
47
|
run: |
|
|
42
48
|
source .venv/bin/activate
|
|
43
|
-
|
|
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
|
|
44
52
|
|
|
45
53
|
build:
|
|
46
54
|
needs: test
|
|
@@ -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
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
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
|
+
|
|
3
15
|
## [0.2.0](https://github.com/fizzi01/pyinputcapture/compare/v0.1.1...v0.2.0) (2026-03-10)
|
|
4
16
|
|
|
5
17
|
|