Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Python port of Akamai EdgeScape client

Project Description
Python Akamai EdgeScape client

[![Build Status](](

Python client for Akamai EdgeScape. Supports Python 2.7/3.3+, and PyPy.

## Installation

pip install akadata

## Usage

To lookup an IP address, initialize an `akadata.EdgeScape` object with the host
and port of the EdgeScape Facilitator server, and call its `ip_lookup` method.
See the docstring for `akadata.EdgeScape.ip_lookup` for details about the
resulting dictionary, parsing, and possible exceptions.

>>> from pprint import pprint
>>> from akadata import EdgeScape
>>> client = EdgeScape('', 49158)
>>> pprint(client.ip_lookup('', timeout=1))
{u'areacode': [301],
u'asnum': [40287],
u'bw': 5000,
u'city': u'SILVERSPRING',
u'company': u'RedJack_LLC',
u'continent': u'NA',
u'country_code': u'US',
u'county': [u'MONTGOMERY'],
'default_answer': False,
u'dma': 511,
u'domain': u'',
u'fips': ['24031'],
'ip': u'',
u'lat': 39.0245,
u'long': -77.0094,
u'msa': 8872,
u'pmsa': 8840,
u'region_code': u'MD',
u'throughput': u'vhigh',
u'timezone': u'EST',
u'zip': ['20901', '20902', '20903', '20904', '20905', '20906', '20907',
'20908', '20910', '20911', '20914', '20915', '20916', '20918',
'20993', '20997']}
Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
akadata-0.3.0-py2.py3-none-any.whl (9.1 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Oct 13, 2015
akadata-0.3.0.tar.gz (12.0 kB) Copy SHA256 Checksum SHA256 Source Oct 13, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting