pure-interface 8.0.4__tar.gz → 8.3.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.
- {pure_interface-8.0.4 → pure_interface-8.3.0}/LICENSE +21 -21
- {pure_interface-8.0.4 → pure_interface-8.3.0}/PKG-INFO +4 -4
- {pure_interface-8.0.4 → pure_interface-8.3.0}/README.rst +1 -1
- {pure_interface-8.0.4 → pure_interface-8.3.0}/pure_interface/__init__.py +1 -1
- {pure_interface-8.0.4 → pure_interface-8.3.0}/pure_interface/interface.py +901 -880
- {pure_interface-8.0.4 → pure_interface-8.3.0}/pure_interface.egg-info/PKG-INFO +4 -4
- {pure_interface-8.0.4 → pure_interface-8.3.0}/pure_interface.egg-info/SOURCES.txt +1 -0
- {pure_interface-8.0.4 → pure_interface-8.3.0}/pyproject.toml +73 -73
- {pure_interface-8.0.4 → pure_interface-8.3.0}/tests/test_adapt_args_anno.py +171 -171
- {pure_interface-8.0.4 → pure_interface-8.3.0}/tests/test_adapt_args_no_anno.py +125 -125
- pure_interface-8.3.0/tests/test_adapt_call.py +48 -0
- {pure_interface-8.0.4 → pure_interface-8.3.0}/tests/test_func_sigs3.py +193 -193
- {pure_interface-8.0.4 → pure_interface-8.3.0}/tests/test_tracker.py +113 -113
- {pure_interface-8.0.4 → pure_interface-8.3.0}/pure_interface/_sub_interface.py +0 -0
- {pure_interface-8.0.4 → pure_interface-8.3.0}/pure_interface/adaption.py +0 -0
- {pure_interface-8.0.4 → pure_interface-8.3.0}/pure_interface/delegation.py +0 -0
- {pure_interface-8.0.4 → pure_interface-8.3.0}/pure_interface/errors.py +0 -0
- {pure_interface-8.0.4 → pure_interface-8.3.0}/pure_interface/mypy_plugin.py +0 -0
- {pure_interface-8.0.4 → pure_interface-8.3.0}/pure_interface/py.typed +0 -0
- {pure_interface-8.0.4 → pure_interface-8.3.0}/pure_interface.egg-info/dependency_links.txt +0 -0
- {pure_interface-8.0.4 → pure_interface-8.3.0}/pure_interface.egg-info/requires.txt +0 -0
- {pure_interface-8.0.4 → pure_interface-8.3.0}/pure_interface.egg-info/top_level.txt +0 -0
- {pure_interface-8.0.4 → pure_interface-8.3.0}/setup.cfg +0 -0
- {pure_interface-8.0.4 → pure_interface-8.3.0}/tests/test_adaption.py +0 -0
- {pure_interface-8.0.4 → pure_interface-8.3.0}/tests/test_dataclass_support.py +0 -0
- {pure_interface-8.0.4 → pure_interface-8.3.0}/tests/test_delegate.py +0 -0
- {pure_interface-8.0.4 → pure_interface-8.3.0}/tests/test_func_sigs_po.py +0 -0
- {pure_interface-8.0.4 → pure_interface-8.3.0}/tests/test_function_sigs.py +0 -0
- {pure_interface-8.0.4 → pure_interface-8.3.0}/tests/test_generic_support.py +0 -0
- {pure_interface-8.0.4 → pure_interface-8.3.0}/tests/test_implementation_checks.py +0 -0
- {pure_interface-8.0.4 → pure_interface-8.3.0}/tests/test_inheritance.py +0 -0
- {pure_interface-8.0.4 → pure_interface-8.3.0}/tests/test_isinstance.py +0 -0
- {pure_interface-8.0.4 → pure_interface-8.3.0}/tests/test_meta_classes.py +0 -0
- {pure_interface-8.0.4 → pure_interface-8.3.0}/tests/test_module_funcs.py +0 -0
- {pure_interface-8.0.4 → pure_interface-8.3.0}/tests/test_no_content_checks.py +0 -0
- {pure_interface-8.0.4 → pure_interface-8.3.0}/tests/test_singledispatch.py +0 -0
- {pure_interface-8.0.4 → pure_interface-8.3.0}/tests/test_sub_interfaces.py +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2020 Seequent Ltd.
|
|
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.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 Seequent Ltd.
|
|
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.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pure-interface
|
|
3
|
-
Version: 8.0
|
|
3
|
+
Version: 8.3.0
|
|
4
4
|
Summary: A Python interface library that disallows function body content on interfaces and supports adaption.
|
|
5
5
|
Author-email: Tim Mitchell <tim.mitchell@seequent.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -10,12 +10,12 @@ Keywords: interface,protocol,adaption,structural,dataclass
|
|
|
10
10
|
Classifier: Development Status :: 5 - Production/Stable
|
|
11
11
|
Classifier: Intended Audience :: Developers
|
|
12
12
|
Classifier: Topic :: Software Development :: Libraries
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.10
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.11
|
|
16
15
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
-
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
18
|
+
Requires-Python: >=3.10
|
|
19
19
|
Description-Content-Type: text/x-rst
|
|
20
20
|
License-File: LICENSE
|
|
21
21
|
Provides-Extra: dev
|
|
@@ -41,7 +41,7 @@ Features
|
|
|
41
41
|
* Allows concrete implementations the flexibility to implement abstract properties as instance attributes.
|
|
42
42
|
* ``Interface.adapt()`` can return an implementation wrapper that provides *only* the
|
|
43
43
|
attributes and methods defined by ``Interface``.
|
|
44
|
-
* Supports python 3.
|
|
44
|
+
* Supports python 3.10+
|
|
45
45
|
|
|
46
46
|
**A note on the name**
|
|
47
47
|
|
|
@@ -14,7 +14,7 @@ Features
|
|
|
14
14
|
* Allows concrete implementations the flexibility to implement abstract properties as instance attributes.
|
|
15
15
|
* ``Interface.adapt()`` can return an implementation wrapper that provides *only* the
|
|
16
16
|
attributes and methods defined by ``Interface``.
|
|
17
|
-
* Supports python 3.
|
|
17
|
+
* Supports python 3.10+
|
|
18
18
|
|
|
19
19
|
**A note on the name**
|
|
20
20
|
|
|
@@ -19,4 +19,4 @@ from .interface import (
|
|
|
19
19
|
type_is_interface,
|
|
20
20
|
)
|
|
21
21
|
|
|
22
|
-
__version__ = "8.0
|
|
22
|
+
__version__ = "8.3.0" # Don't change this manually - run `bump-my-version bump [major|minor|patch]` instead
|