Copyright (C) 2018 Cisco Systems Inc.
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Description: # mechanizeretry
Add hang protection and retries to mechanize operations
## Getting Started
Install using pip or easy_install:
pip install mechanizeretry
easy_install mechanizeretry
## Prerequisites
This project requires mechanize.
## Usage Example
python import mechanize from mechanizeretry import RetryBrowser
browser = RetryBrowser() browser.set_handle_equiv(True) browser.set_handle_redirect(True) browser.set_handle_referer(True) browser.set_handle_robots(False) browser.set_handle_refresh(mechanize._http.HTTPRefreshProcessor(), max_time=1) browser.open(’http://server:8080/v1/api/endpoint’, retries=5, delay=15, timeout=30)
Keywords: mechanize,retry Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Description-Content-Type: text/markdown
Metadata
Release files for mechanizeretry 1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mechanizeretry-1.6.tar.gz | 3.6 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mechanizeretry-1.6-py2.7.egg | Legacy Egg format | - | - | Details |
| mechanizeretry-1.6-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 12.3 kB
Release files / mechanizeretry-1.6.tar.gz
| Download URL | mechanizeretry-1.6.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee4063a6b2a5e6f98d8b741a9e25c1501eeee7b58dba7f7f3f7d874c18cafd06
|
|
BLAKE2b-256 checksum How to use checksums |
eef1d66f59e5434ef6feafe2234427ff8a0e9327e2aa8b0c2efe9af2c9d0661f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/0.0.1 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/2.7.11
|
Release files / mechanizeretry-1.6-py2.7.egg
| Download URL | mechanizeretry-1.6-py2.7.egg |
|---|---|
| Size | 3.9 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
229446dba717659a2e44c8a9e948422444de3a221e316d4d94e887da6c8f21b3
|
|
BLAKE2b-256 checksum How to use checksums |
42912bff21c3a595a889ccfbc85cd31479654d2472f3b44712870f602b6221b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/0.0.1 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/2.7.11
|
Release files / mechanizeretry-1.6-py2-none-any.whl
| Download URL | mechanizeretry-1.6-py2-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
8178e1f45693276550136319587c63fa69cceae62acbe3c05c84e76b9e095587
|
|
BLAKE2b-256 checksum How to use checksums |
2bba0b31cdfa0e367dc9c1fb629a351f5e1b504ac973b673dba5ba0bb1e58584
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/0.0.1 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/2.7.11
|