xtr-lock 1.0.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.
xtr_lock-1.0.1/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 xterr
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,45 @@
1
+ Metadata-Version: 2.4
2
+ Name: xtr-lock
3
+ Version: 1.0.1
4
+ Summary: Locks around shared resources, after Symfony's Lock component. Not implemented yet.
5
+ Keywords: lock,mutex,concurrency,symfony
6
+ Author: Razvan Ceana
7
+ Author-email: Razvan Ceana <razvan@ceana.ro>
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Development Status :: 1 - Planning
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Programming Language :: Python :: 3.11
13
+ Classifier: Programming Language :: Python :: 3.12
14
+ Classifier: Programming Language :: Python :: 3.13
15
+ Classifier: Programming Language :: Python :: 3.14
16
+ Classifier: Typing :: Typed
17
+ Requires-Python: >=3.11
18
+ Description-Content-Type: text/markdown
19
+
20
+ <div align="center">
21
+
22
+ # xtr-lock
23
+
24
+ **Locks around shared resources, after Symfony's Lock component.**
25
+
26
+ <img alt="python 3.11+" src="https://img.shields.io/badge/python-%E2%89%A5%203.11-3776AB?logo=python&logoColor=white">
27
+ <img alt="status: planned" src="https://img.shields.io/badge/status-planned-lightgrey">
28
+ <img alt="license MIT" src="https://img.shields.io/badge/license-MIT-blue">
29
+
30
+ </div>
31
+
32
+ ---
33
+
34
+ > **Not implemented yet.** This release holds the name on PyPI and contains nothing to use.
35
+ > The first real release will say so in its notes.
36
+
37
+ ## Development
38
+
39
+ Developed in the [python-xtr](https://github.com/xterr/python-xtr) monorepo, under
40
+ `packages/xtr-lock`. The `python-xtr-lock` repository is a read-only copy, so send issues and
41
+ pull requests to the monorepo.
42
+
43
+ ## License
44
+
45
+ MIT — see [LICENSE](LICENSE).
@@ -0,0 +1,26 @@
1
+ <div align="center">
2
+
3
+ # xtr-lock
4
+
5
+ **Locks around shared resources, after Symfony's Lock component.**
6
+
7
+ <img alt="python 3.11+" src="https://img.shields.io/badge/python-%E2%89%A5%203.11-3776AB?logo=python&logoColor=white">
8
+ <img alt="status: planned" src="https://img.shields.io/badge/status-planned-lightgrey">
9
+ <img alt="license MIT" src="https://img.shields.io/badge/license-MIT-blue">
10
+
11
+ </div>
12
+
13
+ ---
14
+
15
+ > **Not implemented yet.** This release holds the name on PyPI and contains nothing to use.
16
+ > The first real release will say so in its notes.
17
+
18
+ ## Development
19
+
20
+ Developed in the [python-xtr](https://github.com/xterr/python-xtr) monorepo, under
21
+ `packages/xtr-lock`. The `python-xtr-lock` repository is a read-only copy, so send issues and
22
+ pull requests to the monorepo.
23
+
24
+ ## License
25
+
26
+ MIT — see [LICENSE](LICENSE).
@@ -0,0 +1,91 @@
1
+ [project]
2
+ name = "xtr-lock"
3
+ version = "1.0.1"
4
+ description = "Locks around shared resources, after Symfony's Lock component. Not implemented yet."
5
+ readme = "README.md"
6
+ requires-python = ">=3.11"
7
+ license = "MIT"
8
+ license-files = ["LICENSE"]
9
+ keywords = [
10
+ "lock",
11
+ "mutex",
12
+ "concurrency",
13
+ "symfony",
14
+ ]
15
+ classifiers = [
16
+ "Development Status :: 1 - Planning",
17
+ "Intended Audience :: Developers",
18
+ "Programming Language :: Python :: 3.11",
19
+ "Programming Language :: Python :: 3.12",
20
+ "Programming Language :: Python :: 3.13",
21
+ "Programming Language :: Python :: 3.14",
22
+ "Typing :: Typed",
23
+ ]
24
+ dependencies = []
25
+
26
+ [[project.authors]]
27
+ name = "Razvan Ceana"
28
+ email = "razvan@ceana.ro"
29
+
30
+ [dependency-groups]
31
+ dev = [
32
+ "basedpyright>=1.21",
33
+ "ruff>=0.8",
34
+ "ty>=0.0.83",
35
+ ]
36
+
37
+ [build-system]
38
+ requires = ["uv_build>=0.9.18,<0.10.0"]
39
+ build-backend = "uv_build"
40
+
41
+ [tool.basedpyright]
42
+ typeCheckingMode = "all"
43
+ pythonVersion = "3.11"
44
+ pythonPlatform = "All"
45
+ include = ["src"]
46
+ exclude = [
47
+ "**/__pycache__",
48
+ "**/.venv",
49
+ "**/build",
50
+ "**/dist",
51
+ ".tmp",
52
+ ]
53
+ reportUnusedCallResult = "warning"
54
+ reportUnnecessaryTypeIgnoreComment = "error"
55
+ reportUnusedVariable = "error"
56
+ reportMissingParameterType = "error"
57
+ reportPrivateUsage = "error"
58
+
59
+ [tool.ruff]
60
+ target-version = "py311"
61
+ line-length = 100
62
+ src = ["src"]
63
+
64
+ [tool.ruff.lint]
65
+ select = ["ALL"]
66
+ ignore = [
67
+ "COM812",
68
+ "ISC001",
69
+ "D203",
70
+ "D213",
71
+ "CPY001",
72
+ "FBT001",
73
+ "FBT002",
74
+ "TD002",
75
+ "TD003",
76
+ "FIX002",
77
+ ]
78
+ fixable = ["ALL"]
79
+ unfixable = []
80
+
81
+ [tool.ruff.lint.pydocstyle]
82
+ convention = "google"
83
+
84
+ [tool.ruff.format]
85
+ quote-style = "double"
86
+ indent-style = "space"
87
+ docstring-code-format = true
88
+ docstring-code-line-length = "dynamic"
89
+
90
+ [tool.ty.src]
91
+ include = ["src"]
@@ -0,0 +1,92 @@
1
+ [project]
2
+ name = "xtr-lock"
3
+ version = "1.0.1"
4
+ description = "Locks around shared resources, after Symfony's Lock component. Not implemented yet."
5
+ readme = "README.md"
6
+ authors = [
7
+ { name = "Razvan Ceana", email = "razvan@ceana.ro" }
8
+ ]
9
+ requires-python = ">=3.11"
10
+ license = "MIT"
11
+ license-files = ["LICENSE"]
12
+ keywords = ["lock", "mutex", "concurrency", "symfony"]
13
+ classifiers = [
14
+ "Development Status :: 1 - Planning",
15
+ "Intended Audience :: Developers",
16
+ "Programming Language :: Python :: 3.11",
17
+ "Programming Language :: Python :: 3.12",
18
+ "Programming Language :: Python :: 3.13",
19
+ "Programming Language :: Python :: 3.14",
20
+ "Typing :: Typed",
21
+ ]
22
+ dependencies = []
23
+
24
+ [dependency-groups]
25
+ dev = [
26
+ "basedpyright>=1.21",
27
+ "ruff>=0.8",
28
+ "ty>=0.0.83",
29
+ ]
30
+
31
+ [build-system]
32
+ requires = ["uv_build>=0.9.18,<0.10.0"]
33
+ build-backend = "uv_build"
34
+
35
+ # ─────────────────────────────────────────────────────────────────
36
+ # basedpyright — typeCheckingMode = "all" sets every report flag to error
37
+ # ─────────────────────────────────────────────────────────────────
38
+ [tool.basedpyright]
39
+ typeCheckingMode = "all"
40
+ pythonVersion = "3.11"
41
+ pythonPlatform = "All"
42
+ include = ["src"]
43
+ exclude = ["**/__pycache__", "**/.venv", "**/build", "**/dist", ".tmp"]
44
+
45
+ reportUnusedCallResult = "warning"
46
+ reportUnnecessaryTypeIgnoreComment = "error"
47
+ reportUnusedVariable = "error"
48
+ reportMissingParameterType = "error"
49
+ reportPrivateUsage = "error"
50
+
51
+ # ─────────────────────────────────────────────────────────────────
52
+ # ruff — select = ["ALL"], minimal justified ignores
53
+ # ─────────────────────────────────────────────────────────────────
54
+ [tool.ruff]
55
+ target-version = "py311"
56
+ line-length = 100
57
+ src = ["src"]
58
+
59
+ [tool.ruff.lint]
60
+ select = ["ALL"]
61
+ ignore = [
62
+ # Formatter conflicts (ruff documents these)
63
+ "COM812",
64
+ "ISC001",
65
+ # Mutually-exclusive docstring conventions; keep the modern one
66
+ "D203",
67
+ "D213",
68
+ # Project-specific noise
69
+ "CPY001",
70
+ "FBT001",
71
+ "FBT002",
72
+ "TD002",
73
+ "TD003",
74
+ "FIX002",
75
+ ]
76
+ fixable = ["ALL"]
77
+ unfixable = []
78
+
79
+ [tool.ruff.lint.pydocstyle]
80
+ convention = "google"
81
+
82
+ [tool.ruff.format]
83
+ quote-style = "double"
84
+ indent-style = "space"
85
+ docstring-code-format = true
86
+ docstring-code-line-length = "dynamic"
87
+
88
+ # ─────────────────────────────────────────────────────────────────
89
+ # ty — a second opinion on the source
90
+ # ─────────────────────────────────────────────────────────────────
91
+ [tool.ty.src]
92
+ include = ["src"]
@@ -0,0 +1 @@
1
+ """Locks around shared resources, after Symfony's Lock component."""
File without changes