timeout-iterator 0.1.0__tar.gz → 0.2.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 (27) hide show
  1. {timeout-iterator-0.1.0 → timeout_iterator-0.2.0}/.github/workflows/gitignore-in.yml +1 -1
  2. {timeout-iterator-0.1.0 → timeout_iterator-0.2.0}/.github/workflows/pypi-publish.yml +3 -3
  3. {timeout-iterator-0.1.0 → timeout_iterator-0.2.0}/.github/workflows/python-test.yml +12 -7
  4. {timeout-iterator-0.1.0 → timeout_iterator-0.2.0}/.gitignore +7 -5
  5. {timeout-iterator-0.1.0 → timeout_iterator-0.2.0}/PKG-INFO +22 -2
  6. timeout-iterator-0.1.0/timeout_iterator.egg-info/PKG-INFO → timeout_iterator-0.2.0/README.md +13 -13
  7. timeout_iterator-0.2.0/poetry.lock +509 -0
  8. {timeout-iterator-0.1.0 → timeout_iterator-0.2.0}/pyproject.toml +7 -10
  9. {timeout-iterator-0.1.0 → timeout_iterator-0.2.0}/setup.cfg +8 -1
  10. {timeout-iterator-0.1.0 → timeout_iterator-0.2.0}/tests/test_terminate.py +23 -0
  11. {timeout-iterator-0.1.0 → timeout_iterator-0.2.0}/timeout_iterator/_version.py +2 -2
  12. {timeout-iterator-0.1.0 → timeout_iterator-0.2.0}/timeout_iterator/terminate.py +5 -2
  13. {timeout-iterator-0.1.0 → timeout_iterator-0.2.0}/timeout_iterator/without_terminate.py +5 -2
  14. timeout_iterator-0.2.0/timeout_iterator.egg-info/PKG-INFO +72 -0
  15. timeout-iterator-0.1.0/README.md +0 -39
  16. timeout-iterator-0.1.0/poetry.lock +0 -362
  17. {timeout-iterator-0.1.0 → timeout_iterator-0.2.0}/.github/dependabot.yml +0 -0
  18. {timeout-iterator-0.1.0 → timeout_iterator-0.2.0}/.github/renovate.json5 +0 -0
  19. {timeout-iterator-0.1.0 → timeout_iterator-0.2.0}/.github/workflows/happy.yml +0 -0
  20. {timeout-iterator-0.1.0 → timeout_iterator-0.2.0}/.github/workflows/spellcheck.yml +0 -0
  21. {timeout-iterator-0.1.0 → timeout_iterator-0.2.0}/.gitignore.in +0 -0
  22. {timeout-iterator-0.1.0 → timeout_iterator-0.2.0}/tests/__init__.py +0 -0
  23. {timeout-iterator-0.1.0 → timeout_iterator-0.2.0}/tests/test_without_terminate.py +0 -0
  24. {timeout-iterator-0.1.0 → timeout_iterator-0.2.0}/timeout_iterator/__init__.py +0 -0
  25. {timeout-iterator-0.1.0 → timeout_iterator-0.2.0}/timeout_iterator.egg-info/SOURCES.txt +0 -0
  26. {timeout-iterator-0.1.0 → timeout_iterator-0.2.0}/timeout_iterator.egg-info/dependency_links.txt +0 -0
  27. {timeout-iterator-0.1.0 → timeout_iterator-0.2.0}/timeout_iterator.egg-info/top_level.txt +0 -0
@@ -13,4 +13,4 @@ jobs:
13
13
  update-gitignore:
14
14
  runs-on: ubuntu-latest
15
15
  steps:
16
- - uses: gitignore-in/gh-action@v0.2.0
16
+ - uses: gitignore-in/gh-action@v0.2.2
@@ -8,7 +8,7 @@ on:
8
8
  types: [prereleased, released]
9
9
 
10
10
  env:
11
- python_version: 3.12
11
+ python_version: 3.13
12
12
 
13
13
  jobs:
14
14
  deploy:
@@ -23,10 +23,10 @@ jobs:
23
23
  python-version: ${{ env.python_version }}
24
24
 
25
25
  - name: Set up poetry
