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.3.tar.gz (5.0 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.3-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for request_manager_attenuare-0.0.3.tar.gz
Algorithm Hash digest
SHA256 a446a75cd86a784df7f0e4a70d2e70403fe5b10dfdff8fbbfbb269b77f40996c
MD5 b33fe627f473a8bc77f8d5ca6e7ea818
BLAKE2b-256 45f12cf461556ad7823786b25113da67a666f11fbd05fc818eac8c69ac35afde

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for request_manager_attenuare-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7cc70547916a6cb3bbc5212583446f95bb8affbd49bfd8bca3e3abfbf8f46be3
MD5 d0deb72768a8cdf18e4e913dfa50e888
BLAKE2b-256 0d2e9ad8ae3888a75023db27983d5da7c62136403c81ae0280a9795c0d0eedff

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