======
fx-lib
======
Frank Xu(FX)'s personal FX common lib in Python
Install
--------
.. code-block:: bash
pip install git+https://github.com/frankyxhl/py_fx_lib
or
.. code-block:: bash
pip install fx-lib
Log Module
----------
.. code-block:: python
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
------------
.. code-block:: python
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 <docs/log_config_example.yaml>`_
=======
History
=======
0.1.0 (2019-07-28)
------------------
* First release on PyPI.
Raw data
{
"_id": null,
"home_page": "https://github.com/frankyxhl/py_fx_lib",
"name": "fx-lib",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "fx_lib",
"author": "Frank Xu",
"author_email": "frank@frankxu.me",
"download_url": "https://files.pythonhosted.org/packages/7f/f3/4b27aff5ec8719fac351c8cbfa2989b86559071f61fe21473d63d9e24e00/fx_lib-0.5.0.tar.gz",
"platform": null,
"description": "======\nfx-lib\n======\n\n\nFrank Xu(FX)'s personal FX common lib in Python\n\n\n\nInstall\n--------\n\n .. code-block:: bash\n\n pip install git+https://github.com/frankyxhl/py_fx_lib\n\n or\n\n .. code-block:: bash\n\n pip install fx-lib\n\n\n\nLog Module\n----------\n\n .. code-block:: python\n\n import logging\n from fx_lib.log import setup_logging\n\n setup_logging(\".sync.logging.yaml\", default_level=logging.DEBUG)\n log = logging.getLogger(\"frank\")\n\n # Usage\n # log.info(\"Hello, World\")\n\n\n\nEmail Module\n------------\n\n .. code-block:: python\n\n from fx_lib.zoho_email import Email\n\n # Usage\n # with Email.read_config() as e:\n # e.send(\"Email Title\", \"Content\")\n\n\n\nExample\n**********************\nPlease check here `Config example file <docs/log_config_example.yaml>`_\n\n\n=======\nHistory\n=======\n\n0.1.0 (2019-07-28)\n------------------\n\n* First release on PyPI.\n",
"bugtrack_url": null,
"license": "",
"summary": "FX's personal common lib",
"version": "0.5.0",
"project_urls": {
"Homepage": "https://github.com/frankyxhl/py_fx_lib"
},
"split_keywords": [
"fx_lib"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "000e6605a95e918cf6f24e0bbadd312ad2a870806287f729a4c7be0800ae2334",
"md5": "c39e4e006d4e0e47d109516ef7583f34",
"sha256": "5d5eceba04868d1e0f7e27b3456793b0a73ea5962e44b6f9e344e88c109bb1f2"
},
"downloads": -1,
"filename": "fx_lib-0.5.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "c39e4e006d4e0e47d109516ef7583f34",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 7989,
"upload_time": "2023-06-20T16:16:19",
"upload_time_iso_8601": "2023-06-20T16:16:19.301610Z",
"url": "https://files.pythonhosted.org/packages/00/0e/6605a95e918cf6f24e0bbadd312ad2a870806287f729a4c7be0800ae2334/fx_lib-0.5.0-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7ff34b27aff5ec8719fac351c8cbfa2989b86559071f61fe21473d63d9e24e00",
"md5": "7654ef30a06a4856f3ea20a79dccee99",
"sha256": "679b18ee96f416bf980afe1f578b6ad191a6bba19634e9b490ce7345a5702e25"
},
"downloads": -1,
"filename": "fx_lib-0.5.0.tar.gz",
"has_sig": false,
"md5_digest": "7654ef30a06a4856f3ea20a79dccee99",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 12457,
"upload_time": "2023-06-20T16:16:20",
"upload_time_iso_8601": "2023-06-20T16:16:20.725633Z",
"url": "https://files.pythonhosted.org/packages/7f/f3/4b27aff5ec8719fac351c8cbfa2989b86559071f61fe21473d63d9e24e00/fx_lib-0.5.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-20 16:16:20",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "frankyxhl",
"github_project": "py_fx_lib",
"travis_ci": true,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "fx-lib"
}