From d70ba53b9d347562a5ba947e9c2d682d69a53939 Mon Sep 17 00:00:00 2001 From: guanjihuan Date: Sun, 14 Jan 2024 07:46:12 +0800 Subject: [PATCH] 0.1.78 --- PyPI/setup.cfg | 2 +- PyPI/src/guan.egg-info/PKG-INFO | 2 +- PyPI/src/guan/others.py | 5 ----- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/PyPI/setup.cfg b/PyPI/setup.cfg index a9e9757..3d1f7aa 100644 --- a/PyPI/setup.cfg +++ b/PyPI/setup.cfg @@ -1,7 +1,7 @@ [metadata] # replace with your username: name = guan -version = 0.1.77 +version = 0.1.78 author = guanjihuan author_email = guanjihuan@163.com description = An open source python package diff --git a/PyPI/src/guan.egg-info/PKG-INFO b/PyPI/src/guan.egg-info/PKG-INFO index a718925..e441ac6 100644 --- a/PyPI/src/guan.egg-info/PKG-INFO +++ b/PyPI/src/guan.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: guan -Version: 0.1.77 +Version: 0.1.78 Summary: An open source python package Home-page: https://py.guanjihuan.com Author: guanjihuan diff --git a/PyPI/src/guan/others.py b/PyPI/src/guan/others.py index 6577c74..8f21064 100644 --- a/PyPI/src/guan/others.py +++ b/PyPI/src/guan/others.py @@ -2,7 +2,6 @@ import guan # 获取当前日期字符串 -@guan.statistics_decorator def get_date(bar=True): import datetime datetime_date = str(datetime.date.today()) @@ -11,7 +10,6 @@ def get_date(bar=True): return datetime_date # 获取当前时间字符串 -@guan.statistics_decorator def get_time(colon=True): import datetime datetime_time = datetime.datetime.now().strftime('%H:%M:%S') @@ -901,7 +899,6 @@ def compress_wav_to_mp3(wav_path, output_filename='a.mp3', bitrate='16k'): sound.export(output_filename,format="mp3",bitrate=bitrate) # 获取MAC地址 -@guan.statistics_decorator def get_mac_address(): import uuid mac_address = uuid.UUID(int=uuid.getnode()).hex[-12:].upper() @@ -909,7 +906,6 @@ def get_mac_address(): return mac_address # 获取调用本函数的函数名 -@guan.statistics_decorator def get_calling_function_name(layer=1): import inspect caller = inspect.stack()[layer] @@ -933,7 +929,6 @@ def get_latest_version(package_name='guan', timeout=5): return None # 获取软件包的本机版本 -@guan.statistics_decorator def get_current_version(package_name='guan'): import importlib.metadata try: