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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file which-cloud-1.0.2.tar.gz.

File metadata

  • Download URL: which-cloud-1.0.2.tar.gz
  • Upload date:
  • Size: 27.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for which-cloud-1.0.2.tar.gz
Algorithm Hash digest
SHA256 cfa85d30a32eb9b150e098d1d8d2ed41fc2882a983c90bcefadaf57abd515ad6
MD5 2698478f067de4be7fee5e1e00e76a0b
BLAKE2b-256 e691a46e0a1829f69d48667fb35228410c4b04f55f452e2964f291df46203b24

See more details on using hashes here.

File details

Details for the file which_cloud-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: which_cloud-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 25.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for which_cloud-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 09a107ccbbb3e36b7c226c63fcfa42eac816ed81ea7921a7e39072cc44402dd7
MD5 3f4d8743bd30c6d60648e6236f55a936
BLAKE2b-256 735d4b54763aa8dce66baa77d64616aa256fccb83ef03c1bcf097c184273f235

See more details on using hashes here.

Supported by

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