Skip to main content

Simple lib that provides retry helper as iterator

Project description

Retry Iter - The easi way to handle retries via iteration

This module provides to generator functions, that could be used to handle retries via iteration. What could be easier then just iterate over attempts?

Take a look at examples below:

Synchronous retry

..code-block:: python

from retry_iter import retry_iter

state = False

for attempt in retry_iter(max_retries=5):
if do_operation(params):

state = True break

if not state:

raise Exception(“Operation failed”)

Asynchronous retry

..code-block:: python

from retry_iter import a_retry_iter

state = False

async for attempt in a_retry_iter(max_retries=5):
if await do_operation(params):

state = True break

if not state:

raise Exception(“Operation failed”)

Yodoo Cockpit - Manage your odoo infrastructure via odoo

Yodoo Cockpit - Manage your odoo infrastructure via odoo

Take a look at Yodoo Cockpit project, and discover the easiest way to manage your odoo installation. Just short notes about Yodoo Cockpit: - start new production-ready odoo instance in 1-2 minutes. - add custom addons to your odoo instances in 5-10 minutes. - out-of-the-box email configuration: just press button and add some records to your DNS, and get a working email - make your odoo instance available to external world (internet) in 30 seconds (just add single record in your DNS)

If you have any questions, then contact us at info@crnd.pro, so we could schedule online-demonstration.

Level up your service quality

Level up your service with our Helpdesk / Service Desk / ITSM solution.

Just test it at yodoo.systems: choose template you like, and start working.

Test all available features of Bureaucrat ITSM with this template.

Bug tracker

Bugs are tracked on CR&D’s Helpdesk. In case of trouble, please report there.

Maintainer

Center of Research & Development

Our web site is: https://crnd.pro/

This module is maintained by the Center of Research & Development company.

We can provide you further Odoo Support, Odoo implementation, Odoo customization, Odoo 3rd Party development and integration software, consulting services (more info available on our site).Our main goal is to provide the best quality product for you.

For any questions contact us.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

retry-iter-0.0.1.tar.gz (8.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

retry_iter-0.0.1-py3.8.egg (2.8 kB view details)

Uploaded Egg

retry_iter-0.0.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file retry-iter-0.0.1.tar.gz.

File metadata

  • Download URL: retry-iter-0.0.1.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

File hashes

Hashes for retry-iter-0.0.1.tar.gz
Algorithm Hash digest
SHA256 0d4b4aedb1f463491c36a26c5f9c11c0ecac2fe14abc06099f6eadf09063b237
MD5 566ddd17e7cdc3997c159a1243a51ac3
BLAKE2b-256 c4b1c7c8666d0b639347d8cb5eb3c15ea8f80a497b3d54f4dcb28e47ef39eaa5

See more details on using hashes here.

File details

Details for the file retry_iter-0.0.1-py3.8.egg.

File metadata

  • Download URL: retry_iter-0.0.1-py3.8.egg
  • Upload date:
  • Size: 2.8 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

File hashes

Hashes for retry_iter-0.0.1-py3.8.egg
Algorithm Hash digest
SHA256 7c8326179c072c90305034053ac9ca7a116bf36cac78ac51f3708d43d0f9d046
MD5 d5f58aeafd710671f5dda749a55499b2
BLAKE2b-256 d485912d68476007348c135c975584bfd72529d95223052e813b9e61374595a8

See more details on using hashes here.

File details

Details for the file retry_iter-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: retry_iter-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

File hashes

Hashes for retry_iter-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bacd64c1eb4c4bd96cb5014ac905c4b1c88d8ebdb41ea01801854748a968c9fc
MD5 2dcd679a477c1e3394fad6c69aaf48a1
BLAKE2b-256 a044e4343634935f652f80b6a1389cb232057f1c6390235cd0ecf5e08a846777

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page