Skip to main content

Given an ip address, return which cloud provider it belongs to.

Project description

which-cloud

Given an ip address, return which cloud provider it belongs to.

Usage

from which_cloud import WhichCloud, Providers

wc = WhichCloud()
wc.is_ip('52.94.76.10') # Providers.AWS
wc.is_ip('104.214.20.0') # Providers.AZURE
wc.is_ip('35.185.160.160') # Providers.GCP

Preprocess

Convert raw ip ranges of different platforms into a single pickle file to speed up data load time.

Data Sources

GCP

AWS

Azure

Digital Ocean

Not implemented yet.

No official documented ip ranges (thread)

IBM

Not implemented yet.

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

which-cloud-1.0.2.tar.gz (27.2 kB view hashes)

Uploaded Source

Built Distribution

which_cloud-1.0.2-py3-none-any.whl (25.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page