Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for fx-lib, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size fx_lib-0.2.2-py2.py3-none-any.whl (7.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size fx_lib-0.2.2.tar.gz (11.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page