Skip to main content

一个简单易用的 Python 库,让写代码成为一件轻松、愉快的事情。

Project description

happy-python

Happy-Python 是一个简单易用的 Python 库,让写代码成为一件轻松、愉快的事情。

从 pip 安装

pip install happy-python

单元测试

基于 test 文件夹中的 \\__init__.py -> load_tests 自动发现:

python -m unittest tests

使用方法

使用

比如:

from happy_python import HappyLog

本地打包安装

打包

安装依赖包:

pip install -U setuptools wheel

运行:

python setup.py bdist_wheel

dist 目录下会生成类似 happy_python-0.2.6-py3-none-any.whl 的安装包。

本地安装

全局安装:

pip install -U happy_python-0.2.6-py3-none-any.whl

用户目录安装:

pip install --user -U happy_python-0.2.6-py3-none-any.whl

卸载

pip uninstall happy-python

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

happy_python-0.3.3-py3-none-any.whl (23.0 kB view hashes)

Uploaded Python 3

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