onecache 0.8.0__tar.gz → 0.8.1__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.
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: onecache
3
- Version: 0.8.0
3
+ Version: 0.8.1
4
4
  Summary: Python cache for sync and async code
5
5
  License: MIT
6
6
  Author: Johanderson Mogollon
7
7
  Author-email: johander1822@gmail.com
8
- Requires-Python: >=3.8,<3.15
8
+ Requires-Python: >=3.8
9
9
  Classifier: Development Status :: 5 - Production/Stable
10
10
  Classifier: Intended Audience :: Developers
11
11
  Classifier: License :: OSI Approved :: MIT License
@@ -16,6 +16,8 @@ Classifier: Programming Language :: Python :: 3.9
16
16
  Classifier: Programming Language :: Python :: 3.10
17
17
  Classifier: Programming Language :: Python :: 3.11
18
18
  Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
19
21
  Classifier: Programming Language :: Python :: Implementation :: PyPy
20
22
  Description-Content-Type: text/markdown
21
23
 
@@ -26,9 +28,9 @@ Description-Content-Type: text/markdown
26
28
 
27
29
  Python cache for sync and async code.
28
30
 
29
- Cache uses LRU algoritm. Cache can optionally have TTL.
31
+ Cache uses an LRU algorithm and can optionally set TTLs per entry.
30
32
 
31
- Tested in python 3.7, 3.9, 3.11 and pypy3.9 for windows, mac and linux (see github status badge), it should work in versions between them. It may work for python3.6
33
+ Tested automatically on CPython 3.8–3.14 and PyPy 3.9 across Linux, macOS, and Windows (see the workflow badge). Earlier versions may work but are not part of the supported matrix.
32
34
 
33
35
  # Usage
34
36
 
@@ -84,12 +86,20 @@ If num of records exceds maxsize, it drops the oldest.
84
86
 
85
87
  # Development
86
88
 
87
- Install packages with pip-tools:
89
+ Install dependencies with Poetry (includes dev + test groups):
88
90
  ```bash
89
- pip install pip-tools
90
- pip-compile
91
- pip-compile test-requirements.in
92
- pip-sync requirements.txt test-requirements.txt
91
+ poetry install --with test,dev
92
+ ```
93
+
94
+ Run the test suite and coverage locally:
95
+ ```bash
96
+ poetry run pytest --cov
97
+ ```
98
+
99
+ Lint and format checks:
100
+ ```bash
101
+ poetry run flake8
102
+ poetry run autopep8 --in-place --recursive onecache tests
93
103
  ```
94
104
 
95
105
  # Contribute
@@ -5,9 +5,9 @@
5
5
 
6
6
  Python cache for sync and async code.
7
7
 
8
- Cache uses LRU algoritm. Cache can optionally have TTL.
8
+ Cache uses an LRU algorithm and can optionally set TTLs per entry.
9
9
 
10
- Tested in python 3.7, 3.9, 3.11 and pypy3.9 for windows, mac and linux (see github status badge), it should work in versions between them. It may work for python3.6
10
+ Tested automatically on CPython 3.8–3.14 and PyPy 3.9 across Linux, macOS, and Windows (see the workflow badge). Earlier versions may work but are not part of the supported matrix.
11
11
 
12
12
  # Usage
13
13
 
@@ -63,12 +63,20 @@ If num of records exceds maxsize, it drops the oldest.
63
63
 
64
64
  # Development
65
65
 
66
- Install packages with pip-tools:
66
+ Install dependencies with Poetry (includes dev + test groups):
67
67
  ```bash
68
- pip install pip-tools
69
- pip-compile
70
- pip-compile test-requirements.in
71
- pip-sync requirements.txt test-requirements.txt
68
+ poetry install --with test,dev
69
+ ```
70
+
71
+ Run the test suite and coverage locally:
72
+ ```bash
73
+ poetry run pytest --cov
74
+ ```
75
+
76
+ Lint and format checks:
77
+ ```bash
78
+ poetry run flake8
79
+ poetry run autopep8 --in-place --recursive onecache tests
72
80
  ```
73
81
 
74
82
  # Contribute
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "onecache"
3
- version = "0.8.0"
3
+ version = "0.8.1"
4
4
  description = "Python cache for sync and async code"
5
5
  authors = ["Johanderson Mogollon <johander1822@gmail.com>"]
6
6
  license = "MIT"
@@ -14,12 +14,15 @@ classifiers = [
14
14
  "Programming Language :: Python :: 3.9",
15
15
  "Programming Language :: Python :: 3.10",
16
16
  "Programming Language :: Python :: 3.11",
17
+ "Programming Language :: Python :: 3.12",
18
+ "Programming Language :: Python :: 3.13",
19
+ "Programming Language :: Python :: 3.14",
17
20
  "Programming Language :: Python :: Implementation :: PyPy",
18
21
  ]
19
22
  # packages = [{include = "onecache"}]
20
23
 
21
24
  [tool.poetry.dependencies]
22
- python = ">=3.8,<3.15"
25
+ python = ">=3.8"
23
26
 
24
27
  [tool.poetry.group.test.dependencies]
25
28
  flake8 = {version= "^7.1.0", python = ">=3.8.1"}
File without changes
File without changes