一个简单易用的 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
Release history Release notifications | RSS feed
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
Close
Hashes for happy_python-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 049645c7479a87a6e6f82bfded05569fb1f50254740b453c86708b80a955e593 |
|
MD5 | a5368fbffc35e14aa739e4e2da577044 |
|
BLAKE2b-256 | 13cb7bc738bcbaa483b3e0c6d60a770bb316990aff8601c9d8676e562049a5b7 |