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

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

happy_python-0.3.0-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file happy_python-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: happy_python-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.8.3 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.10.5

File hashes

Hashes for happy_python-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 049645c7479a87a6e6f82bfded05569fb1f50254740b453c86708b80a955e593
MD5 a5368fbffc35e14aa739e4e2da577044
BLAKE2b-256 13cb7bc738bcbaa483b3e0c6d60a770bb316990aff8601c9d8676e562049a5b7

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