Process and verify data from SNDS easily
Project description
SNDS LIB
Process and verify data from Microsoft's Smart Network Data Service (SNDS) API easily.
SNDSLIB is a wrapper around SNDS Automated Data Access API to facilitate fast data process and analysis.
What is SNDS?
Smart Network Data Service (SNDS) is a platform to monitor data from IPs that send emails to Microsoft's servers. If you send more than 100 messages per day from your IPs, your can get valuable information about IP reputation, possible blocks, spam complaints and spamtraps hits.
Talk is cheap. Show me the code!
Simple example of library use:
>>> from sndslib import sndslib
>>> r = sndslib.get_ip_status('mykey')
>>> blocked_ips = sndslib.list_blocked_ips(r)
[1.1.1.1, 2.2.2.2, 3.3.3.3]
>>> r = sndslib.get_data('mykey')
>>> sndslib.summarize(r)
{'red': 272, 'green': 710, 'yellow': 852, 'traps': 1298, 'ips': 1834, 'date': '12/31/2019'}
>>> sndslib.search_ip_status('3.3.3.3', r)
{'activity_end': '12/31/2019 7:00 PM',
'activity_start': '12/31/2019 10:00 AM',
'comments': '',
'complaint_rate': '< 0.1%',
'data_commands': '1894',
'filter_result': 'GREEN',
'ip_address': '3.3.3.3',
'message_recipients': '1894',
'rcpt_commands': '1895',
'sample_helo': '',
'sample_mailfrom': '',
'trap_message_end': '',
'trap_message_start': '',
'traphits': '0'}
CLI
This library contains a CLI to facilitate fast operations in the terminal.
Some examples:
Summary of all IPs status
snds -k 'your-key-here' -s
Individual report of a IP
snds -k 'your-key-here' -ip '1.1.1.1'
List all IPs blocked
snds -k 'your-key-here' -l
List all IPs blocked with rDNS
snds -k 'your-key-here' -r
More information in the SNDS and SNDS Automated Data Access pages.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sndslib-0.1.2.tar.gz.
File metadata
- Download URL: sndslib-0.1.2.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.0 CPython/3.7.0 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e92992bc94d2e054d5e88223a6216b9a5c7224973ac55c3fb3fe11cf2450da09
|
|
| MD5 |
b953472bfcf8ae2cbc43aa69bea70aa5
|
|
| BLAKE2b-256 |
d85116c15994adc135932f8ee422e9c88689140f4dd17d3c9a3b9af8a0f36700
|
File details
Details for the file sndslib-0.1.2-py3-none-any.whl.
File metadata
- Download URL: sndslib-0.1.2-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.0 CPython/3.7.0 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cb4d521c4a363d8cd88279c2cda5cddba4896d3f1a9f7831a80cf7c12881e2f
|
|
| MD5 |
5f27e9c6720e4b9040e18e7e453001bf
|
|
| BLAKE2b-256 |
b638930132796a0af835418fb9b3f795eabc522b0804584a871e8ab3bc0d12c1
|