Skip to content

Commit

Permalink
Version 1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Javinator9889 committed Aug 11, 2018
1 parent 6e80df7 commit f9470e9
Show file tree
Hide file tree
Showing 7 changed files with 126 additions and 153 deletions.
2 changes: 1 addition & 1 deletion README.md
@@ -1,7 +1,7 @@
# [pyGle](https://github.com/Javinator9889/pyGle)
A tool for searching the entire web with the Google technology

[![PyPi](https://img.shields.io/badge/v1.1%20-PyPi-green.svg)](https://pypi.org/project/g-pyGle/)
[![PyPi](https://img.shields.io/badge/v1.11%20-PyPi-green.svg)](https://pypi.org/project/g-pyGle/)
[![ZIP](https://img.shields.io/badge/Package%20-Zip-blue.svg)](https://github.com/Javinator9889/pyGle/archive/master.zip)
[![GIT](https://img.shields.io/badge/Package%20-Git-red.svg)](https://github.com/Javinator9889/pyGle.git)

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -322,7 +322,7 @@ If you really appreciate my work, you can *contribute to this project* perfectly
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.`

.. |PyPi| image:: https://img.shields.io/badge/v1.1%20-PyPi-green.svg
.. |PyPi| image:: https://img.shields.io/badge/v1.11%20-PyPi-green.svg
:target: https://pypi.org/project/g-pyGle/
.. |ZIP| image:: https://img.shields.io/badge/Package%20-Zip-blue.svg
:target: https://github.com/Javinator9889/pyGle/archive/master.zip
Expand Down
244 changes: 118 additions & 126 deletions pyGle/.idea/workspace.xml

Large diffs are not rendered by default.

19 changes: 0 additions & 19 deletions pyGle/__init__.py
Expand Up @@ -113,26 +113,7 @@ def printOverallTime(self):
self.__shops_extractor.printOverallTime()
elif key == "Videos":
self.__videos_extractor.printOverallTime()
# self.__search_extractor.printOverallTime()

@staticmethod
def version():
print_ver_info()


def main():
import pprint

printer = pprint.PrettyPrinter(indent=4)
search = PyGle(enable_history=True)
for i in range(5):
search.withQuery("test")
printer.pprint(search.doSearch().result())
search.withQuery("test2")
printer.pprint(search.doSearch().result())
search.pprintHistory()
search.printOverallTime()


if __name__ == '__main__':
main()
4 changes: 2 additions & 2 deletions pyGle/version.py
Expand Up @@ -5,8 +5,8 @@
# under certain conditions; type "-L" for details.
#

__version__ = "v1.1"
__version_code__ = 75
__version__ = "v1.11"
__version_code__ = 77


def print_ver_info():
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
@@ -1,2 +1,2 @@
[metadata]
description-file = README.md
description-file = README.md, README.rst
6 changes: 3 additions & 3 deletions setup.py
Expand Up @@ -9,7 +9,7 @@
try:
import codecs

readme = codecs.open(filename="README.md", mode="r", encoding="utf-8")
readme = codecs.open(filename="README.rst", mode="r", encoding="utf-8")
long_description = readme.read()
readme.close()
except:
Expand All @@ -26,9 +26,9 @@
author_email='javialonso007@hotmail.es',
description='A tool for searching the entire web with the Google technology',
long_description=long_description,
long_description_content_type="text/markdown",
long_description_content_type="text/x-rst",
include_package_data=True,
install_requires=["lxml", "beautifulsoup4", "ujson"],
install_requires=['lxml', 'beautifulsoup4', 'ujson'],
zip_safe=False,
download_url="https://github.com/Javinator9889/pyGle/archive/master.zip",
classifiers=[
Expand Down

0 comments on commit f9470e9

Please sign in to comment.