pysubtypes
Advanced tools
+1
-1
| Metadata-Version: 2.1 | ||
| Name: pysubtypes | ||
| Version: 0.3.9 | ||
| Version: 0.3.10 | ||
| Summary: Provides subclasses for common python types with additional functionality and convenience methods. | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/matthewgdv/subtypes |
| Metadata-Version: 2.1 | ||
| Name: pysubtypes | ||
| Version: 0.3.9 | ||
| Version: 0.3.10 | ||
| Summary: Provides subclasses for common python types with additional functionality and convenience methods. | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/matthewgdv/subtypes |
@@ -7,2 +7,3 @@ simplejson | ||
| clipboard | ||
| html-text | ||
| python-dateutil | ||
@@ -12,3 +13,2 @@ fuzzywuzzy | ||
| maybe-else | ||
| numpy | ||
| pandas | ||
@@ -15,0 +15,0 @@ parsedatetime |
+1
-1
| from setuptools import setup, find_packages | ||
| from os import path | ||
| __version__ = "0.3.9" | ||
| __version__ = "0.3.10" | ||
@@ -6,0 +6,0 @@ here = path.abspath(path.dirname(__file__)) |
@@ -7,2 +7,3 @@ from __future__ import annotations | ||
| from prettierfier import prettify_html | ||
| import html_text | ||
@@ -37,4 +38,4 @@ from .str import Str | ||
| def tag(self, name: str, content: str = None, / , attrs: dict = {}, **kwattrs: Any) -> Html.Tag: | ||
| tag = self.new_tag(name=name, attrs=attrs, **kwattrs) | ||
| def tag(self, name: str, content: str = None, /, attrs: dict = None, **kwattrs: Any) -> Html.Tag: | ||
| tag = self.new_tag(name=name, attrs=attrs or {}, **kwattrs) | ||
@@ -51,4 +52,8 @@ if content: | ||
| @property | ||
| def text(self) -> str: | ||
| return html_text.extract_text(str(self)) | ||
| class Tag(Tag): | ||
| def __enter__(self) -> Html: | ||
| def __enter__(self) -> Tag: | ||
| Html._stack.append(self) | ||
@@ -55,0 +60,0 @@ return self |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
122503
0.1%1750
0.23%