Class used to manage a specific request to a endpoint, and try again if specific errors appear
Project description
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
pip install virtualenv
- Create a virtual enviroment
virtualenv venv
- Enter the virtual enviroment
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file request_manager_attenuare-0.0.2.tar.gz.
File metadata
- Download URL: request_manager_attenuare-0.0.2.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe32db00fc5dd10d488b116fef163cda7bda8b9bd49671f73949710b34eacade
|
|
| MD5 |
1c1a42396625f8d669b54385608b5fd6
|
|
| BLAKE2b-256 |
264f8c870a72ad6172cc0e6cfb907b3456aa34389803118a7b65ba61c9e99c10
|
File details
Details for the file request_manager_attenuare-0.0.2-py3-none-any.whl.
File metadata
- Download URL: request_manager_attenuare-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4eab0d8e63fe0712a5f9d4ff1ae620703ce53e17b753f7365767fb7e1ac22d27
|
|
| MD5 |
f14a22b88218e5854f0ca3b64540f81a
|
|
| BLAKE2b-256 |
607293237888651ff345287bc1b4d512028799bf33b6cbc137b3a83b5fe23107
|