Metadata-Version: 2.5
Name: intentsignal
Version: 0.1.0
Summary: Check a domain's email setup from the command line: MX, SPF, DKIM, DMARC and blacklists, plus reverse IP lookup. By IntentSignal, a cold email agency.
Project-URL: Homepage, https://intentsignal.ai
Project-URL: MX record checker, https://intentsignal.ai/tools/mx-record-checker
Project-URL: Email blacklist check, https://intentsignal.ai/tools/email-blacklist-check
Project-URL: Reverse IP lookup, https://intentsignal.ai/tools/reverse-ip-lookup
Project-URL: For AI agents, https://intentsignal.ai/for-agents
Author: IntentSignal
License-Expression: MIT
License-File: LICENSE
Keywords: cold email,deliverability,dkim,dmarc,email blacklist,email deliverability,mx record,reverse ip lookup,spf
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Communications :: Email
Classifier: Topic :: Internet :: Name Service (DNS)
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# intentsignal

Check a domain's email setup from the command line. One command tells you whether the domain has MX records, SPF, DKIM and DMARC, and whether it is on a blacklist. A second command tells you which company owns an IP address.

The package has no dependencies and runs on Python 3.8 or later. The checks run on the same free tools that IntentSignal hosts on its website.

## Install

```
pip install intentsignal
```

## Check a domain

```
intentsignal check yourcompany.com
```

The output lists each check with PASS, WARN, FAIL or INFO and a one-line explanation. A domain that fails SPF or DMARC will have trouble reaching the inbox, so fix those first.

To see only one part of the result:

```
intentsignal mx yourcompany.com
intentsignal blacklist yourcompany.com
```

## Look up an IP address

```
intentsignal ip 8.8.8.8
```

This prints the organization, network, hostname and location behind the address. The free lookup allows a limited number of requests per day.

## Use it in Python

```python
from intentsignal import check_domain, reverse_ip

result = check_domain("yourcompany.com")
for c in result["checks"]:
    print(c["label"], c["status"], c["detail"])

print(reverse_ip("8.8.8.8")["organization"])
```

Add `--json` before the command to get the raw result, for example `intentsignal --json check yourcompany.com`.

## A note on Spamhaus

Spamhaus does not answer lookups from public DNS services, so the tool cannot check it for you. The result includes a link to check the domain on the Spamhaus site.

## Web versions

- MX record checker: https://intentsignal.ai/tools/mx-record-checker
- Email blacklist check: https://intentsignal.ai/tools/email-blacklist-check
- Reverse IP lookup: https://intentsignal.ai/tools/reverse-ip-lookup

## About

This package is maintained by IntentSignal, a cold email agency for B2B companies. Our team writes to a prospect when there is a reason to: a new executive starts, a rival raises prices or has an outage, or the CEO talks about the problem on an earnings call. Each client also gets signals built for its market. One example is Upside, which hears about new restaurants on their opening day because a bot scans local papers each morning. See https://intentsignal.ai for more.

## License

MIT
