named
Advanced tools
@@ -26,3 +26,3 @@ """Named types. | ||
| __license__ = "MIT" | ||
| __version__ = "1.3.0" | ||
| __version__ = "1.4.0" | ||
@@ -29,0 +29,0 @@ from named.core import ( |
+2
-2
| from builtins import hasattr as has_attribute | ||
| from typing import Any | ||
| from typing import Any, Protocol, runtime_checkable | ||
| from typing_extensions import Protocol, TypeGuard, runtime_checkable | ||
| from typing_extensions import TypeGuard | ||
@@ -6,0 +6,0 @@ __all__ = ( |
+9
-9
| Metadata-Version: 2.1 | ||
| Name: named | ||
| Version: 1.3.0 | ||
| Version: 1.4.0 | ||
| Summary: Named types. | ||
@@ -9,3 +9,3 @@ Home-page: https://github.com/nekitdev/named | ||
| Author: nekitdev | ||
| Requires-Python: >=3.7 | ||
| Requires-Python: >=3.8 | ||
| Classifier: Development Status :: 5 - Production/Stable | ||
@@ -16,3 +16,2 @@ Classifier: Intended Audience :: Developers | ||
| Classifier: Programming Language :: Python :: 3 | ||
| Classifier: Programming Language :: Python :: 3.7 | ||
| Classifier: Programming Language :: Python :: 3.8 | ||
@@ -22,8 +21,9 @@ Classifier: Programming Language :: Python :: 3.9 | ||
| Classifier: Programming Language :: Python :: 3.11 | ||
| Classifier: Programming Language :: Python :: 3.12 | ||
| Classifier: Topic :: Utilities | ||
| Classifier: Typing :: Typed | ||
| Requires-Dist: typing-extensions (>=4.5.0) | ||
| Requires-Dist: typing-extensions (>=4.9.0,<5.0.0) | ||
| Project-URL: Chat, https://nekit.dev/chat | ||
| Project-URL: Documentation, https://nekitdev.github.io/named | ||
| Project-URL: Discord, https://nekit.dev/discord | ||
| Project-URL: Funding, https://patreon.com/nekitdev | ||
| Project-URL: Funding, https://nekit.dev/funding | ||
| Project-URL: Issues, https://github.com/nekitdev/named/issues | ||
@@ -79,3 +79,3 @@ Project-URL: Repository, https://github.com/nekitdev/named | ||
| [tool.poetry.dependencies] | ||
| named = "^1.3.0" | ||
| named = "^1.4.0" | ||
| ``` | ||
@@ -132,3 +132,3 @@ | ||
| [Discord]: https://nekit.dev/discord | ||
| [Discord]: https://nekit.dev/chat | ||
@@ -148,3 +148,3 @@ [Actions]: https://github.com/nekitdev/named/actions | ||
| [Discord Badge]: https://img.shields.io/badge/chat-discord-5865f2 | ||
| [Discord Badge]: https://img.shields.io/discord/728012506899021874 | ||
| [License Badge]: https://img.shields.io/pypi/l/named | ||
@@ -151,0 +151,0 @@ [Version Badge]: https://img.shields.io/pypi/v/named |
+22
-65
| [tool.poetry] | ||
| name = "named" | ||
| version = "1.3.0" | ||
| version = "1.4.0" | ||
| description = "Named types." | ||
@@ -25,4 +25,4 @@ authors = ["nekitdev"] | ||
| [tool.poetry.urls] | ||
| Discord = "https://nekit.dev/discord" | ||
| Funding = "https://patreon.com/nekitdev" | ||
| Chat = "https://nekit.dev/chat" | ||
| Funding = "https://nekit.dev/funding" | ||
| Issues = "https://github.com/nekitdev/named/issues" | ||
@@ -34,32 +34,15 @@ | ||
| [tool.poetry.dependencies] | ||
| python = ">= 3.7" | ||
| typing-extensions = ">= 4.5.0" | ||
| python = ">= 3.8" | ||
| typing-extensions = "^4.9.0" | ||
| [tool.poetry.group.format] | ||
| optional = true | ||
| [tool.poetry.group.format.dependencies] | ||
| black = "23.3.0" | ||
| flake8-pyproject = "1.2.3" | ||
| ruff = "0.2.2" | ||
| [tool.poetry.group.format.dependencies.flake8] | ||
| version = "6.0.0" | ||
| python = ">= 3.8.1" | ||
| [tool.poetry.group.format.dependencies.isort] | ||
| version = "5.12.0" | ||
| python = ">= 3.8" | ||
| [tool.poetry.group.check] | ||
| optional = true | ||
| [tool.poetry.group.check.dependencies] | ||
| mypy = "1.3.0" | ||
| mypy = "1.8.0" | ||
| [tool.poetry.group.test] | ||
| optional = true | ||
| [tool.poetry.group.test.dependencies] | ||
| pytest = "7.3.1" | ||
| pytest-cov = "4.0.0" | ||
| coverage = "7.4.3" | ||
| pytest = "8.0.2" | ||
| pytest-cov = "4.1.0" | ||
@@ -70,22 +53,18 @@ [tool.poetry.group.docs] | ||
| [tool.poetry.group.docs.dependencies] | ||
| mkdocs = "1.4.3" | ||
| mkdocs-material = "9.1.14" | ||
| mkdocs = "1.5.3" | ||
| mkdocs-material = "9.5.11" | ||
| [tool.poetry.group.docs.dependencies.mkdocstrings] | ||
| version = "0.21.2" | ||
| version = "0.24.0" | ||
| extras = ["python"] | ||
| [tool.poetry.group.dev.dependencies] | ||
| [tool.poetry.group.release] | ||
| optional = true | ||
| [tool.poetry.group.release.dependencies] | ||
| changelogging = "1.3.0" | ||
| [tool.black] | ||
| line_length = 100 | ||
| [tool.ruff] | ||
| line-length = 100 | ||
| [tool.flake8] | ||
| max_line_length = 100 | ||
| [tool.isort] | ||
| line_length = 100 | ||
| profile = "black" | ||
| [tool.pytest.ini_options] | ||
@@ -115,29 +94,7 @@ addopts = "--cov named" | ||
| [tool.mypy] | ||
| show_column_numbers = true | ||
| strict = true | ||
| disallow_any_decorated = true | ||
| disallow_any_generics = true | ||
| warn_return_any = true | ||
| no_implicit_optional = true | ||
| strict_optional = true | ||
| strict_equality = true | ||
| disallow_untyped_calls = true | ||
| disallow_untyped_defs = true | ||
| disallow_untyped_decorators = true | ||
| disallow_untyped_globals = true | ||
| disallow_incomplete_defs = true | ||
| warn_no_return = true | ||
| warn_unreachable = true | ||
| warn_redundant_casts = true | ||
| warn_unused_ignores = false # compatibility | ||
| [tool.changelogging] | ||
| name = "named" | ||
| version = "1.3.0" | ||
| version = "1.4.0" | ||
| url = "https://github.com/nekitdev/named" | ||
@@ -159,3 +116,3 @@ directory = "changes" | ||
| [build-system] | ||
| requires = ["poetry-core >= 1.5.2"] | ||
| requires = ["poetry-core >= 1.9.0"] | ||
| build-backend = "poetry.core.masonry.api" |
+3
-3
@@ -47,3 +47,3 @@ # `named` | ||
| [tool.poetry.dependencies] | ||
| named = "^1.3.0" | ||
| named = "^1.4.0" | ||
| ``` | ||
@@ -100,3 +100,3 @@ | ||
| [Discord]: https://nekit.dev/discord | ||
| [Discord]: https://nekit.dev/chat | ||
@@ -116,3 +116,3 @@ [Actions]: https://github.com/nekitdev/named/actions | ||
| [Discord Badge]: https://img.shields.io/badge/chat-discord-5865f2 | ||
| [Discord Badge]: https://img.shields.io/discord/728012506899021874 | ||
| [License Badge]: https://img.shields.io/pypi/l/named | ||
@@ -119,0 +119,0 @@ [Version Badge]: https://img.shields.io/pypi/v/named |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
15796
-4.92%