The collection of utility functions for hj3415
Project description
util-hj3415
util-hj3415 is the collection of utility functions.
Usage
from util_hj3415 import utils
def to_float(s) -> float:
def to_억(v) -> str:
def to_만(v) -> str:
def str_to_date(d: str) -> datetime.datetime:
def date_to_str(d: datetime.datetime) -> str:
def pick_rnd_x_code(count: int) -> list:
from util_hj3415 import noti
def mail_to(title: str, text: str, mail_addr='hj3415@hanmail.net') -> bool:
BOT_LIST = ['manager', 'dart', 'eval']
def telegram_to(botname: str, text: str, parse_html: bool = False) -> bool:
from util_hj3415 import mongo
class UnableConnectServerException(Exception):
def connect_mongo(addr: str, timeout=5) -> pymongo.MongoClient:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for util_hj3415-0.8.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a93183857605f9396df951f98937e7a1fb50f270901b7b55e79a760ec6a91e03 |
|
MD5 | 376819d4b5380511ffd6c0c7213d80be |
|
BLAKE2b-256 | cd6265015f2982683bb5201091373c1f1c7684d82ea45a06649b3b9a52fe9cff |