You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

pysubtypes

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pysubtypes - pypi Package Compare versions

Comparing version
0.3.9
to
0.3.10
+1
-1
PKG-INFO
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

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