Metadata-Version: 2.1
Name: urpatimeout
Version: 0.1.0
Summary: Modul for managing timeouts inside UltimateRPA
Home-page: https://github.com/ultimaterpa/urpatimeout
Author: SlavaQQ
Author-email: support@ultimaterpa.cz
License: MIT
Description: # urpatimeout
        urpatimeout is a module for managing timeouts inside [UltimateRPA](https://www.ultimaterpa.com) scripts.
        
        # Features
        It helps you with setting up and measuring time limits:
        - set up timeout for multiple searches in UltimateRPA
        - set up timeout for part or whole of the script
        - use `datetime.datetime` as an input
        - no 3rd party modules dependencies
        
        ## Install
        
        ```
        pip install urpatimeout
        ```
        
        ## Examples
        
        ### Setting up a Global Timeout for Multiple Searches 
        
        ```python
        import urpatimeout
        
        timeout = urpatimeout.Timeout(10_000)
        app = urpa.exec_app("Some_application.exe")
        app.find_first(cf.name("Username").text(), timeout=timeout)
        app.find_first(cf.name("Password").text(), timeout=timeout)
        ```
        
        ### Setting up a Timeout for Part of the Script
        
        ```python
        import urpatimeout
        
        timeout = urpatimeout.Timeout(60 * 60 * 1000)
        while not timeout.is_expired():
        	do_something()
        ```
        
        ### Using datatime.datetime for Setting up the Timeout
        
        ```python
        import datetime
        import urpatimeout
        
        timeout = Timeout(datetime.datetime(2O29, 1, 15))
        while not timeout.is_expired():
            do_something_else()
        ```
        
        ## Changelog
        
        [Changelog is here]("https://github.com/ultimaterpa/urpatimeout/blob/master/CHANGELOG.md")
        
        ## Contribute
        
        Issues and pull requests are welcome.
        
Keywords: RPA,UltimateRPA,timeout,time limit
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.7
Description-Content-Type: text/markdown
