packaging-34j 1.0.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.
@@ -0,0 +1,22 @@
1
+
2
+ MIT License
3
+
4
+ Copyright (c) 2025 34j
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
@@ -0,0 +1,73 @@
1
+ Metadata-Version: 2.4
2
+ Name: packaging-34j
3
+ Version: 1.0.0
4
+ Summary: Packaging tools and configuration for 34j Python projects.
5
+ Author: 34j
6
+ License-Expression: MIT
7
+ Project-URL: Bug Tracker, https://github.com/34j/packaging-34j/issues
8
+ Project-URL: Changelog, https://github.com/34j/packaging-34j/blob/main/CHANGELOG.md
9
+ Project-URL: documentation, https://packaging-34j.readthedocs.io
10
+ Project-URL: repository, https://github.com/34j/packaging-34j
11
+ Classifier: Development Status :: 2 - Pre-Alpha
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Natural Language :: English
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Programming Language :: Python :: 3 :: Only
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Programming Language :: Python :: 3.14
19
+ Classifier: Topic :: Software Development :: Libraries
20
+ Requires-Python: >=3.12
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ Dynamic: license-file
24
+
25
+ # Packaging 34j
26
+
27
+ <p align="center">
28
+ <a href="https://github.com/34j/packaging-34j/actions/workflows/ci.yml?query=branch%3Amain">
29
+ <img src="https://img.shields.io/github/actions/workflow/status/34j/packaging-34j/ci.yml?branch=main&label=CI&logo=github&style=flat-square" alt="CI Status" >
30
+ </a>
31
+ <a href="https://packaging-34j.readthedocs.io">
32
+ <img src="https://img.shields.io/readthedocs/packaging-34j.svg?logo=read-the-docs&logoColor=fff&style=flat-square" alt="Documentation Status">
33
+ </a>
34
+ </p>
35
+ <p align="center">
36
+ <a href="https://codecov.io/gh/34j/packaging-34j">
37
+ <img src="https://img.shields.io/codecov/c/github/34j/packaging-34j.svg?logo=codecov&logoColor=fff&style=flat-square" alt="Test coverage percentage">
38
+ </a>
39
+ <a href="https://github.com/astral-sh/uv">
40
+ <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json" alt="uv">
41
+ </a>
42
+ <a href="https://github.com/astral-sh/ruff">
43
+ <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff">
44
+ </a>
45
+ <a href="https://github.com/j178/prek">
46
+ <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/j178/prek/master/docs/assets/badge-v0.json" alt="prek">
47
+ </a>
48
+ </p>
49
+ <p align="center">
50
+ <a href="https://pypi.org/project/packaging-34j/">
51
+ <img src="https://img.shields.io/pypi/v/packaging-34j.svg?logo=python&logoColor=fff&style=flat-square" alt="PyPI Version">
52
+ </a>
53
+ <img src="https://img.shields.io/pypi/pyversions/packaging-34j.svg?style=flat-square&logo=python&amp;logoColor=fff" alt="Supported Python versions">
54
+ <img src="https://img.shields.io/pypi/l/packaging-34j.svg?style=flat-square" alt="License">
55
+ </p>
56
+
57
+ ---
58
+
59
+ **Documentation**: <a href="https://packaging-34j.readthedocs.io" target="_blank">https://packaging-34j.readthedocs.io </a>
60
+
61
+ **Source Code**: <a href="https://github.com/34j/packaging-34j" target="_blank">https://github.com/34j/packaging-34j </a>
62
+
63
+ ---
64
+
65
+ Packaging tools and configuration for 34j Python projects.
66
+
67
+ ## Installation
68
+
69
+ Install this via pip (or your favourite package manager):
70
+
71
+ ```shell
72
+ pip install packaging-34j
73
+ ```
@@ -0,0 +1,49 @@
1
+ # Packaging 34j
2
+
3
+ <p align="center">
4
+ <a href="https://github.com/34j/packaging-34j/actions/workflows/ci.yml?query=branch%3Amain">
5
+ <img src="https://img.shields.io/github/actions/workflow/status/34j/packaging-34j/ci.yml?branch=main&label=CI&logo=github&style=flat-square" alt="CI Status" >
6
+ </a>
7
+ <a href="https://packaging-34j.readthedocs.io">
8
+ <img src="https://img.shields.io/readthedocs/packaging-34j.svg?logo=read-the-docs&logoColor=fff&style=flat-square" alt="Documentation Status">
9
+ </a>
10
+ </p>
11
+ <p align="center">
12
+ <a href="https://codecov.io/gh/34j/packaging-34j">
13
+ <img src="https://img.shields.io/codecov/c/github/34j/packaging-34j.svg?logo=codecov&logoColor=fff&style=flat-square" alt="Test coverage percentage">
14
+ </a>
15
+ <a href="https://github.com/astral-sh/uv">
16
+ <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json" alt="uv">
17
+ </a>
18
+ <a href="https://github.com/astral-sh/ruff">
19
+ <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff">
20
+ </a>
21
+ <a href="https://github.com/j178/prek">
22
+ <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/j178/prek/master/docs/assets/badge-v0.json" alt="prek">
23
+ </a>
24
+ </p>
25
+ <p align="center">
26
+ <a href="https://pypi.org/project/packaging-34j/">
27
+ <img src="https://img.shields.io/pypi/v/packaging-34j.svg?logo=python&logoColor=fff&style=flat-square" alt="PyPI Version">
28
+ </a>
29
+ <img src="https://img.shields.io/pypi/pyversions/packaging-34j.svg?style=flat-square&logo=python&amp;logoColor=fff" alt="Supported Python versions">
30
+ <img src="https://img.shields.io/pypi/l/packaging-34j.svg?style=flat-square" alt="License">
31
+ </p>
32
+
33
+ ---
34
+
35
+ **Documentation**: <a href="https://packaging-34j.readthedocs.io" target="_blank">https://packaging-34j.readthedocs.io </a>
36
+
37
+ **Source Code**: <a href="https://github.com/34j/packaging-34j" target="_blank">https://github.com/34j/packaging-34j </a>
38
+
39
+ ---
40
+
41
+ Packaging tools and configuration for 34j Python projects.
42
+
43
+ ## Installation
44
+
45
+ Install this via pip (or your favourite package manager):
46
+
47
+ ```shell
48
+ pip install packaging-34j
49
+ ```
@@ -0,0 +1,135 @@
1
+ [build-system]
2
+ build-backend = "setuptools.build_meta"
3
+ requires = [ "setuptools>=77.0.3" ]
4
+
5
+ [project]
6
+ name = "packaging-34j"
7
+ version = "1.0.0"
8
+ description = "Packaging tools and configuration for 34j Python projects."
9
+ readme = "README.md"
10
+ license = "MIT"
11
+ authors = [
12
+ { name = "34j" },
13
+ ]
14
+ requires-python = ">=3.12"
15
+ classifiers = [
16
+ "Development Status :: 2 - Pre-Alpha",
17
+ "Intended Audience :: Developers",
18
+ "Natural Language :: English",
19
+ "Operating System :: OS Independent",
20
+ "Programming Language :: Python :: 3 :: Only",
21
+ "Programming Language :: Python :: 3.12",
22
+ "Programming Language :: Python :: 3.13",
23
+ "Programming Language :: Python :: 3.14",
24
+ "Topic :: Software Development :: Libraries",
25
+ ]
26
+ urls."Bug Tracker" = "https://github.com/34j/packaging-34j/issues"
27
+ urls.Changelog = "https://github.com/34j/packaging-34j/blob/main/CHANGELOG.md"
28
+ urls.documentation = "https://packaging-34j.readthedocs.io"
29
+ urls.repository = "https://github.com/34j/packaging-34j"
30
+
31
+ [dependency-groups]
32
+ dev = [
33
+ "coverage",
34
+ "pytest",
35
+ "pytest-cov",
36
+ "sybil[pytest]",
37
+ "ty",
38
+ ]
39
+ docs = [
40
+ "furo",
41
+ "myst-parser",
42
+ "sphinx",
43
+ "sphinx-autobuild",
44
+ "sphinx-math-dollar",
45
+ ]
46
+
47
+ [tool.ruff]
48
+ line-length = 88
49
+ lint.select = [
50
+ "B", # flake8-bugbear
51
+ "C4", # flake8-comprehensions
52
+ "D", # flake8-docstrings
53
+ "E", # pycodestyle
54
+ "F", # pyflake
55
+ "I", # isort
56
+ "RUF", # ruff specific
57
+ "S", # flake8-bandit
58
+ "UP", # pyupgrade
59
+ "W", # pycodestyle
60
+ ]
61
+ lint.ignore = [
62
+ "D100", # Missing docstring in public module
63
+ "D104", # Missing docstring in public package
64
+ "D107", # Missing docstring in `__init__`
65
+ "D203", # 1 blank line required before class docstring
66
+ "D212", # Multi-line docstring summary should start at the first line
67
+ "D401", # First line of docstring should be in imperative mood
68
+ ]
69
+ lint.per-file-ignores."conftest.py" = [ "D100" ]
70
+ lint.per-file-ignores."docs/conf.py" = [ "D100" ]
71
+ lint.per-file-ignores."setup.py" = [ "D100" ]
72
+ lint.per-file-ignores."tests/**/*" = [
73
+ "D100",
74
+ "D101",
75
+ "D102",
76
+ "D103",
77
+ "D104",
78
+ "S101",
79
+ ]
80
+ lint.isort.known-first-party = [ "packaging_34j", "tests" ]
81
+
82
+ [tool.pyproject-fmt]
83
+ max_supported_python = "3.14"
84
+
85
+ [tool.ty]
86
+ terminal.error-on-warning = true
87
+
88
+ [tool.pytest]
89
+ minversion = "9.0"
90
+ addopts = [
91
+ "-v",
92
+ "-Wonce",
93
+ "-p no:doctest",
94
+ "--cov=packaging_34j",
95
+ "--cov-report=term",
96
+ "--cov-report=xml",
97
+ ]
98
+ pythonpath = [ "src" ]
99
+
100
+ [tool.coverage]
101
+ run.branch = true
102
+ paths.source = [ "src" ]
103
+ report.exclude_lines = [
104
+ "@overload",
105
+ 'if __name__ == "__main__":',
106
+ "if TYPE_CHECKING",
107
+ "pragma: no cover",
108
+ "raise NotImplementedError",
109
+ ]
110
+
111
+ [tool.semantic_release]
112
+ version_toml = [ "pyproject.toml:project.version" ]
113
+ version_variables = [
114
+ "src/packaging_34j/__init__.py:__version__",
115
+ ]
116
+ build_command = """
117
+ pip install uv
118
+ uv lock
119
+ git add uv.lock
120
+ uv build
121
+ """
122
+ branches.main.match = "main"
123
+ branches.noop.match = "(?!main$)"
124
+ branches.noop.prerelease = true
125
+ changelog.exclude_commit_patterns = [
126
+ "chore(?:\\([^)]*?\\))?: .+",
127
+ "ci(?:\\([^)]*?\\))?: .+",
128
+ "refactor(?:\\([^)]*?\\))?: .+",
129
+ "style(?:\\([^)]*?\\))?: .+",
130
+ "test(?:\\([^)]*?\\))?: .+",
131
+ "build\\((?!deps\\): .+)",
132
+ "Merged? .*",
133
+ "Initial [Cc]ommit.*", # codespell:ignore
134
+ ]
135
+ changelog.environment.keep_trailing_newline = true
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1 @@
1
+ __version__ = "1.0.0"
@@ -0,0 +1,11 @@
1
+ def add(n1: int, n2: int) -> int:
2
+ """
3
+ Add the arguments.
4
+
5
+ Examples
6
+ --------
7
+ >>> add(1, 1)
8
+ 2
9
+
10
+ """
11
+ return n1 + n2
File without changes
@@ -0,0 +1,73 @@
1
+ Metadata-Version: 2.4
2
+ Name: packaging-34j
3
+ Version: 1.0.0
4
+ Summary: Packaging tools and configuration for 34j Python projects.
5
+ Author: 34j
6
+ License-Expression: MIT
7
+ Project-URL: Bug Tracker, https://github.com/34j/packaging-34j/issues
8
+ Project-URL: Changelog, https://github.com/34j/packaging-34j/blob/main/CHANGELOG.md
9
+ Project-URL: documentation, https://packaging-34j.readthedocs.io
10
+ Project-URL: repository, https://github.com/34j/packaging-34j
11
+ Classifier: Development Status :: 2 - Pre-Alpha
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Natural Language :: English
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Programming Language :: Python :: 3 :: Only
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Programming Language :: Python :: 3.14
19
+ Classifier: Topic :: Software Development :: Libraries
20
+ Requires-Python: >=3.12
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ Dynamic: license-file
24
+
25
+ # Packaging 34j
26
+
27
+ <p align="center">
28
+ <a href="https://github.com/34j/packaging-34j/actions/workflows/ci.yml?query=branch%3Amain">
29
+ <img src="https://img.shields.io/github/actions/workflow/status/34j/packaging-34j/ci.yml?branch=main&label=CI&logo=github&style=flat-square" alt="CI Status" >
30
+ </a>
31
+ <a href="https://packaging-34j.readthedocs.io">
32
+ <img src="https://img.shields.io/readthedocs/packaging-34j.svg?logo=read-the-docs&logoColor=fff&style=flat-square" alt="Documentation Status">
33
+ </a>
34
+ </p>
35
+ <p align="center">
36
+ <a href="https://codecov.io/gh/34j/packaging-34j">
37
+ <img src="https://img.shields.io/codecov/c/github/34j/packaging-34j.svg?logo=codecov&logoColor=fff&style=flat-square" alt="Test coverage percentage">
38
+ </a>
39
+ <a href="https://github.com/astral-sh/uv">
40
+ <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json" alt="uv">
41
+ </a>
42
+ <a href="https://github.com/astral-sh/ruff">
43
+ <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff">
44
+ </a>
45
+ <a href="https://github.com/j178/prek">
46
+ <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/j178/prek/master/docs/assets/badge-v0.json" alt="prek">
47
+ </a>
48
+ </p>
49
+ <p align="center">
50
+ <a href="https://pypi.org/project/packaging-34j/">
51
+ <img src="https://img.shields.io/pypi/v/packaging-34j.svg?logo=python&logoColor=fff&style=flat-square" alt="PyPI Version">
52
+ </a>
53
+ <img src="https://img.shields.io/pypi/pyversions/packaging-34j.svg?style=flat-square&logo=python&amp;logoColor=fff" alt="Supported Python versions">
54
+ <img src="https://img.shields.io/pypi/l/packaging-34j.svg?style=flat-square" alt="License">
55
+ </p>
56
+
57
+ ---
58
+
59
+ **Documentation**: <a href="https://packaging-34j.readthedocs.io" target="_blank">https://packaging-34j.readthedocs.io </a>
60
+
61
+ **Source Code**: <a href="https://github.com/34j/packaging-34j" target="_blank">https://github.com/34j/packaging-34j </a>
62
+
63
+ ---
64
+
65
+ Packaging tools and configuration for 34j Python projects.
66
+
67
+ ## Installation
68
+
69
+ Install this via pip (or your favourite package manager):
70
+
71
+ ```shell
72
+ pip install packaging-34j
73
+ ```
@@ -0,0 +1,11 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ src/packaging_34j/__init__.py
5
+ src/packaging_34j/_main.py
6
+ src/packaging_34j/py.typed
7
+ src/packaging_34j.egg-info/PKG-INFO
8
+ src/packaging_34j.egg-info/SOURCES.txt
9
+ src/packaging_34j.egg-info/dependency_links.txt
10
+ src/packaging_34j.egg-info/top_level.txt
11
+ tests/test_main.py
@@ -0,0 +1 @@
1
+ packaging_34j
@@ -0,0 +1,6 @@
1
+ from packaging_34j._main import add
2
+
3
+
4
+ def test_add():
5
+ """Adding two number works as expected."""
6
+ assert add(1, 1) == 2