__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
import datetime
from typing import Final
from typing_extensions import TypeGuard, TypeIs
from pytz.tzinfo import BaseTzInfo
from .prop import vText
__all__ = ["UIDGenerator", "is_date", "is_datetime", "to_datetime", "is_pytz", "is_pytz_dt", "normalize_pytz"]
class UIDGenerator:
chars: Final[list[str]]
@staticmethod
def rnd_string(length: int = 16) -> str: ...
@staticmethod
def uid(host_name: str = "example.com", unique: str = "") -> vText: ...
def is_date(dt: datetime.date) -> bool: ... # and not datetime.date
def is_datetime(dt: datetime.date) -> TypeIs[datetime.datetime]: ...
def to_datetime(dt: datetime.date) -> datetime.datetime: ...
def is_pytz(tz: datetime.tzinfo) -> TypeIs[BaseTzInfo]: ...
def is_pytz_dt(dt: datetime.date) -> TypeGuard[datetime.datetime]: ... # and dt.tzinfo is BaseTZInfo
def normalize_pytz(dt: datetime.date) -> datetime.datetime: ...
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| timezone | Folder | 0755 |
|
|
| __init__.pyi | File | 2.33 KB | 0644 |
|
| alarms.pyi | File | 1.75 KB | 0644 |
|
| cal.pyi | File | 10.58 KB | 0644 |
|
| caselessdict.pyi | File | 2.18 KB | 0644 |
|
| parser.pyi | File | 2.38 KB | 0644 |
|
| parser_tools.pyi | File | 807 B | 0644 |
|
| prop.pyi | File | 6.9 KB | 0644 |
|
| py.typed | File | 0 B | 0644 |
|
| tools.pyi | File | 898 B | 0644 |
|
| version.pyi | File | 226 B | 0644 |
|