26
- uses: abatilo/actions-poetry@v2
26
+ uses: abatilo/actions-poetry@v3
27
27
 
28
28
  - name: Cache
29
- uses: actions/cache@v3
29
+ uses: actions/cache@v4
30
30
  with:
31
31
  path: ~/.cache/pypoetry/virtualenvs
32
32
  key: ${{ runner.os }}-build-${{ env.python_version }}-${{ hashFiles('**/poetry.lock') }}
@@ -1,14 +1,19 @@
1
1
  name: Test
2
2
  on:
3
- - pull_request
4
-
3
+ # pull-request events are not triggered when a PR is merged
4
+ # push events are not triggered when a PR created from a fork repository
5
+ # So we need both to run tests on every PR and after merging
6
+ pull_request:
7
+ push:
8
+ branches:
9
+ - main
5
10
  jobs:
6
11
  test:
7
12
  runs-on: ubuntu-latest
8
13
  strategy:
9
14
  fail-fast: false
10
15
  matrix:
11
- python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
16
+ python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
12
17
 
13
18
  steps:
14
19
  - name: Checkout
@@ -21,10 +26,10 @@ jobs:
21
26
  python-version: "${{ matrix.python }}"
22
27
 
23
28
  - name: Set up poetry
24
- uses: abatilo/actions-poetry@v2
29
+ uses: abatilo/actions-poetry@v3
25
30
 
26
31
  - name: Cache
27
- uses: actions/cache@v3
32
+ uses: actions/cache@v4
28
33
  with:
29
34
  path: ~/.cache/pypoetry/virtualenvs
30
35
  key: ${{ runner.os }}-build-${{ matrix.python }}-${{ hashFiles('**/poetry.lock') }}
@@ -55,8 +60,8 @@ jobs:
55
60
  run: poetry run poe coverage-xml
56
61
 
57
62
  - name: Upload coverage report to Codecov
58
- if: matrix.python == '3.12'
59
- uses: codecov/codecov-action@v3
63
+ if: matrix.python == '3.13'
64
+ uses: codecov/codecov-action@v4
60
65
  with:
61
66
  token: ${{ secrets.CODECOV_TOKEN }}
62
67
  files: ./coverage.xml
@@ -5,7 +5,7 @@
5
5
  # -----------------------------------------------------------------------------
6
6
  # gibo dump Linux
7
7
  ### Generated by gibo (https://github.com/simonwhitaker/gibo)
8
- ### https://raw.github.com/github/gitignore/4488915eec0b3a45b5c63ead28f286819c0917de/Global/Linux.gitignore
8
+ ### https://raw.github.com/github/gitignore/33243d9491911332228307c915ff95707791a91f/Global/Linux.gitignore
9
9
 
10
10
  *~
11
11
 
@@ -23,7 +23,7 @@
23
23
  # -----------------------------------------------------------------------------
24
24
  # gibo dump Windows
25
25
  ### Generated by gibo (https://github.com/simonwhitaker/gibo)
26
- ### https://raw.github.com/github/gitignore/4488915eec0b3a45b5c63ead28f286819c0917de/Global/Windows.gitignore
26
+ ### https://raw.github.com/github/gitignore/33243d9491911332228307c915ff95707791a91f/Global/Windows.gitignore
27
27
 
28
28
  # Windows thumbnail cache files
29
29
  Thumbs.db
@@ -52,7 +52,7 @@ $RECYCLE.BIN/
52
52
  # -----------------------------------------------------------------------------
53
53
  # gibo dump macOS
54
54
  ### Generated by gibo (https://github.com/simonwhitaker/gibo)
55
- ### https://raw.github.com/github/gitignore/4488915eec0b3a45b5c63ead28f286819c0917de/Global/macOS.gitignore
55
+ ### https://raw.github.com/github/gitignore/33243d9491911332228307c915ff95707791a91f/Global/macOS.gitignore
56
56
 
57
57
  # General
58
58
  .DS_Store
@@ -83,7 +83,7 @@ Temporary Items
83
83
  # -----------------------------------------------------------------------------
84
84
  # gibo dump Python
85
85
  ### Generated by gibo (https://github.com/simonwhitaker/gibo)
