dbrownell-thelanguage 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,85 @@
1
+ Metadata-Version: 2.3
2
+ Name: dbrownell-thelanguage
3
+ Version: 0.1.0
4
+ Summary: An extremely early version of a new programming language.
5
+ Author: Dave Brownell
6
+ Author-email: Dave 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_TheLanguage
15
+ Project-URL: Documentation, https://github.com/davidbrownell/dbrownell_TheLanguage
16
+ Project-URL: Repository, https://github.com/davidbrownell/dbrownell_TheLanguage
17
+ Description-Content-Type: text/markdown
18
+
19
+ **Project:**
20
+ [![License](https://img.shields.io/github/license/davidbrownell/dbrownell_TheLanguage?color=dark-green)](https://github.com/davidbrownell/dbrownell_TheLanguage/blob/master/LICENSE)
21
+
22
+ **Package:**
23
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/dbrownell_TheLanguage?color=dark-green)](https://pypi.org/project/dbrownell_TheLanguage/)
24
+ [![PyPI - Version](https://img.shields.io/pypi/v/dbrownell_TheLanguage?color=dark-green)](https://pypi.org/project/dbrownell_TheLanguage/)
25
+ [![PyPI - Downloads](https://img.shields.io/pypi/dm/dbrownell_TheLanguage)](https://pypistats.org/packages/dbrownell-thelanguage)
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_TheLanguage/actions/workflows/CICD.yml/badge.svg)](https://github.com/davidbrownell/dbrownell_TheLanguage/actions/workflows/CICD.yml)
33
+ [![Code Coverage](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/davidbrownell/f15146b1b8fdc0a5d45ac0eb786a84f7/raw/dbrownell_TheLanguage_code_coverage.json)](https://github.com/davidbrownell/dbrownell_TheLanguage/actions)
34
+ [![GitHub commit activity](https://img.shields.io/github/commit-activity/y/davidbrownell/dbrownell_TheLanguage?color=dark-green)](https://github.com/davidbrownell/dbrownell_TheLanguage/commits/main/)
35
+
36
+ <!-- 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. -->
37
+
38
+ ## Contents
39
+ - [Overview](#overview)
40
+ - [Installation](#installation)
41
+ - [Development](#development)
42
+ - [Additional Information](#additional-information)
43
+ - [License](#license)
44
+
45
+ ## Overview
46
+ TODO: Complete this section
47
+
48
+ ### How to use `dbrownell_TheLangauge`
49
+ TODO: Complete this section
50
+
51
+ <!-- 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. -->
52
+
53
+ ## Installation
54
+
55
+ | Installation Method | Command |
56
+ | --- | --- |
57
+ | Via [uv](https://github.com/astral-sh/uv) | `uv add dbrownell_TheLanguage` |
58
+ | Via [pip](https://pip.pypa.io/en/stable/) | `pip install dbrownell_TheLanguage` |
59
+
60
+ ### Verifying Signed Artifacts
61
+ Artifacts are signed and verified using [py-minisign](https://github.com/x13a/py-minisign) and the public key in the file `./minisign_key.pub`.
62
+
63
+ To verify that an artifact is valid, visit [the latest release](https://github.com/davidbrownell/dbrownell_TheLanguage/releases/latest) and download the `.minisign` signature file that corresponds to the artifact, then run the following command, replacing `<filename>` with the name of the artifact to be verified:
64
+
65
+ ```shell
66
+ uv run --with py-minisign python -c "import minisign; minisign.PublicKey.from_file('minisign_key.pub').verify_file('<filename>'); print('The file has been verified.')"
67
+ ```
68
+
69
+ ## Development
70
+ Please visit [Contributing](https://github.com/davidbrownell/dbrownell_TheLanguage/blob/main/CONTRIBUTING.md) and [Development](https://github.com/davidbrownell/dbrownell_TheLanguage/blob/main/DEVELOPMENT.md) for information on contributing to this project.
71
+
72
+ ## Additional Information
73
+ Additional information can be found at these locations.
74
+
75
+ | Title | Document | Description |
76
+ | --- | --- | --- |
77
+ | Code of Conduct | [CODE_OF_CONDUCT.md](https://github.com/davidbrownell/dbrownell_TheLanguage/blob/main/CODE_OF_CONDUCT.md) | Information about the norms, rules, and responsibilities we adhere to when participating in this open source community. |
78
+ | Contributing | [CONTRIBUTING.md](https://github.com/davidbrownell/dbrownell_TheLanguage/blob/main/CONTRIBUTING.md) | Information about contributing to this project. |
79
+ | Development | [DEVELOPMENT.md](https://github.com/davidbrownell/dbrownell_TheLanguage/blob/main/DEVELOPMENT.md) | Information about development activities involved in making changes to this project. |
80
+ | Governance | [GOVERNANCE.md](https://github.com/davidbrownell/dbrownell_TheLanguage/blob/main/GOVERNANCE.md) | Information about how this project is governed. |
81
+ | Maintainers | [MAINTAINERS.md](https://github.com/davidbrownell/dbrownell_TheLanguage/blob/main/MAINTAINERS.md) | Information about individuals who maintain this project. |
82
+ | Security | [SECURITY.md](https://github.com/davidbrownell/dbrownell_TheLanguage/blob/main/SECURITY.md) | Information about how to privately report security issues associated with this project. |
83
+
84
+ ## License
85
+ `dbrownell_TheLangauge` is licensed under the <a href="https://choosealicense.com/licenses/MIT/" target="_blank">MIT</a> license.
@@ -0,0 +1,67 @@
1
+ **Project:**
2
+ [![License](https://img.shields.io/github/license/davidbrownell/dbrownell_TheLanguage?color=dark-green)](https://github.com/davidbrownell/dbrownell_TheLanguage/blob/master/LICENSE)
3
+
4
+ **Package:**
5
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/dbrownell_TheLanguage?color=dark-green)](https://pypi.org/project/dbrownell_TheLanguage/)
6
+ [![PyPI - Version](https://img.shields.io/pypi/v/dbrownell_TheLanguage?color=dark-green)](https://pypi.org/project/dbrownell_TheLanguage/)
7
+ [![PyPI - Downloads](https://img.shields.io/pypi/dm/dbrownell_TheLanguage)](https://pypistats.org/packages/dbrownell-thelanguage)
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_TheLanguage/actions/workflows/CICD.yml/badge.svg)](https://github.com/davidbrownell/dbrownell_TheLanguage/actions/workflows/CICD.yml)
15
+ [![Code Coverage](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/davidbrownell/f15146b1b8fdc0a5d45ac0eb786a84f7/raw/dbrownell_TheLanguage_code_coverage.json)](https://github.com/davidbrownell/dbrownell_TheLanguage/actions)
16
+ [![GitHub commit activity](https://img.shields.io/github/commit-activity/y/davidbrownell/dbrownell_TheLanguage?color=dark-green)](https://github.com/davidbrownell/dbrownell_TheLanguage/commits/main/)
17
+
18
+ <!-- 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. -->
19
+
20
+ ## Contents
21
+ - [Overview](#overview)
22
+ - [Installation](#installation)
23
+ - [Development](#development)
24
+ - [Additional Information](#additional-information)
25
+ - [License](#license)
26
+
27
+ ## Overview
28
+ TODO: Complete this section
29
+
30
+ ### How to use `dbrownell_TheLangauge`
31
+ TODO: Complete this section
32
+
33
+ <!-- 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. -->
34
+
35
+ ## Installation
36
+
37
+ | Installation Method | Command |
38
+ | --- | --- |
39
+ | Via [uv](https://github.com/astral-sh/uv) | `uv add dbrownell_TheLanguage` |
40
+ | Via [pip](https://pip.pypa.io/en/stable/) | `pip install dbrownell_TheLanguage` |
41
+
42
+ ### Verifying Signed Artifacts
43
+ Artifacts are signed and verified using [py-minisign](https://github.com/x13a/py-minisign) and the public key in the file `./minisign_key.pub`.
44
+
45
+ To verify that an artifact is valid, visit [the latest release](https://github.com/davidbrownell/dbrownell_TheLanguage/releases/latest) and download the `.minisign` signature file that corresponds to the artifact, then run the following command, replacing `<filename>` with the name of the artifact to be verified:
46
+
47
+ ```shell
48
+ uv run --with py-minisign python -c "import minisign; minisign.PublicKey.from_file('minisign_key.pub').verify_file('<filename>'); print('The file has been verified.')"
49
+ ```
50
+
51
+ ## Development
52
+ Please visit [Contributing](https://github.com/davidbrownell/dbrownell_TheLanguage/blob/main/CONTRIBUTING.md) and [Development](https://github.com/davidbrownell/dbrownell_TheLanguage/blob/main/DEVELOPMENT.md) for information on contributing to this project.
53
+
54
+ ## Additional Information
55
+ Additional information can be found at these locations.
56
+
57
+ | Title | Document | Description |
58
+ | --- | --- | --- |
59
+ | Code of Conduct | [CODE_OF_CONDUCT.md](https://github.com/davidbrownell/dbrownell_TheLanguage/blob/main/CODE_OF_CONDUCT.md) | Information about the norms, rules, and responsibilities we adhere to when participating in this open source community. |
60
+ | Contributing | [CONTRIBUTING.md](https://github.com/davidbrownell/dbrownell_TheLanguage/blob/main/CONTRIBUTING.md) | Information about contributing to this project. |
61
+ | Development | [DEVELOPMENT.md](https://github.com/davidbrownell/dbrownell_TheLanguage/blob/main/DEVELOPMENT.md) | Information about development activities involved in making changes to this project. |
62
+ | Governance | [GOVERNANCE.md](https://github.com/davidbrownell/dbrownell_TheLanguage/blob/main/GOVERNANCE.md) | Information about how this project is governed. |
63
+ | Maintainers | [MAINTAINERS.md](https://github.com/davidbrownell/dbrownell_TheLanguage/blob/main/MAINTAINERS.md) | Information about individuals who maintain this project. |
64
+ | Security | [SECURITY.md](https://github.com/davidbrownell/dbrownell_TheLanguage/blob/main/SECURITY.md) | Information about how to privately report security issues associated with this project. |
65
+
66
+ ## License
67
+ `dbrownell_TheLangauge` is licensed under the <a href="https://choosealicense.com/licenses/MIT/" target="_blank">MIT</a> license.
@@ -0,0 +1,93 @@
1
+ [project]
2
+ name = "dbrownell-thelanguage"
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 = "An extremely early version of a new programming language."
11
+ readme = "README.md"
12
+ authors = [
13
+ { name = "Dave 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_TheLanguage"
30
+ Documentation = "https://github.com/davidbrownell/dbrownell_TheLanguage"
31
+ Repository = "https://github.com/davidbrownell/dbrownell_TheLanguage"
32
+
33
+ [build-system]
34
+ requires = ["uv_build>=0.11.21,<0.12.0"]
35
+ build-backend = "uv_build"
36
+
37
+ [dependency-groups]
38
+ dev = [
39
+ "autogitsemver>=0.9.14",
40
+ "pre-commit>=4.6.0",
41
+ "py-minisign>=0.13.2",
42
+ "pytest>=9.0.3",
43
+ "pytest-cov>=7.1.0",
44
+ "ruff>=0.15.17",
45
+ "ty>=0.0.49",
46
+ ]
47
+
48
+ [tool.pytest.ini_options]
49
+ addopts = "--verbose -vv --capture=no --cov=dbrownell_TheLanguage --cov-report html --cov-report term --cov-report xml:coverage.xml --cov-fail-under=95.0"
50
+
51
+ [tool.ruff]
52
+ line-length = 110
53
+
54
+ [tool.ruff.lint]
55
+ exclude = ["tests/**"]
56
+
57
+ select = ["ALL"]
58
+
59
+ ignore = [
60
+ "ANN002", # Missing type annotation for `*args`
61
+ "ANN003", # Missing type annotation for `**kwargs`
62
+ "BLE001", # Do not catch blind exception: `Exception`
63
+ "COM812", # Trailing comma missing
64
+ "D105", # Missing docstring in magic method
65
+ "D107", # Missing docstring in `__init__` method
66
+ "D202", # No blank lines allowed after function docstring
67
+ "D203", # Incorrect blank line before class docstring
68
+ "D213", # Multi line summary second line
69
+ "E501", # Line too long
70
+ "FIX002", # Line contains TODO, consider resolving the issue
71
+ "I001", # Import block is un-sorted or un-formatted
72
+ "N802", # Function name `xxx` should be lowercase
73
+ "N999", # Invalid module name
74
+ "RSE102", # Unnecessary parentheses on raise exception
75
+ "S101", # Use of assert detected
76
+ "TC006", # Add quotes to type expression in `typing.cast()`
77
+ "TD002", # Missing author in TODO
78
+ "TD003", # Missing issue link for this TODO
79
+ "TRY002", # Create your own exception
80
+ "TRY300", # Consider moving this statement to an `else` block
81
+ "UP032", # Use f-string instead of `format` call
82
+ ]
83
+
84
+ [tool.ruff.lint.mccabe]
85
+ max-complexity = 15
86
+
87
+ [tool.ruff.lint.pylint]
88
+ max-args = 10
89
+ max-branches = 20
90
+ max-returns = 20
91
+
92
+ [tool.uv.build-backend]
93
+ module-name = "dbrownell_TheLanguage"
@@ -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_TheLanguage")