From b76a9134ebee66d80296c53f93d03ec773be826a Mon Sep 17 00:00:00 2001 From: guanjihuan Date: Thu, 6 Apr 2023 20:31:52 +0800 Subject: [PATCH] 0.0.167 --- PyPI/setup.cfg | 2 +- PyPI/src/guan.egg-info/PKG-INFO | 2 +- PyPI/src/guan/__init__.py | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/PyPI/setup.cfg b/PyPI/setup.cfg index d21d761..d043956 100644 --- a/PyPI/setup.cfg +++ b/PyPI/setup.cfg @@ -1,7 +1,7 @@ [metadata] # replace with your username: name = guan -version = 0.0.166 +version = 0.0.167 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 e5f007c..01c54a0 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.0.166 +Version: 0.0.167 Summary: An open source python package Home-page: https://py.guanjihuan.com Author: guanjihuan diff --git a/PyPI/src/guan/__init__.py b/PyPI/src/guan/__init__.py index 7434a79..7d4c4be 100644 --- a/PyPI/src/guan/__init__.py +++ b/PyPI/src/guan/__init__.py @@ -2,7 +2,7 @@ # With this package, you can calculate band structures, density of states, quantum transport and topological invariant of tight-binding models by invoking the functions you need. Other frequently used functions are also integrated in this package, such as file reading/writing, figure plotting, data processing. -# The current version is guan-0.0.166, updated on March 02, 2023. +# The current version is guan-0.0.167, updated on April 06, 2023. # Installation: pip install --upgrade guan @@ -3291,7 +3291,7 @@ def play_academic_words(reverse=0, random_on=0, bre_or_ame='ame', show_translati if exist_directory == 0: os.makedirs(directory) soup = BeautifulSoup(html, features='lxml') - contents = re.findall('

.*?

', html, re.S) + contents = re.findall('

', html, re.S) if random_on==1: random.shuffle(contents) if reverse==1: @@ -3404,7 +3404,7 @@ def play_element_words(random_on=0, show_translation=1, show_link=1, translation if exist_directory == 0: os.makedirs(directory) soup = BeautifulSoup(html, features='lxml') - contents = re.findall('

.*?

', html, re.S) + contents = re.findall('

', html, re.S) if random_on==1: random.shuffle(contents) for content in contents: