FX's personal common lib
Project description
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
History
0.1.0 (2019-07-28)
First release on PyPI.
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
fx_lib-0.3.3.tar.gz
(12.6 kB
view hashes)
Built Distribution
Close
Hashes for fx_lib-0.3.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1017b58263f0df7e9ab5556a0ce594f6dff65d8511fe003b715fa3181be4b20 |
|
MD5 | 0d26dd343182b5f9025c2a75937b05ab |
|
BLAKE2b-256 | f233b7c3c7668f775949bb8f36f57bb6b4a96c4fca79cc32c1a7a2381dd35059 |