dbrownell-brythonwebviewtest 0.1.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,77 @@
1
+ Metadata-Version: 2.3
2
+ Name: dbrownell-brythonwebviewtest
3
+ Version: 0.1.0
4
+ Summary: Test for Brython and pywebview integration
5
+ Author: David Brownell
6
+ Author-email: David Brownell <github@davidbrownell.com>
7
+ License: MIT
8
+ Classifier: Operating System :: MacOS
9
+ Classifier: Operating System :: Microsoft :: Windows
10
+ Classifier: Operating System :: POSIX :: Linux
11
+ Classifier: Programming Language :: Python
12
+ Classifier: Programming Language :: Python :: 3.14
13
+ Requires-Python: >=3.14
14
+ Project-URL: Homepage, https://github.com/davidbrownell/dbrownell_BrythonWebviewTest
15
+ Project-URL: Documentation, https://github.com/davidbrownell/dbrownell_BrythonWebviewTest
16
+ Project-URL: Repository, https://github.com/davidbrownell/dbrownell_BrythonWebviewTest
17
+ Description-Content-Type: text/markdown
18
+
19
+ **Project:**
20
+ [![License](https://img.shields.io/github/license/davidbrownell/dbrownell_BrythonWebviewTest?color=dark-green)](https://github.com/davidbrownell/dbrownell_BrythonWebviewTest/blob/master/LICENSE)
21
+
22
+ **Package:**
23
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/dbrownell_BrythonWebviewTest?color=dark-green)](https://pypi.org/project/dbrownell_BrythonWebviewTest/)
24
+ [![PyPI - Version](https://img.shields.io/pypi/v/dbrownell_BrythonWebviewTest?color=dark-green)](https://pypi.org/project/dbrownell_BrythonWebviewTest/)
25
+ [![PyPI - Downloads](https://img.shields.io/pypi/dm/dbrownell_BrythonWebviewTest)](https://pypistats.org/packages/dbrownell-brythonwebviewtest)
26
+
27
+ **Development:**
28
+ [![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
29
+ [![ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
30
+ [![ty](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ty/main/assets/badge/v0.json)](https://github.com/astral-sh/ty)
31
+ [![pytest](https://img.shields.io/badge/pytest-enabled-brightgreen)](https://docs.pytest.org/)
32
+ [![CI](https://github.com/davidbrownell/dbrownell_BrythonWebviewTest/actions/workflows/CICD.yml/badge.svg)](https://github.com/davidbrownell/dbrownell_BrythonWebviewTest/actions/workflows/CICD.yml)
33
+ [![GitHub commit activity](https://img.shields.io/github/commit-activity/y/davidbrownell/dbrownell_BrythonWebviewTest?color=dark-green)](https://github.com/davidbrownell/dbrownell_BrythonWebviewTest/commits/main/)
34
+
35
+ <!-- Content above this delimiter will be copied to the generated README.md file. DO NOT REMOVE THIS COMMENT, as it will cause regeneration to fail. -->
36
+
37
+ ## Contents
38
+ - [Overview](#overview)
39
+ - [Installation](#installation)
40
+ - [Development](#development)
41
+ - [Additional Information](#additional-information)
42
+ - [License](#license)
43
+
44
+ ## Overview
45
+ TODO: Complete this section
46
+
47
+ ### How to use `dbrownell_BrythonWebviewTest`
48
+ TODO: Complete this section
49
+
50
+ <!-- Content below this delimiter will be copied to the generated README.md file. DO NOT REMOVE THIS COMMENT, as it will cause regeneration to fail. -->
51
+
52
+ ## Installation
53
+
54
+ | Installation Method | Command |
55
+ | --- | --- |
56
+ | Via [uv](https://github.com/astral-sh/uv) | `uv add dbrownell_BrythonWebviewTest` |
57
+ | Via [pip](https://pip.pypa.io/en/stable/) | `pip install dbrownell_BrythonWebviewTest` |
58
+
59
+
60
+
61
+ ## Development
62
+ Please visit [Contributing](https://github.com/davidbrownell/dbrownell_BrythonWebviewTest/blob/main/CONTRIBUTING.md) and [Development](https://github.com/davidbrownell/dbrownell_BrythonWebviewTest/blob/main/DEVELOPMENT.md) for information on contributing to this project.
63
+
64
+ ## Additional Information
65
+ Additional information can be found at these locations.
66
+
67
+ | Title | Document | Description |
68
+ | --- | --- | --- |
69
+ | Code of Conduct | [CODE_OF_CONDUCT.md](https://github.com/davidbrownell/dbrownell_BrythonWebviewTest/blob/main/CODE_OF_CONDUCT.md) | Information about the norms, rules, and responsibilities we adhere to when participating in this open source community. |
70
+ | Contributing | [CONTRIBUTING.md](https://github.com/davidbrownell/dbrownell_BrythonWebviewTest/blob/main/CONTRIBUTING.md) | Information about contributing to this project. |
71
+ | Development | [DEVELOPMENT.md](https://github.com/davidbrownell/dbrownell_BrythonWebviewTest/blob/main/DEVELOPMENT.md) | Information about development activities involved in making changes to this project. |
72
+ | Governance | [GOVERNANCE.md](https://github.com/davidbrownell/dbrownell_BrythonWebviewTest/blob/main/GOVERNANCE.md) | Information about how this project is governed. |
73
+ | Maintainers | [MAINTAINERS.md](https://github.com/davidbrownell/dbrownell_BrythonWebviewTest/blob/main/MAINTAINERS.md) | Information about individuals who maintain this project. |
74
+ | Security | [SECURITY.md](https://github.com/davidbrownell/dbrownell_BrythonWebviewTest/blob/main/SECURITY.md) | Information about how to privately report security issues associated with this project. |
75
+
76
+ ## License
77
+ `dbrownell_BrythonWebviewTest` is licensed under the <a href="https://choosealicense.com/licenses/MIT/" target="_blank">MIT</a> license.
@@ -0,0 +1,59 @@
1
+ **Project:**
2
+ [![License](https://img.shields.io/github/license/davidbrownell/dbrownell_BrythonWebviewTest?color=dark-green)](https://github.com/davidbrownell/dbrownell_BrythonWebviewTest/blob/master/LICENSE)
3
+
4
+ **Package:**
5
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/dbrownell_BrythonWebviewTest?color=dark-green)](https://pypi.org/project/dbrownell_BrythonWebviewTest/)
6
+ [![PyPI - Version](https://img.shields.io/pypi/v/dbrownell_BrythonWebviewTest?color=dark-green)](https://pypi.org/project/dbrownell_BrythonWebviewTest/)
7
+ [![PyPI - Downloads](https://img.shields.io/pypi/dm/dbrownell_BrythonWebviewTest)](https://pypistats.org/packages/dbrownell-brythonwebviewtest)
8
+
9
+ **Development:**
10
+ [![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
11
+ [![ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
12
+ [![ty](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ty/main/assets/badge/v0.json)](https://github.com/astral-sh/ty)
13
+ [![pytest](https://img.shields.io/badge/pytest-enabled-brightgreen)](https://docs.pytest.org/)
14
+ [![CI](https://github.com/davidbrownell/dbrownell_BrythonWebviewTest/actions/workflows/CICD.yml/badge.svg)](https://github.com/davidbrownell/dbrownell_BrythonWebviewTest/actions/workflows/CICD.yml)
15
+ [![GitHub commit activity](https://img.shields.io/github/commit-activity/y/davidbrownell/dbrownell_BrythonWebviewTest?color=dark-green)](https://github.com/davidbrownell/dbrownell_BrythonWebviewTest/commits/main/)
16
+
17
+ <!-- Content above this delimiter will be copied to the generated README.md file. DO NOT REMOVE THIS COMMENT, as it will cause regeneration to fail. -->
18
+
19
+ ## Contents
20
+ - [Overview](#overview)
21
+ - [Installation](#installation)
22
+ - [Development](#development)
23
+ - [Additional Information](#additional-information)
24
+ - [License](#license)
25
+
26
+ ## Overview
27
+ TODO: Complete this section
28
+
29
+ ### How to use `dbrownell_BrythonWebviewTest`
30
+ TODO: Complete this section
31
+
32
+ <!-- Content below this delimiter will be copied to the generated README.md file. DO NOT REMOVE THIS COMMENT, as it will cause regeneration to fail. -->
33
+
34
+ ## Installation
35
+
36
+ | Installation Method | Command |
37
+ | --- | --- |
38
+ | Via [uv](https://github.com/astral-sh/uv) | `uv add dbrownell_BrythonWebviewTest` |
39
+ | Via [pip](https://pip.pypa.io/en/stable/) | `pip install dbrownell_BrythonWebviewTest` |
40
+
41
+
42
+
43
+ ## Development
44
+ Please visit [Contributing](https://github.com/davidbrownell/dbrownell_BrythonWebviewTest/blob/main/CONTRIBUTING.md) and [Development](https://github.com/davidbrownell/dbrownell_BrythonWebviewTest/blob/main/DEVELOPMENT.md) for information on contributing to this project.
45
+
46
+ ## Additional Information
47
+ Additional information can be found at these locations.
48
+
49
+ | Title | Document | Description |
50
+ | --- | --- | --- |
51
+ | Code of Conduct | [CODE_OF_CONDUCT.md](https://github.com/davidbrownell/dbrownell_BrythonWebviewTest/blob/main/CODE_OF_CONDUCT.md) | Information about the norms, rules, and responsibilities we adhere to when participating in this open source community. |
52
+ | Contributing | [CONTRIBUTING.md](https://github.com/davidbrownell/dbrownell_BrythonWebviewTest/blob/main/CONTRIBUTING.md) | Information about contributing to this project. |
53
+ | Development | [DEVELOPMENT.md](https://github.com/davidbrownell/dbrownell_BrythonWebviewTest/blob/main/DEVELOPMENT.md) | Information about development activities involved in making changes to this project. |
54
+ | Governance | [GOVERNANCE.md](https://github.com/davidbrownell/dbrownell_BrythonWebviewTest/blob/main/GOVERNANCE.md) | Information about how this project is governed. |
55
+ | Maintainers | [MAINTAINERS.md](https://github.com/davidbrownell/dbrownell_BrythonWebviewTest/blob/main/MAINTAINERS.md) | Information about individuals who maintain this project. |
56
+ | Security | [SECURITY.md](https://github.com/davidbrownell/dbrownell_BrythonWebviewTest/blob/main/SECURITY.md) | Information about how to privately report security issues associated with this project. |
57
+
58
+ ## License
59
+ `dbrownell_BrythonWebviewTest` is licensed under the <a href="https://choosealicense.com/licenses/MIT/" target="_blank">MIT</a> license.
@@ -0,0 +1,90 @@
1
+ [project]
2
+ name = "dbrownell-brythonwebviewtest"
3
+ version = "0.1.0"
4
+ # ^^^^^
5
+ # Wheel names will be generated according to this value. Do not manually modify this value; instead
6
+ # update it according to committed changes by running this command from the root of the repository:
7
+ #
8
+ # uv run python -m AutoGitSemVer.scripts.UpdatePythonVersion ./pyproject.toml ./src
9
+
10
+ description = "Test for Brython and pywebview integration"
11
+ readme = "README.md"
12
+ authors = [
13
+ { name = "David Brownell", email = "github@davidbrownell.com" }
14
+ ]
15
+ requires-python = ">= 3.14"
16
+ dependencies = []
17
+ classifiers = [
18
+ "Operating System :: MacOS",
19
+ "Operating System :: Microsoft :: Windows",
20
+ "Operating System :: POSIX :: Linux",
21
+ "Programming Language :: Python",
22
+ "Programming Language :: Python :: 3.14",
23
+ ]
24
+
25
+ [project.license]
26
+ text = "MIT"
27
+
28
+ [project.urls]
29
+ Homepage = "https://github.com/davidbrownell/dbrownell_BrythonWebviewTest"
30
+ Documentation = "https://github.com/davidbrownell/dbrownell_BrythonWebviewTest"
31
+ Repository = "https://github.com/davidbrownell/dbrownell_BrythonWebviewTest"
32
+
33
+ [build-system]
34
+ requires = ["uv_build>=0.9.26,<0.10.0"]
35
+ build-backend = "uv_build"
36
+
37
+ [dependency-groups]
38
+ dev = [
39
+ "autogitsemver>=0.9.2",
40
+ "pre-commit>=4.5.1",
41
+ "pytest>=9.0.2",
42
+ "pytest-cov>=7.0.0",
43
+ "ruff>=0.14.14",
44
+ "ty>=0.0.13",
45
+ ]
46
+
47
+ [tool.pytest.ini_options]
48
+ addopts = "--verbose -vv --capture=no --cov=dbrownell_BrythonWebviewTest --cov-report html --cov-report term --cov-report xml:coverage.xml --cov-fail-under=95.0"
49
+
50
+ [tool.ruff]
51
+ line-length = 110
52
+
53
+ [tool.ruff.lint]
54
+ exclude = ["tests/**"]
55
+
56
+ select = ["ALL"]
57
+
58
+ ignore = [
59
+ "ANN002", # Missing type annotation for `*args`
60
+ "ANN003", # Missing type annotation for `**kwargs`
61
+ "BLE001", # Do not catch blind exception: `Exception`
62
+ "COM812", # Trailing comma missing
63
+ "D105", # Missing docstring in magic method
64
+ "D107", # Missing docstring in `__init__` method
65
+ "D202", # No blank lines allowed after function docstring
66
+ "E501", # Line too long
67
+ "FIX002", # Line contains TODO, consider resolving the issue
68
+ "I001", # Import block is un-sorted or un-formatted
69
+ "N802", # Function name `xxx` should be lowercase
70
+ "N999", # Invalid module name
71
+ "RSE102", # Unnecessary parentheses on raise exception
72
+ "S101", # Use of assert detected
73
+ "TC006", # Add quotes to type expression in `typing.cast()`
74
+ "TD002", # Missing author in TODO
75
+ "TD003", # Missing issue link for this TODO
76
+ "TRY002", # Create your own exception
77
+ "TRY300", # Consider moving this statement to an `else` block
78
+ "UP032", # Use f-string instead of `format` call
79
+ ]
80
+
81
+ [tool.ruff.lint.mccabe]
82
+ max-complexity = 15
83
+
84
+ [tool.ruff.lint.pylint]
85
+ max-args = 10
86
+ max-branches = 20
87
+ max-returns = 20
88
+
89
+ [tool.uv.build-backend]
90
+ module-name = "dbrownell_BrythonWebviewTest"
@@ -0,0 +1,11 @@
1
+ """A sample file generated by copier - this file is safe to delete."""
2
+
3
+
4
+ def Add(a: int, b: int) -> int:
5
+ """Add two numbers."""
6
+ return a + b
7
+
8
+
9
+ def Subtract(a: int, b: int) -> int:
10
+ """Subtract two numbers."""
11
+ return a - b
@@ -0,0 +1,6 @@
1
+ # noqa: D104
2
+
3
+ from importlib.metadata import version
4
+
5
+
6
+ __version__ = version("dbrownell_BrythonWebviewTest")