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.0.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.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mx_requests-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 c25b655fb6437c56aec3b96145cc99a61f0329aff6ae156b18638d4df38d38e2
MD5 13af4d9377dcf243ac504d26b4fdc7c2
BLAKE2b-256 6d53c3ed3f7e67d78d2ed7b4cbd024af7a93e2894cee04ca2c7bd790eb8ea7ed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mx_requests-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aea39863c866afbebebfcd1c589cf333ef4503b22edaf456336daae9deefdc9f
MD5 464e8e5c1dbd61f6cafb7da725cc2a0f
BLAKE2b-256 db3a0efbe9829e161421a270df5812d11e5304697eeed80aa52199ca1d54b631

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