Thanks for considering a contribution to ipdatainfo.
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
python -m unittest discover -s tests -t . -v
To include the live smoke test against https://ipdata.info (requires network):
IPDATA_LIVE=1 python -m unittest discover -s tests -t . -v
- Keep changes scoped and add/update tests for behavior changes.
- Match the method surface in
docs/sdk-api-contract.md— this SDK must stay behaviorally identical to the other official ipdata.info SDKs. - Run the test suite before opening a PR.