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 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page