This repository was archived by the owner on Nov 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy path__init__.py
More file actions
57 lines (37 loc) · 1.31 KB
/
__init__.py
File metadata and controls
57 lines (37 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# -*- coding: utf-8 -*-
"""
DataSift Python Client Library
==============================
This is the official Python library for accessing `DataSift <http://datasift.com/>`_.
See the examples folder for some simple example usage.
All examples and tests use the username and API key in ``config.py``.
DataSift Platform Documentation: http://dev.datasift.com/docs/
Installation
------------
Install with ``pip``::
pip install datasift
Install from source::
git clone git@github.com:datasift/datasift-python.git
cd datasift-python
python setup.py install
Requirements
^^^^^^^^^^^^
Supports Python 2.6, 2.7 and 3.3.
Uses ``requests``, ``autobahn``, ``six`` and ``twisted``.
License
-------
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.
"""
__author__ = "opensource@datasift.com"
__status__ = "stable"
__version__ = "2.0.13"
__date__ = "17th Feb 2015"
# -----------------------------------------------------------------------------
# Module constants
# -----------------------------------------------------------------------------
USER_AGENT = 'DataSift/%s Python/' + __version__
WEBSOCKET_HOST = u'stream.datasift.com'
API_HOST = 'api.datasift.com/'
from datasift.client import Client