Skip to main content

Drop-in requests replacement using MontgomeryNX proxy

Project description

🔑 MontgomeryNX Proxy Requests Wrapper

A drop-in replacement for Python's requests that routes all calls through the MontgomeryNX scraping proxy.

📦 Installation

pip install mx_requests

🚀 Usage

In place of import requests,

import mx_requests

mx_requests.set_api_key("your_api_key")
response =mx_requests.get("https://example.com")
print(response.text)

Behind the scenes, the URL is rewritten to:

https://proxy.montgomerynx.com/<your_api_key>/https://example.com

🔐 API Key

Call once set_api_key("your_api_key") before making requests.

✨ Features

  • One-liner replacement for requests
  • IP rotation, retries, and caching handled automatically
  • Works with all HTTP methods: get, post, put, delete, head, options
  • No extra dependencies beyond requests
  • Perfect for scraping-friendly public sites

📜 Legal Notice

This service is intended solely for accessing publicly available web content. Use on sites that require login or explicitly disallow scraping is not permitted. Keys may be suspended for misuse.

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

mx_requests-0.1.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

mx_requests-0.1.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file mx_requests-0.1.1.tar.gz.

File metadata

  • Download URL: mx_requests-0.1.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.17

File hashes

Hashes for mx_requests-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ce7aed60dd06f87bbf4ca0e675e41e3060d3f889a683034df64d7b31ae20c6b3
MD5 c90f1b01d94b745934fa337b232c0346
BLAKE2b-256 7d7c37906e9342b7379e93cec3b20f9901fc36fb19924d0509d4810d9fa32e68

See more details on using hashes here.

File details

Details for the file mx_requests-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mx_requests-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.17

File hashes

Hashes for mx_requests-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7a4eebf540adf0feabb96138b7a6fc0967397e77fe67d6fa27fdcb9594e3c095
MD5 71f78bdd511390f634d7775995e0e97c
BLAKE2b-256 e43005cb8b12d3681a9da334ce685200ed7bae276333bc522ecc6174ebe49da5

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