numpy-flint-arb 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,94 @@
1
+ Metadata-Version: 2.4
2
+ Name: numpy-flint-arb
3
+ Version: 1.0.0
4
+ Summary: Arbitrary precision ball arithmetic (interval arithmetic) dtype in NumPy
5
+ Author-email: 34j <34j.95a2p@simplelogin.com>
6
+ License-Expression: MIT
7
+ Project-URL: Bug Tracker, https://github.com/34j/numpy-flint-arb/issues
8
+ Project-URL: Changelog, https://github.com/34j/numpy-flint-arb/blob/main/CHANGELOG.md
9
+ Project-URL: documentation, https://numpy-flint-arb.readthedocs.io
10
+ Project-URL: repository, https://github.com/34j/numpy-flint-arb
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.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Programming Language :: Python :: 3.14
20
+ Classifier: Topic :: Software Development :: Libraries
21
+ Requires-Python: >=3.10
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+ Dynamic: license-file
25
+
26
+ # numpy-flint-arb
27
+
28
+ <p align="center">
29
+ <a href="https://github.com/34j/numpy-flint-arb/actions/workflows/ci.yml?query=branch%3Amain">
30
+ <img src="https://img.shields.io/github/actions/workflow/status/34j/numpy-flint-arb/ci.yml?branch=main&label=CI&logo=github&style=flat-square" alt="CI Status" >
31
+ </a>
32
+ <a href="https://numpy-flint-arb.readthedocs.io">
33
+ <img src="https://img.shields.io/readthedocs/numpy-flint-arb.svg?logo=read-the-docs&logoColor=fff&style=flat-square" alt="Documentation Status">
34
+ </a>
35
+ <a href="https://codecov.io/gh/34j/numpy-flint-arb">
36
+ <img src="https://img.shields.io/codecov/c/github/34j/numpy-flint-arb.svg?logo=codecov&logoColor=fff&style=flat-square" alt="Test coverage percentage">
37
+ </a>
38
+ </p>
39
+ <p align="center">
40
+ <a href="https://github.com/astral-sh/uv">
41
+ <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json" alt="uv">
42
+ </a>
43
+ <a href="https://github.com/astral-sh/ruff">
44
+ <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff">
45
+ </a>
46
+ <a href="https://github.com/pre-commit/pre-commit">
47
+ <img src="https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=flat-square" alt="pre-commit">
48
+ </a>
49
+ </p>
50
+ <p align="center">
51
+ <a href="https://pypi.org/project/numpy-flint-arb/">
52
+ <img src="https://img.shields.io/pypi/v/numpy-flint-arb.svg?logo=python&logoColor=fff&style=flat-square" alt="PyPI Version">
53
+ </a>
54
+ <img src="https://img.shields.io/pypi/pyversions/numpy-flint-arb.svg?style=flat-square&logo=python&amp;logoColor=fff" alt="Supported Python versions">
55
+ <img src="https://img.shields.io/pypi/l/numpy-flint-arb.svg?style=flat-square" alt="License">
56
+ </p>
57
+
58
+ ---
59
+
60
+ **Documentation**: <a href="https://numpy-flint-arb.readthedocs.io" target="_blank">https://numpy-flint-arb.readthedocs.io </a>
61
+
62
+ **Source Code**: <a href="https://github.com/34j/numpy-flint-arb" target="_blank">https://github.com/34j/numpy-flint-arb </a>
63
+
64
+ ---
65
+
66
+ Arbitrary precision ball arithmetic (interval arithmetic) dtype in NumPy
67
+
68
+ ## Installation
69
+
70
+ Install this via pip (or your favourite package manager):
71
+
72
+ `pip install numpy-flint-arb`
73
+
74
+ ## Contributors ✨
75
+
76
+ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
77
+
78
+ <!-- prettier-ignore-start -->
79
+ <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
80
+ <!-- markdownlint-disable -->
81
+ <!-- markdownlint-enable -->
82
+ <!-- ALL-CONTRIBUTORS-LIST:END -->
83
+ <!-- prettier-ignore-end -->
84
+
85
+ This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
86
+
87
+ ## Credits
88
+
89
+ [![Copier](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-grayscale-inverted-border-orange.json)](https://github.com/copier-org/copier)
90
+
91
+ This package was created with
92
+ [Copier](https://copier.readthedocs.io/) and the
93
+ [browniebroke/pypackage-template](https://github.com/browniebroke/pypackage-template)
94
+ project template.
@@ -0,0 +1,69 @@
1
+ # numpy-flint-arb
2
+
3
+ <p align="center">
4
+ <a href="https://github.com/34j/numpy-flint-arb/actions/workflows/ci.yml?query=branch%3Amain">
5
+ <img src="https://img.shields.io/github/actions/workflow/status/34j/numpy-flint-arb/ci.yml?branch=main&label=CI&logo=github&style=flat-square" alt="CI Status" >
6
+ </a>
7
+ <a href="https://numpy-flint-arb.readthedocs.io">
8
+ <img src="https://img.shields.io/readthedocs/numpy-flint-arb.svg?logo=read-the-docs&logoColor=fff&style=flat-square" alt="Documentation Status">
9
+ </a>
10
+ <a href="https://codecov.io/gh/34j/numpy-flint-arb">
11
+ <img src="https://img.shields.io/codecov/c/github/34j/numpy-flint-arb.svg?logo=codecov&logoColor=fff&style=flat-square" alt="Test coverage percentage">
12
+ </a>
13
+ </p>
14
+ <p align="center">
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/pre-commit/pre-commit">
22
+ <img src="https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=flat-square" alt="pre-commit">
23
+ </a>
24
+ </p>
25
+ <p align="center">
26
+ <a href="https://pypi.org/project/numpy-flint-arb/">
27
+ <img src="https://img.shields.io/pypi/v/numpy-flint-arb.svg?logo=python&logoColor=fff&style=flat-square" alt="PyPI Version">
28
+ </a>
29
+ <img src="https://img.shields.io/pypi/pyversions/numpy-flint-arb.svg?style=flat-square&logo=python&amp;logoColor=fff" alt="Supported Python versions">
30
+ <img src="https://img.shields.io/pypi/l/numpy-flint-arb.svg?style=flat-square" alt="License">
31
+ </p>
32
+
33
+ ---
34
+
35
+ **Documentation**: <a href="https://numpy-flint-arb.readthedocs.io" target="_blank">https://numpy-flint-arb.readthedocs.io </a>
36
+
37
+ **Source Code**: <a href="https://github.com/34j/numpy-flint-arb" target="_blank">https://github.com/34j/numpy-flint-arb </a>
38
+
39
+ ---
40
+
41
+ Arbitrary precision ball arithmetic (interval arithmetic) dtype in NumPy
42
+
43
+ ## Installation
44
+
45
+ Install this via pip (or your favourite package manager):
46
+
47
+ `pip install numpy-flint-arb`
48
+
49
+ ## Contributors ✨
50
+
51
+ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
52
+
53
+ <!-- prettier-ignore-start -->
54
+ <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
55
+ <!-- markdownlint-disable -->
56
+ <!-- markdownlint-enable -->
57
+ <!-- ALL-CONTRIBUTORS-LIST:END -->
58
+ <!-- prettier-ignore-end -->
59
+
60
+ This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
61
+
62
+ ## Credits
63
+
64
+ [![Copier](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-grayscale-inverted-border-orange.json)](https://github.com/copier-org/copier)
65
+
66
+ This package was created with
67
+ [Copier](https://copier.readthedocs.io/) and the
68
+ [browniebroke/pypackage-template](https://github.com/browniebroke/pypackage-template)
69
+ project template.
@@ -0,0 +1,170 @@
1
+ [build-system]
2
+ build-backend = "setuptools.build_meta"
3
+ requires = [ "setuptools>=77.0.3" ]
4
+
5
+ [project]
6
+ name = "numpy-flint-arb"
7
+ version = "1.0.0"
8
+ description = "Arbitrary precision ball arithmetic (interval arithmetic) dtype in NumPy"
9
+ readme = "README.md"
10
+ license = "MIT"
11
+ authors = [
12
+ { name = "34j", email = "34j.95a2p@simplelogin.com" },
13
+ ]
14
+ requires-python = ">=3.10"
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.10",
21
+ "Programming Language :: Python :: 3.11",
22
+ "Programming Language :: Python :: 3.12",
23
+ "Programming Language :: Python :: 3.13",
24
+ "Programming Language :: Python :: 3.14",
25
+ "Topic :: Software Development :: Libraries",
26
+ ]
27
+
28
+ dependencies = [
29
+ ]
30
+ urls."Bug Tracker" = "https://github.com/34j/numpy-flint-arb/issues"
31
+ urls.Changelog = "https://github.com/34j/numpy-flint-arb/blob/main/CHANGELOG.md"
32
+ urls.documentation = "https://numpy-flint-arb.readthedocs.io"
33
+ urls.repository = "https://github.com/34j/numpy-flint-arb"
34
+
35
+ [dependency-groups]
36
+ dev = [
37
+ "coverage",
38
+ "pytest>=8,<9",
39
+ "pytest-cov>=6,<7",
40
+ ]
41
+ docs = [
42
+ "furo>=2023.5.20; python_version>='3.11'",
43
+ "myst-parser>=0.16; python_version>='3.11'",
44
+ "sphinx>=4; python_version>='3.11'",
45
+ "sphinx-autobuild>=2024,<2025; python_version>='3.11'",
46
+ ]
47
+
48
+ [tool.ruff]
49
+ line-length = 88
50
+ lint.select = [
51
+ "B", # flake8-bugbear
52
+ "D", # flake8-docstrings
53
+ "C4", # flake8-comprehensions
54
+ "S", # flake8-bandit
55
+ "F", # pyflake
56
+ "E", # pycodestyle
57
+ "W", # pycodestyle
58
+ "UP", # pyupgrade
59
+ "I", # isort
60
+ "RUF", # ruff specific
61
+ ]
62
+ lint.ignore = [
63
+ "D203", # 1 blank line required before class docstring
64
+ "D212", # Multi-line docstring summary should start at the first line
65
+ "D100", # Missing docstring in public module
66
+ "D104", # Missing docstring in public package
67
+ "D107", # Missing docstring in `__init__`
68
+ "D401", # First line of docstring should be in imperative mood
69
+ ]
70
+ lint.per-file-ignores."conftest.py" = [ "D100" ]
71
+ lint.per-file-ignores."docs/conf.py" = [ "D100" ]
72
+ lint.per-file-ignores."setup.py" = [ "D100" ]
73
+ lint.per-file-ignores."tests/**/*" = [
74
+ "D100",
75
+ "D101",
76
+ "D102",
77
+ "D103",
78
+ "D104",
79
+ "S101",
80
+ ]
81
+ lint.isort.known-first-party = [ "numpy_flint_arb", "tests" ]
82
+
83
+ [tool.pyproject-fmt]
84
+ max_supported_python = "3.14"
85
+
86
+ [tool.pytest.ini_options]
87
+ addopts = """\
88
+ -v
89
+ -Wdefault
90
+ --cov=numpy_flint_arb
91
+ --cov-report=term
92
+ --cov-report=xml
93
+ """
94
+ pythonpath = [ "src" ]
95
+
96
+ [tool.coverage.run]
97
+ branch = true
98
+
99
+ [tool.coverage.paths]
100
+ source = [
101
+ "src",
102
+ ".tox/**/site-packages",
103
+ ]
104
+
105
+ [tool.coverage.report]
106
+ exclude_lines = [
107
+ "pragma: no cover",
108
+ "@overload",
109
+ "if TYPE_CHECKING",
110
+ "raise NotImplementedError",
111
+ 'if __name__ == "__main__":',
112
+ ]
113
+
114
+ [tool.mypy]
115
+ check_untyped_defs = true
116
+ disallow_any_generics = true
117
+ disallow_incomplete_defs = true
118
+ disallow_untyped_defs = true
119
+ mypy_path = "src/"
120
+ no_implicit_optional = true
121
+ show_error_codes = true
122
+ warn_unreachable = true
123
+ warn_unused_ignores = true
124
+ exclude = [
125
+ 'docs/.*',
126
+ 'setup.py',
127
+ ]
128
+
129
+ [[tool.mypy.overrides]]
130
+ module = "tests.*"
131
+ allow_untyped_defs = true
132
+
133
+ [[tool.mypy.overrides]]
134
+ module = "docs.*"
135
+ ignore_errors = true
136
+
137
+ [tool.semantic_release]
138
+ version_toml = [ "pyproject.toml:project.version" ]
139
+ version_variables = [
140
+ "src/numpy_flint_arb/__init__.py:__version__",
141
+ "docs/conf.py:release",
142
+ ]
143
+ build_command = """
144
+ pip install uv
145
+ uv lock
146
+ git add uv.lock
147
+ uv build
148
+ """
149
+
150
+ [tool.semantic_release.changelog]
151
+ exclude_commit_patterns = [
152
+ '''chore(?:\([^)]*?\))?: .+''',
153
+ '''ci(?:\([^)]*?\))?: .+''',
154
+ '''refactor(?:\([^)]*?\))?: .+''',
155
+ '''style(?:\([^)]*?\))?: .+''',
156
+ '''test(?:\([^)]*?\))?: .+''',
157
+ '''build\((?!deps\): .+)''',
158
+ '''Merged? .*''',
159
+ '''Initial [Cc]ommit.*''', # codespell:ignore
160
+ ]
161
+
162
+ [tool.semantic_release.changelog.environment]
163
+ keep_trailing_newline = true
164
+
165
+ [tool.semantic_release.branches.main]
166
+ match = "main"
167
+
168
+ [tool.semantic_release.branches.noop]
169
+ match = "(?!main$)"
170
+ prerelease = 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,3 @@
1
+ def add(n1: int, n2: int) -> int:
2
+ """Add the arguments."""
3
+ return n1 + n2
File without changes
@@ -0,0 +1,94 @@
1
+ Metadata-Version: 2.4
2
+ Name: numpy-flint-arb
3
+ Version: 1.0.0
4
+ Summary: Arbitrary precision ball arithmetic (interval arithmetic) dtype in NumPy
5
+ Author-email: 34j <34j.95a2p@simplelogin.com>
6
+ License-Expression: MIT
7
+ Project-URL: Bug Tracker, https://github.com/34j/numpy-flint-arb/issues
8
+ Project-URL: Changelog, https://github.com/34j/numpy-flint-arb/blob/main/CHANGELOG.md
9
+ Project-URL: documentation, https://numpy-flint-arb.readthedocs.io
10
+ Project-URL: repository, https://github.com/34j/numpy-flint-arb
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.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Programming Language :: Python :: 3.14
20
+ Classifier: Topic :: Software Development :: Libraries
21
+ Requires-Python: >=3.10
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+ Dynamic: license-file
25
+
26
+ # numpy-flint-arb
27
+
28
+ <p align="center">
29
+ <a href="https://github.com/34j/numpy-flint-arb/actions/workflows/ci.yml?query=branch%3Amain">
30
+ <img src="https://img.shields.io/github/actions/workflow/status/34j/numpy-flint-arb/ci.yml?branch=main&label=CI&logo=github&style=flat-square" alt="CI Status" >
31
+ </a>
32
+ <a href="https://numpy-flint-arb.readthedocs.io">
33
+ <img src="https://img.shields.io/readthedocs/numpy-flint-arb.svg?logo=read-the-docs&logoColor=fff&style=flat-square" alt="Documentation Status">
34
+ </a>
35
+ <a href="https://codecov.io/gh/34j/numpy-flint-arb">
36
+ <img src="https://img.shields.io/codecov/c/github/34j/numpy-flint-arb.svg?logo=codecov&logoColor=fff&style=flat-square" alt="Test coverage percentage">
37
+ </a>
38
+ </p>
39
+ <p align="center">
40
+ <a href="https://github.com/astral-sh/uv">
41
+ <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json" alt="uv">
42
+ </a>
43
+ <a href="https://github.com/astral-sh/ruff">
44
+ <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff">
45
+ </a>
46
+ <a href="https://github.com/pre-commit/pre-commit">
47
+ <img src="https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=flat-square" alt="pre-commit">
48
+ </a>
49
+ </p>
50
+ <p align="center">
51
+ <a href="https://pypi.org/project/numpy-flint-arb/">
52
+ <img src="https://img.shields.io/pypi/v/numpy-flint-arb.svg?logo=python&logoColor=fff&style=flat-square" alt="PyPI Version">
53
+ </a>
54
+ <img src="https://img.shields.io/pypi/pyversions/numpy-flint-arb.svg?style=flat-square&logo=python&amp;logoColor=fff" alt="Supported Python versions">
55
+ <img src="https://img.shields.io/pypi/l/numpy-flint-arb.svg?style=flat-square" alt="License">
56
+ </p>
57
+
58
+ ---
59
+
60
+ **Documentation**: <a href="https://numpy-flint-arb.readthedocs.io" target="_blank">https://numpy-flint-arb.readthedocs.io </a>
61
+
62
+ **Source Code**: <a href="https://github.com/34j/numpy-flint-arb" target="_blank">https://github.com/34j/numpy-flint-arb </a>
63
+
64
+ ---
65
+
66
+ Arbitrary precision ball arithmetic (interval arithmetic) dtype in NumPy
67
+
68
+ ## Installation
69
+
70
+ Install this via pip (or your favourite package manager):
71
+
72
+ `pip install numpy-flint-arb`
73
+
74
+ ## Contributors ✨
75
+
76
+ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
77
+
78
+ <!-- prettier-ignore-start -->
79
+ <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
80
+ <!-- markdownlint-disable -->
81
+ <!-- markdownlint-enable -->
82
+ <!-- ALL-CONTRIBUTORS-LIST:END -->
83
+ <!-- prettier-ignore-end -->
84
+
85
+ This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
86
+
87
+ ## Credits
88
+
89
+ [![Copier](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-grayscale-inverted-border-orange.json)](https://github.com/copier-org/copier)
90
+
91
+ This package was created with
92
+ [Copier](https://copier.readthedocs.io/) and the
93
+ [browniebroke/pypackage-template](https://github.com/browniebroke/pypackage-template)
94
+ project template.
@@ -0,0 +1,11 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ src/numpy_flint_arb/__init__.py
5
+ src/numpy_flint_arb/main.py
6
+ src/numpy_flint_arb/py.typed
7
+ src/numpy_flint_arb.egg-info/PKG-INFO
8
+ src/numpy_flint_arb.egg-info/SOURCES.txt
9
+ src/numpy_flint_arb.egg-info/dependency_links.txt
10
+ src/numpy_flint_arb.egg-info/top_level.txt
11
+ tests/test_main.py
@@ -0,0 +1 @@
1
+ numpy_flint_arb
@@ -0,0 +1,6 @@
1
+ from numpy_flint_arb.main import add
2
+
3
+
4
+ def test_add():
5
+ """Adding two number works as expected."""
6
+ assert add(1, 1) == 2