This commit is contained in:
guanjihuan 2023-10-23 17:08:58 +08:00
parent 8417f1e5b1
commit b7bdd79461
4 changed files with 4 additions and 8 deletions

View File

@ -1,4 +1,4 @@
# API Reference shows all functions in Guan package. The current version is guan-0.1.2 updated on December 23, 2023. # API Reference shows all functions in Guan package. The current version is guan-0.1.3 updated on December 23, 2023.
import guan import guan

View File

@ -1,7 +1,7 @@
[metadata] [metadata]
# replace with your username: # replace with your username:
name = guan name = guan
version = 0.1.2 version = 0.1.3
author = guanjihuan author = guanjihuan
author_email = guanjihuan@163.com author_email = guanjihuan@163.com
description = An open source python package description = An open source python package

View File

@ -1,6 +1,6 @@
Metadata-Version: 2.1 Metadata-Version: 2.1
Name: guan Name: guan
Version: 0.1.2 Version: 0.1.3
Summary: An open source python package Summary: An open source python package
Home-page: https://py.guanjihuan.com Home-page: https://py.guanjihuan.com
Author: guanjihuan Author: guanjihuan

View File

@ -1,6 +1,6 @@
# Guan is an open-source python package developed and maintained by https://www.guanjihuan.com/about (Ji-Huan Guan, 关济寰). The primary location of this package is on website https://py.guanjihuan.com. GitHub link: https://github.com/guanjihuan/py.guanjihuan.com. # Guan is an open-source python package developed and maintained by https://www.guanjihuan.com/about (Ji-Huan Guan, 关济寰). The primary location of this package is on website https://py.guanjihuan.com. GitHub link: https://github.com/guanjihuan/py.guanjihuan.com.
# The current version is guan-0.1.2, updated on December 23, 2023. # The current version is guan-0.1.3, updated on December 23, 2023.
# Installation: pip install --upgrade guan # Installation: pip install --upgrade guan
@ -4886,16 +4886,12 @@ def get_date(bar=True):
datetime_date = str(datetime.date.today()) datetime_date = str(datetime.date.today())
if bar==False: if bar==False:
datetime_date = datetime_date.replace('-', '') datetime_date = datetime_date.replace('-', '')
import guan
guan.statistics_of_guan_package()
return datetime_date return datetime_date
# 获取当前时间字符串 # 获取当前时间字符串
def get_time(): def get_time():
import datetime import datetime
datetime_time = datetime.datetime.now().strftime('%H:%M:%S') datetime_time = datetime.datetime.now().strftime('%H:%M:%S')
import guan
guan.statistics_of_guan_package()
return datetime_time return datetime_time
# Guan软件包的使用统计不涉及到用户的个人数据 # Guan软件包的使用统计不涉及到用户的个人数据