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.2.tar.gz (27.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fx_lib-0.5.2-py2.py3-none-any.whl (13.8 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: fx_lib-0.5.2.tar.gz
  • Upload date:
  • Size: 27.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fx_lib-0.5.2.tar.gz
Algorithm Hash digest
SHA256 437ca5c6d4c45dd41362be8029eab3f38b529eac7087ce4eed2046cccf97736f
MD5 961613de340bf223b08fc363ca97670f
BLAKE2b-256 f7ad001308152bfd7235cbfaf946a395190993b185c4661c2642f7d8d6a5ae5e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fx_lib-0.5.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fx_lib-0.5.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fa4acb0c8254703a96c546b2412a8761c205910f623a612fe3eb8dfe8dc93fb5
MD5 869d52d0d804db82fca6434793710612
BLAKE2b-256 62beba6034d59d02d392b20bbcdd5696f2de46dce70e5c194085459c066a7de1

See more details on using hashes here.

Supported by

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