86
- ### https://raw.github.com/github/gitignore/4488915eec0b3a45b5c63ead28f286819c0917de/Python.gitignore
86
+ ### https://raw.github.com/github/gitignore/33243d9491911332228307c915ff95707791a91f/Python.gitignore
87
87
 
88
88
  # Byte-compiled / optimized / DLL files
89
89
  __pycache__/
@@ -193,8 +193,10 @@ ipython_config.py
193
193
  #pdm.lock
194
194
  # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
195
195
  # in version control.
196
- # https://pdm.fming.dev/#use-with-ide
196
+ # https://pdm.fming.dev/latest/usage/project/#working-with-version-control
197
197
  .pdm.toml
198
+ .pdm-python
199
+ .pdm-build/
198
200
 
199
201
  # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
200
202
  __pypackages__/
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: timeout-iterator
3
- Version: 0.1.0
3
+ Version: 0.2.0
4
4
  Summary: Iterator with timeout
5
5
  Home-page: https://github.com/kitsuyui/python-timeout-iterator
6
6
  Author: Yui Kitsu
@@ -8,11 +8,31 @@ Author-email: kitsuyui+github@kitsuyui.com
8
8
  License: BSD-3-Clause
9
9
  Classifier: Development Status :: 3 - Alpha
10
10
  Classifier: License :: OSI Approved :: BSD License
11
- Requires-Python: >=3.8
11
+ Classifier: Programming Language :: Python :: 3.9
12
+ Classifier: Programming Language :: Python :: 3.10
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Intended Audience :: Developers
17
+ Classifier: Topic :: Software Development :: Libraries
18
+ Requires-Python: >=3.9
12
19
  Description-Content-Type: text/markdown
13
20
 
14
21
  # python-timeout-iterator
15
22
 
23
+ `timeout-iterator` provides a timeout in iteration.
24
+
25
+ [![Python](https://img.shields.io/pypi/pyversions/timeout-iterator.svg)](https://badge.fury.io/py/timeout-iterator)
26
+ [![PyPI version](https://img.shields.io/pypi/v/timeout-iterator.svg)](https://pypi.python.org/pypi/timeout-iterator/)
27
+ [![codecov](https://codecov.io/gh/kitsuyui/python-timeout-iterator/graph/badge.svg?token=D608CG7CUH)](https://codecov.io/gh/kitsuyui/python-timeout-iterator)
28
+ [![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
29
+
30
+ ## Installation
31
+
32
+ ```bash
33
+ $ pip install timeout-iterator
34
+ ```
35
+
16
36
  ## Usage
17
37
 
18
38
  ### without_terminate
@@ -1,18 +1,18 @@
1
- Metadata-Version: 2.1
2
- Name: timeout-iterator
3
- Version: 0.1.0
4
- Summary: Iterator with timeout
5
- Home-page: https://github.com/kitsuyui/python-timeout-iterator
6
- Author: Yui Kitsu
7
- Author-email: kitsuyui+github@kitsuyui.com
8
- License: BSD-3-Clause
9
- Classifier: Development Status :: 3 - Alpha
10
- Classifier: License :: OSI Approved :: BSD License
11
- Requires-Python: >=3.8
12
- Description-Content-Type: text/markdown
13
-
14
1
  # python-timeout-iterator
15
2
 
3
+ `timeout-iterator` provides a timeout in iteration.
4
+
5
+ [![Python](https://img.shields.io/pypi/pyversions/timeout-iterator.svg)](https://badge.fury.io/py/timeout-iterator)
6
+ [![PyPI version](https://img.shields.io/pypi/v/timeout-iterator.svg)](https://pypi.python.org/pypi/timeout-iterator/)
7
+ [![codecov](https://codecov.io/gh/kitsuyui/python-timeout-iterator/graph/badge.svg?token=D608CG7CUH)](https://codecov.io/gh/kitsuyui/python-timeout-iterator)
8
+ [![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
9
+
10
+ ## Installation
11
+
12
+ ```bash
13
+ $ pip install timeout-iterator
14
+ ```
15
+
16
16
  ## Usage
17
17
 
18
18
  ### without_terminate