Skip to content

frankyxhl/fx_lib

Repository files navigation

fx-lib

Frank Xu(FX)'s personal FX common lib in Python

Install

pip install git+https://github.com/frankyxhl/py_fx_lib

or

pip install fx-lib

Log Module

import logging
from fx_lib.log import setup_logging

setup_logging(".sync.logging.yaml", default_level=logging.DEBUG)
log = logging.getLogger("frank")

# Usage
# log.info("Hello, World")

Email Module

from fx_lib.zoho_email import Email

# Usage
# with Email.read_config() as e:
#     e.send("Email Title", "Content")

Example

Please check here Config example file

About

Personal common lib

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published