Buckets:

download
raw
804 Bytes
from __future__ import annotations
class Determiner:
s: str
supports_title: bool
def __init__(self, s: str, supports_title: bool = True) -> None:
self.s = s
self.supports_title = supports_title
def __format__(self, format_spec: str) -> str:
return self.s.__format__(format_spec)
@property
def title(self) -> str:
if self.supports_title:
return self.s.title()
else:
return self.s
@property
def capitalize(self) -> str:
return self.s.capitalize()
@property
def capitalize_title(self) -> str:
return self.title.capitalize()
@property
def upper(self) -> str:
return self.s.upper()
@property
def upper_title(self) -> str:
return self.title.upper()

Xet Storage Details

Size:
804 Bytes
·
Xet hash:
22dd8587d75ce3562774587b90c901c19347a1807076edbe142bf5dc6bb4c2b3

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.