Skip to main content

【唱歌log】让你的程序学会唱歌!

你看到英语标题肯定以为这是changelog,其实不是,这是chànggēlog!

它的作用是让你的程序可以一边打印log一边唱歌!

使用方法

首先你要import changgelog,并把它绑定到sys.stderr上,像这样——

import sys
import changgelog
changgelog.bind(sys.stderr)

接下来程序打印log的时候就会唱歌啦!

logging.warning('有内鬼!终止交易!')

但是记得要在没有人的时候再用!

安装方法

你只需要一台有音箱的电脑,并且安装windows和Python3.6以上版本。

接着pip install changgelog,然后你的程序就会唱歌啦!

就这样,我要回去看萝莉图片了,大家88!

Metadata

Release files for changgelog 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for changgelog 0.0.1
File Size Uploaded
changgelog-0.0.1.tar.gz 1.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for changgelog 0.0.1
File Interpreter ABI Platform
changgelog-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 4.0 kB

Release files / changgelog-0.0.1.tar.gz

Download URL changgelog-0.0.1.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3b44226ca691eaa9af481290ff4c83dd37957ef851ab1c66f9b3933d08280775
BLAKE2b-256 checksum
How to use checksums
bbe327608fc2c862fd8f60076f3b94a35d7a0c69db2d0b25965e28b4ed8eae00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

Release files / changgelog-0.0.1-py3-none-any.whl

Download URL changgelog-0.0.1-py3-none-any.whl
Size 2.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
af033985245be4ac431fe02fcfb70d579533c7d375620bedec5d1156238a96a2
BLAKE2b-256 checksum
How to use checksums
3fcd078acc9e06653bd1e9856ded08e9c1fa6e927156ebb97befa67a5732a933
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page