Metadata-Version: 2.1
Name: request-manager-attenuare
Version: 0.0.3
Summary: Class used to manage a specific request to a endpoint, and try again if specific errors appear
Home-page: https://bitbucket.org/nappsolutionsdev/scrapping_model/src/scrapping_model/
Author: Leandro Alves
Author-email: Leandro Alves <leandro.augusto.alves@outlook.com.br>
Project-URL: Homepage, https://github.com/Attenuare/request_manager
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: playwright
Requires-Dist: bs4
Requires-Dist: requests

# Goal 🎯
Project Request Manager🚀 

This project has the primary goal of manage requisitions to a specific endpoint and treat different errors from the lib requests.
The class will try a couple of times until the result is the wanted response or it hits the maximum number of tries

# Used technologies 💻
    * Requests
    * Python

# Installation ⚙
To run the project, follow the next steps

  * Intall virtualenv
  ```sh
  pip install virtualenv
  ```
  * Create a virtual enviroment
  ```sh
  virtualenv venv 
  ```

  * Enter the virtual enviroment
  ```sh
  venv/Scripts/activate
  ```

# Implementing the class


Import the class to your project and add it as a super class or create a object from the class

```
from request_manager.manager import RequestManager

class my_class(RequestManager):
    def __init__(self):
        super(my_class, self).__init__()
```

```
from request_manager.manager import RequestManager

object = RequestManager()
object.send_requisitons_request()
```

# Files Structure

## Librarys📚

### **request**
Class used to make requests using the urllib as a basic manager
