From bf7e2b3e7f62a6f98e7a49668849af4afc9f8a4d Mon Sep 17 00:00:00 2001 From: Andrei Date: Wed, 15 Mar 2023 05:34:43 +0300 Subject: [PATCH 1/6] Ups wait time --- src/tests/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/conftest.py b/src/tests/conftest.py index 656be6ac..3e96f8a0 100755 --- a/src/tests/conftest.py +++ b/src/tests/conftest.py @@ -8,12 +8,12 @@ @pytest.fixture(scope="function") def delay_func(): - time.sleep(0.1) + time.sleep(5) @pytest.fixture(scope="class") def delay_class(): - time.sleep(0.1) + time.sleep(20) @pytest.mark.usefixtures("delay_func") From deeff95fab1866b27f126562db738eb13544273e Mon Sep 17 00:00:00 2001 From: Andrei Date: Wed, 15 Mar 2023 05:35:30 +0300 Subject: [PATCH 2/6] Upd readme --- README.md | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/README.md b/README.md index 89eef95f..0ff949bf 100644 --- a/README.md +++ b/README.md @@ -40,16 +40,9 @@ Or email python-captcha@pm.me pip install python-rucaptcha ``` -### Source -```bash -git clone https://github.com/AndreiDrang/python-rucaptcha.git -cd python-rucaptcha -python setup.py install -``` - ## How to test? -1. You need set ``API_KEY`` in your environment(get this value from you account). +1. You need set ``RUCAPTCHA_KEY`` in your environment(get this value from you account). 2. Run command ``make tests``, from root directory. From f826f80eb1859d45d152b1a7f83d098c31695d34 Mon Sep 17 00:00:00 2001 From: Andrei Date: Wed, 15 Mar 2023 05:36:46 +0300 Subject: [PATCH 3/6] Upd python version --- src/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/setup.py b/src/setup.py index cd7a0451..221758c2 100644 --- a/src/setup.py +++ b/src/setup.py @@ -11,7 +11,7 @@ # Package meta-data. NAME = "python-rucaptcha" -DESCRIPTION = "Python 3.6+ RuCaptcha library with AIO module." +DESCRIPTION = "Python 3.7+ RuCaptcha library with AIO module." URL = "https://github.com/AndreiDrang/python-rucaptcha" EMAIL = "python-captcha@pm.me" AUTHOR = "AndreiDrang, redV0ID" From de141c43c889131fbaaa0475d70b068ad8b6548c Mon Sep 17 00:00:00 2001 From: Andrei Date: Wed, 15 Mar 2023 15:19:59 +0300 Subject: [PATCH 4/6] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0ff949bf..910004dd 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # python-rucaptcha -![](files/RuCaptcha.png) +![](https://github.com/AndreiDrang/python-rucaptcha/blob/master/files/RuCaptcha.png) [![PyPI version](https://badge.fury.io/py/python-rucaptcha.svg)](https://badge.fury.io/py/python-rucaptcha) [![Python versions](https://img.shields.io/pypi/pyversions/python-rucaptcha.svg?logo=python&logoColor=FBE072)](https://badge.fury.io/py/python-rucaptcha) @@ -55,4 +55,4 @@ pip install python-rucaptcha ### Get API Key to work with the library 1. On the page - https://rucaptcha.com/enterpage -2. Find it: ![img.png](files/img.png) +2. Find it: ![img.png](https://github.com/AndreiDrang/python-rucaptcha/blob/master/files/img.png) From 6bb553673ad7a403d6d5c086e1f5e66370688dfd Mon Sep 17 00:00:00 2001 From: Andrei Date: Wed, 15 Mar 2023 15:28:59 +0300 Subject: [PATCH 5/6] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 910004dd..f5de8ec8 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ [![Downloads](https://pepy.tech/badge/python-rucaptcha/month)](https://pepy.tech/project/python-rucaptcha) [![Maintainability](https://api.codeclimate.com/v1/badges/aec93bb04a277cf0dde9/maintainability)](https://codeclimate.com/github/AndreiDrang/python-rucaptcha/maintainability) +[![Codacy Badge](https://app.codacy.com/project/badge/Grade/b4087362bd024b088b358b3e10e7a62f)](https://www.codacy.com/gh/AndreiDrang/python-rucaptcha/dashboard?utm_source=github.com&utm_medium=referral&utm_content=AndreiDrang/python-rucaptcha&utm_campaign=Badge_Grade) [![codecov](https://codecov.io/gh/AndreiDrang/python-rucaptcha/branch/master/graph/badge.svg?token=doybTUCfbD)](https://codecov.io/gh/AndreiDrang/python-rucaptcha) [![Build](https://github.com/AndreiDrang/python-rucaptcha/actions/workflows/build.yml/badge.svg?branch=master)](https://github.com/AndreiDrang/python-rucaptcha/actions/workflows/build.yml) From ef49cf57072dfdb006db9c1ff667cb5c281739d0 Mon Sep 17 00:00:00 2001 From: Andrei Date: Wed, 15 Mar 2023 15:39:23 +0300 Subject: [PATCH 6/6] 5.1.1 --- src/python_rucaptcha/__version__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python_rucaptcha/__version__.py b/src/python_rucaptcha/__version__.py index 07f3d477..a9c316e2 100644 --- a/src/python_rucaptcha/__version__.py +++ b/src/python_rucaptcha/__version__.py @@ -1 +1 @@ -__version__ = "5.1" +__version__ = "5.1.1"