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
- document: https://cloud.google.com/compute/docs/faq#find_ip_range
- data: https://www.gstatic.com/ipranges/cloud.json
AWS
- document: https://docs.aws.amazon.com/general/latest/gr/aws-ip-ranges.html
- data: https://ip-ranges.amazonaws.com/ip-ranges.json
Azure
- document: https://www.microsoft.com/en-us/download/details.aspx?id=56519
- data: https://download.microsoft.com/download/7/1/D/71D86715-5596-4529-9B13-DA13A5DE5B63/ServiceTags_Public_20201109.json
Digital Ocean
Not implemented yet.
No official documented ip ranges (thread)
IBM
Not implemented yet.
- document: https://cloud.ibm.com/docs/hardware-firewall-dedicated?topic=hardware-firewall-dedicated-ibm-cloud-ip-ranges
- data: no formatted data source
Metadata
Release files for which-cloud 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| which-cloud-1.0.2.tar.gz | 27.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| which_cloud-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 53.0 kB
Release files / which-cloud-1.0.2.tar.gz
| Download URL | which-cloud-1.0.2.tar.gz |
|---|---|
| Size | 27.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cfa85d30a32eb9b150e098d1d8d2ed41fc2882a983c90bcefadaf57abd515ad6
|
|
BLAKE2b-256 checksum How to use checksums |
e691a46e0a1829f69d48667fb35228410c4b04f55f452e2964f291df46203b24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / which_cloud-1.0.2-py3-none-any.whl
| Download URL | which_cloud-1.0.2-py3-none-any.whl |
|---|---|
| Size | 25.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
09a107ccbbb3e36b7c226c63fcfa42eac816ed81ea7921a7e39072cc44402dd7
|
|
BLAKE2b-256 checksum How to use checksums |
735d4b54763aa8dce66baa77d64616aa256fccb83ef03c1bcf097c184273f235
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for which-cloud 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.