{
"info": {
"author": "Alejandro M. Bernardis",
"author_email": "alejandro.m.bernardis@gmail.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Natural Language :: Spanish",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 2.7",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities"
],
"description": "Tornado Mixpanel\n================\n\nTornado Mixpanel is an async library for Mixpanel service. This library allows \nfor server-side integration of Mixpanel.\n\n\nInstallation\n------------\n\n**Automatic installation**:\n\n.. code-block:: bash\n\n $ pip install tornado-mixpanel\n\nTornado Mixpanel is listed in `PyPI `_ and can be installed with ``pip`` or ``easy_install``.\n\n**Manual installation**: Download the latest source from `PyPI `_.\n\n.. parsed-literal::\n\n tar xvzf tornado-mixpanel-$VERSION.tar.gz\n cd tornado-mixpanel-$VERSION\n python setup.py build\n sudo python setup.py install\n\nThe Tornado Mixpanel source code is `hosted on GitHub `_.\n\n\nExample\n-------\n\nHere is a simple example:\n\n.. code-block:: python\n\n #!/usr/bin/env python2.7\n # -*- coding: utf-8 -*-\n \n import traceback\n from tornado import gen, ioloop\n from tornado_mixpanel.client import AsyncMixpanelClient\n\n\n @gen.coroutine\n def run():\n client = AsyncMixpanelClient('')\n raw_input('Press (enter) to continue...')\n\n try:\n r = yield client.track(\n 'user-xxxx', 'steps', {'step_one': True, 'step_two': False})\n print r\n\n r = yield client.people_set(\n 'client-xxxx', {'fullname': 'Alejandro Bernardis'})\n print r\n\n r = yield client.people_append(\n 'client-xxxx', {'age': 31, 'locale': 'es_AR'})\n print r\n\n except:\n print traceback.format_exc()\n\n ioloop.IOLoop.current().stop()\n\n\n if __name__ == '__main__':\n run()\n ioloop.IOLoop.instance().start()\n\n\nAnd buffer example:\n\n.. code-block:: python\n\n #!/usr/bin/env python2.7\n # -*- coding: utf-8 -*-\n\n import time\n import traceback\n from tornado import gen, ioloop\n from tornado_mixpanel.client import AsyncMixpanelClient\n\n\n @gen.coroutine\n def run():\n client = AsyncMixpanelClient('', True)\n raw_input('Press (enter) to continue...')\n\n try:\n username = int(time.time())\n print 'Tracking...'\n\n for i in xrange(10):\n yield client.track(username, 'item_%s' % i, {'i': i})\n time.sleep(1)\n print '-*-' * 20\n\n r = yield client.consumer.flush()\n print r\n\n except:\n print traceback.format_exc()\n\n ioloop.IOLoop.current().stop()\n\n\n if __name__ == '__main__':\n run()\n ioloop.IOLoop.instance().start()\n\n\nLicense\n-------\n\nThe MIT License (MIT)\n\nCopyright (c) 2015 Alejandro Bernardis and contributors. See AUTHORS\nfor more details.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.",
"description_content_type": null,
"docs_url": null,
"download_url": "UNKNOWN",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/alejandrobernardis/tornado-mixpanel",
"keywords": null,
"license": "MIT",
"maintainer": null,
"maintainer_email": null,
"name": "tornado-mixpanel",
"package_url": "https://pypi.org/project/tornado-mixpanel/",
"platform": "Linux",
"project_url": "https://pypi.org/project/tornado-mixpanel/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "https://github.com/alejandrobernardis/tornado-mixpanel"
},
"release_url": "https://pypi.org/project/tornado-mixpanel/0.2/",
"requires_dist": null,
"requires_python": null,
"summary": "An async client for mixpanel.",
"version": "0.2"
},
"last_serial": 1479475,
"releases": {
"0.1": [
{
"comment_text": "built for Darwin-14.1.0",
"digests": {
"md5": "13e45f41adfe456ef7bb4a350c496625",
"sha256": "ee06b2eb8872600fef373dee4ef06ed341491b15df50e34516149f509edbc473"
},
"downloads": -1,
"filename": "tornado-mixpanel-0.1.macosx-10.6-intel.tar.gz",
"has_sig": false,
"md5_digest": "13e45f41adfe456ef7bb4a350c496625",
"packagetype": "bdist_dumb",
"python_version": "any",
"requires_python": null,
"size": 12258,
"upload_time": "2015-02-03T23:27:58",
"url": "https://files.pythonhosted.org/packages/ea/99/6229eba9c5947580881e7c6725771e50fb1233637ebd745815753c2055fd/tornado-mixpanel-0.1.macosx-10.6-intel.tar.gz"
},
{
"comment_text": "",
"digests": {
"md5": "95fed448afc9c14e1e940cba3274a844",
"sha256": "8f51702d1a81cc1a592e2e9e2bc730d6586e0fa0201e0585f5954662cafc3c48"
},
"downloads": -1,
"filename": "tornado-mixpanel-0.1.tar.gz",
"has_sig": false,
"md5_digest": "95fed448afc9c14e1e940cba3274a844",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8945,
"upload_time": "2015-02-03T23:27:55",
"url": "https://files.pythonhosted.org/packages/a1/88/32d5ce04f4ff2c0a3d0805c1ba8e773dc0e8ad9e94d6ac0dc8c866011659/tornado-mixpanel-0.1.tar.gz"
}
],
"0.1-dev": [
{
"comment_text": "",
"digests": {
"md5": "89ce9fa20f9bb1d0654283d702ea779c",
"sha256": "9bf83b347d300f74ee78af32795204b9878857fc07f48d4e07729219059f9bd9"
},
"downloads": -1,
"filename": "tornado-mixpanel-0.1-dev.tar.gz",
"has_sig": false,
"md5_digest": "89ce9fa20f9bb1d0654283d702ea779c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8037,
"upload_time": "2015-02-03T22:26:32",
"url": "https://files.pythonhosted.org/packages/2e/dd/281f44ae7898d4bf9d630c63fb0e95e66fafdc2fb2c90263779dbef9f449/tornado-mixpanel-0.1-dev.tar.gz"
}
],
"0.2": [
{
"comment_text": "",
"digests": {
"md5": "664b84163c46aa895a4cbe34f806490b",
"sha256": "e14bb67febbc9ee20eccfb35cc28d1deee561f49216225815abd8a077bff4479"
},
"downloads": -1,
"filename": "tornado-mixpanel-0.2.tar.gz",
"has_sig": false,
"md5_digest": "664b84163c46aa895a4cbe34f806490b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 9162,
"upload_time": "2015-03-27T00:26:05",
"url": "https://files.pythonhosted.org/packages/d6/f2/c0c39b53777a6cb1703dfa7fd165d57fe0dd565442a59586ce305c567184/tornado-mixpanel-0.2.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "664b84163c46aa895a4cbe34f806490b",
"sha256": "e14bb67febbc9ee20eccfb35cc28d1deee561f49216225815abd8a077bff4479"
},
"downloads": -1,
"filename": "tornado-mixpanel-0.2.tar.gz",
"has_sig": false,
"md5_digest": "664b84163c46aa895a4cbe34f806490b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 9162,
"upload_time": "2015-03-27T00:26:05",
"url": "https://files.pythonhosted.org/packages/d6/f2/c0c39b53777a6cb1703dfa7fd165d57fe0dd565442a59586ce305c567184/tornado-mixpanel-0.2.tar.gz"
}
]
}