Skip to main content
reverse-mx-py license reverse-mx-py release reverse-mx-py build

Overview

The client library for Reverse MX API in Python language.

The minimum Python version is 3.6.

Installation

pip install reverse-mx

Examples

Full API documentation available here

Create a new client

from reversemx import *

client = Client('Your API key')

Make basic requests

# Get the number of domains.
result = client.data('aspmx.l.google.com')
print(result.size)

# Get raw API response
raw_result = client.raw_data(
    "aspmx.l.google.com",
    response_format=Client.XML_FORMAT
)

Advanced usage

Extra request parameters

result = client.data("aspmx.l.google.com", search_from="9")

resp = client.data("aspmx.l.google.com")
if resp.has_next():
    next_page = client.next_page("aspmx.l.google.com", resp)

for page in client.iterate_pages("aspmx.l.google.com"):
    print(page)

Changelog

1.0.0 (2021-05-25)

  • First release

Metadata

Release files for reverse-mx 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for reverse-mx 1.0.0
File Size Uploaded
reverse-mx-1.0.0.tar.gz 9.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for reverse-mx 1.0.0
File Interpreter ABI Platform
reverse_mx-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.0 kB

Release files / reverse-mx-1.0.0.tar.gz

Download URL reverse-mx-1.0.0.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
31e4bb9cb028ede6ad4d50b680373f5c526966156384a95728ef7149a121db3a
BLAKE2b-256 checksum
How to use checksums
b1b06a2b141abc0c8a1b0c958ea1b04b06c3dc4a327f071bd0d874ee081cd6cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

Release files / reverse_mx-1.0.0-py3-none-any.whl

Download URL reverse_mx-1.0.0-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a082a7c6ef8f484e4256be7ef0a506dff8cf4a61a96fe6814d9003037b62f2dd
BLAKE2b-256 checksum
How to use checksums
12e0919e6a568f97f8aab8e8a99f7939abb7ac95f22565ed59858c8aa1d8f6d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page