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.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cb7440b96ded94b6cfaa6fba65970765c2d6643e5e8b8334cb382dba451192d |
|
MD5 | 972b72f0f142c6d69fd1d1aa9eeefdb6 |
|
BLAKE2b-256 | 35a4d695e8bb5b8c80f0d18e56749cfbb45527a659b19099372f49ce5d0fec5e |