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.7.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d0ba18399df46a4029318f3e690c7a0124f84dbf3656ef05cd41dd711c81997 |
|
MD5 | f692f0bb451f651266b21eba8ee26d66 |
|
BLAKE2b-256 | f45eb455bbb2a654e4ea454f1c291b82cd8053a22e2c8f6fe874a20928e74afd |