Skip to main content

The official DataSift API library for Python.

Project description

This is the official Python library for accessing DataSift APIs.

Getting Started

To get started choose one of our quick start guides:


Install with pip:

pip install datasift

Install from source:

git clone
cd datasift-python
python install


Full documentation is available at

Supported Operating Environment

This version of the client library has been tested, and is known to work against the following language versions and Operating Systems:

Language versions

  • Python 2.6

  • Python 2.7

  • Python 3.4

  • Python 3.5

  • pypy 2.7

Operating Systems

Style Guide

This code should conform to pep8, with the exception of E501, the 79 character line limit.

It can be style checked with the pep8 module by running pep8 --show-source --ignore=E501 datasift/*.py


Supports Python 2.6, 2.7 and 3.3, as well as pypy. Uses requests, autobahn, six, twisted, pyopenssl and dateutil.

On non-Windows systems, the twisted and pyopenssl packages require the Python and OpenSSL development headers before they can be installed. These are usually provided by distribution package managers in a separate package to the main packages.

Windows users may need to use Python 2.7 due to compatability issues with the Twisted library


All code contained in this repository is Copyright 2012-Present MediaSift Ltd.

This code is released under the BSD license. Please see the LICENSE file for more details.


  • woozyking - patches for Historics/prepare

  • glyph from rackspace - assisting with Twisted SSL code



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

datasift-2.12.1.tar.gz (19.0 kB view hashes)

Uploaded source

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