Skip to main content

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.

Source Distribution

fx_lib-0.5.0.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

fx_lib-0.5.0-py2.py3-none-any.whl (8.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file fx_lib-0.5.0.tar.gz.

File metadata

  • Download URL: fx_lib-0.5.0.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for fx_lib-0.5.0.tar.gz
Algorithm Hash digest
SHA256 679b18ee96f416bf980afe1f578b6ad191a6bba19634e9b490ce7345a5702e25
MD5 7654ef30a06a4856f3ea20a79dccee99
BLAKE2b-256 7ff34b27aff5ec8719fac351c8cbfa2989b86559071f61fe21473d63d9e24e00

See more details on using hashes here.

File details

Details for the file fx_lib-0.5.0-py2.py3-none-any.whl.

File metadata

  • Download URL: fx_lib-0.5.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for fx_lib-0.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5d5eceba04868d1e0f7e27b3456793b0a73ea5962e44b6f9e344e88c109bb1f2
MD5 c39e4e006d4e0e47d109516ef7583f34
BLAKE2b-256 000e6605a95e918cf6f24e0bbadd312ad2a870806287f729a4c7be0800ae2334

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page