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.1.tar.gz (24.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.1-py2.py3-none-any.whl (12.9 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: fx_lib-0.5.1.tar.gz
  • Upload date:
  • Size: 24.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.1.tar.gz
Algorithm Hash digest
SHA256 9c62ec76ccc8e36c20c0d699a6252a53c320e8ad2ddd9ea2340a52cad3f52616
MD5 bc05fd85f88714bdf50dff6e21ac621d
BLAKE2b-256 d28753b93b5997a912cd63ab2cb638f378f95a5f51ed00845bea20a10ba2194f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fx_lib-0.5.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 12.9 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.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d1d75ce07f78abef7122dd78ee32f9d580aa3d436faf07e852fb9809291ed873
MD5 f64d6bfa0c69ee63a395eea4268b37fa
BLAKE2b-256 8ab5f0d88fbe9283c85a245e8da8a5abcf6670c4a7d563c59e5baf90b827bc22

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