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.
Files changed (24) hide show
  1. {pyinputcapture-0.2.0 → pyinputcapture-0.3.0}/.github/workflows/ci.yml +10 -2
  2. {pyinputcapture-0.2.0 → pyinputcapture-0.3.0}/.github/workflows/release.yml +4 -1
  3. {pyinputcapture-0.2.0 → pyinputcapture-0.3.0}/.gitignore +4 -0
  4. pyinputcapture-0.3.0/.release-please-manifest.json +3 -0
  5. {pyinputcapture-0.2.0 → pyinputcapture-0.3.0}/CHANGELOG.md +12 -0
  6. {pyinputcapture-0.2.0 → pyinputcapture-0.3.0}/Cargo.lock +189 -407
  7. {pyinputcapture-0.2.0 → pyinputcapture-0.3.0}/Cargo.toml +5 -3
  8. {pyinputcapture-0.2.0 → pyinputcapture-0.3.0}/Makefile +3 -1
  9. {pyinputcapture-0.2.0 → pyinputcapture-0.3.0}/PKG-INFO +5 -1
  10. pyinputcapture-0.3.0/README.md +167 -0
  11. {pyinputcapture-0.2.0 → pyinputcapture-0.3.0}/pyproject.toml +11 -1
  12. {pyinputcapture-0.2.0 → pyinputcapture-0.3.0}/python/pyinputcapture/__init__.py +1 -1
  13. pyinputcapture-0.3.0/python/pyinputcapture/_async.py +108 -0
  14. pyinputcapture-0.3.0/python/pyinputcapture/pyinputcapture.pyi +107 -0
  15. pyinputcapture-0.3.0/release-please-config.json +16 -0
  16. pyinputcapture-0.3.0/src/lib.rs +1590 -0
  17. pyinputcapture-0.3.0/tests/test_input_capture.py +326 -0
  18. pyinputcapture-0.2.0/README.md +0 -53
  19. pyinputcapture-0.2.0/python/pyinputcapture/_async.py +0 -52
  20. pyinputcapture-0.2.0/python/pyinputcapture/pyinputcapture.pyi +0 -59
  21. pyinputcapture-0.2.0/src/lib.rs +0 -624
  22. pyinputcapture-0.2.0/tests/test_input_capture.py +0 -111
  23. {pyinputcapture-0.2.0 → pyinputcapture-0.3.0}/LICENSE +0 -0
  24. {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 maturin pytest
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
- python -m pytest tests/ -v
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
- release-type: python
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
@@ -21,3 +21,7 @@ dist/
21
21
  # Environment
22
22
  .env
23
23
  .venv/
24
+
25
+ # macOS debug symbols left behind by `maturin develop`
26
+ *.dSYM/
27
+ *.dylib
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.3.0"
3
+ }
@@ -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