Skip to main content

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


Download files

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

Source Distribution

request_manager_attenuare-0.0.2.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

request_manager_attenuare-0.0.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file request_manager_attenuare-0.0.2.tar.gz.

File metadata

File hashes

Hashes for request_manager_attenuare-0.0.2.tar.gz
Algorithm Hash digest
SHA256 fe32db00fc5dd10d488b116fef163cda7bda8b9bd49671f73949710b34eacade
MD5 1c1a42396625f8d669b54385608b5fd6
BLAKE2b-256 264f8c870a72ad6172cc0e6cfb907b3456aa34389803118a7b65ba61c9e99c10

See more details on using hashes here.

File details

Details for the file request_manager_attenuare-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for request_manager_attenuare-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4eab0d8e63fe0712a5f9d4ff1ae620703ce53e17b753f7365767fb7e1ac22d27
MD5 f14a22b88218e5854f0ca3b64540f81a
BLAKE2b-256 607293237888651ff345287bc1b4d512028799bf33b6cbc137b3a83b5fe23107

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