0.1.11
This commit is contained in:
parent
a890823e93
commit
1ac616a583
@ -1,4 +1,4 @@
|
|||||||
# API Reference shows all functions in Guan package. The current version is guan-0.1.10 updated on November 02, 2023.
|
# API Reference shows all functions in Guan package. The current version is guan-0.1.11 updated on November 02, 2023.
|
||||||
|
|
||||||
import guan
|
import guan
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
# replace with your username:
|
# replace with your username:
|
||||||
name = guan
|
name = guan
|
||||||
version = 0.1.10
|
version = 0.1.11
|
||||||
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
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Metadata-Version: 2.1
|
Metadata-Version: 2.1
|
||||||
Name: guan
|
Name: guan
|
||||||
Version: 0.1.10
|
Version: 0.1.11
|
||||||
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
|
||||||
|
@ -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.10, updated on November 02, 2023.
|
# The current version is guan-0.1.11, updated on November 02, 2023.
|
||||||
|
|
||||||
# Installation: pip install --upgrade guan
|
# Installation: pip install --upgrade guan
|
||||||
|
|
||||||
@ -4904,6 +4904,7 @@ def statistics_of_guan_package():
|
|||||||
import socket
|
import socket
|
||||||
import guan
|
import guan
|
||||||
message_calling = guan.get_calling_function_name(layer=3)
|
message_calling = guan.get_calling_function_name(layer=3)
|
||||||
|
current_version = get_current_version('guan')
|
||||||
if message_calling == '<module>':
|
if message_calling == '<module>':
|
||||||
datetime_date = guan.get_date()
|
datetime_date = guan.get_date()
|
||||||
datetime_time = guan.get_time()
|
datetime_time = guan.get_time()
|
||||||
@ -4911,14 +4912,14 @@ def statistics_of_guan_package():
|
|||||||
client_socket.settimeout(0.5)
|
client_socket.settimeout(0.5)
|
||||||
client_socket.connect(('py.guanjihuan.com', 12345))
|
client_socket.connect(('py.guanjihuan.com', 12345))
|
||||||
message = guan.get_calling_function_name(layer=2)
|
message = guan.get_calling_function_name(layer=2)
|
||||||
send_message = datetime_date + ' ' + datetime_time + ' version_0.1.10 guan.' + message+'\n'
|
send_message = datetime_date + ' ' + datetime_time + ' version_'+current_version+' guan.' + message+'\n'
|
||||||
client_socket.send(send_message.encode())
|
client_socket.send(send_message.encode())
|
||||||
client_socket.close()
|
client_socket.close()
|
||||||
client_socket2 = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
client_socket2 = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||||
client_socket2.settimeout(0.5)
|
client_socket2.settimeout(0.5)
|
||||||
client_socket2.connect(('py.guanjihuan.com', 12345))
|
client_socket2.connect(('py.guanjihuan.com', 12345))
|
||||||
mac_address = get_mac_address()
|
mac_address = get_mac_address()
|
||||||
send_mac_address = 'version_0.1.10 MAC_address: '+mac_address+'\n'
|
send_mac_address = 'version_'+current_version+' MAC_address: '+mac_address+'\n'
|
||||||
client_socket2.send(send_mac_address.encode())
|
client_socket2.send(send_mac_address.encode())
|
||||||
client_socket2.close()
|
client_socket2.close()
|
||||||
except:
|
except:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user