{
"info": {
"author": "Diego Fernandez",
"author_email": "aiguo.fernandez@gmail.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6"
],
"description": "===================\nTrace Python Client\n===================\n\n\n.. image:: https://img.shields.io/pypi/v/py-trace.svg\n :target: https://pypi.python.org/pypi/py-trace\n\n.. image:: https://img.shields.io/travis/aiguofer/py-trace.svg\n :target: https://travis-ci.org/aiguofer/py-trace\n\n.. image:: https://readthedocs.org/projects/py-trace/badge/?version=latest\n :target: https://py-trace.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n\n\nPython client for interacting with the Trace api. For information on the API see `the api documentation `_\n\n\n* Free software: MIT license\n* Documentation: https://py-trace.readthedocs.io.\n\n\nGetting Started\n---------------\n\n.. code-block:: python\n\n from py_trace import Trace\n\n client = Trace(, )\n client.get_authorization_url()\n # output should be like https://www.alpinereplay.com/api/oauth_login?oauth_token=, go to the url and authorize the app\n # after authorization, you should see a url like http://snow.traceup.com/api/oauth_login?oauth_token=&oauth_verifier=\n client.get_access_token()\n client.get_user()\n\nTo use in a web app (using a very basic Flask example):\n\n.. code-block:: python\n\n from flask import Flask, request, redirect\n import json\n\n app = Flask(__name__)\n trace = Trace(, , host + '/auth_callback')\n\n @app.route('/auth_callback')\n def handle_redirect():\n trace.get_access_token(request.args['oauth_verifier'])\n return redirect('/user')\n\n @app.route('/auth')\n def get_user_token():\n url = trace.get_auth_url()\n return redirect(url)\n\n @app.route('/user')\n def get_user():\n return json.dumps(trace.get_user())\n\n\nCredits\n-------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n\n\n=======\nHistory\n=======\n\n0.1.0 (2018-07-22)\n------------------\n\n* First release on PyPI.\n\n\n",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/aiguofer/py-trace",
"keywords": "py_trace",
"license": "MIT license",
"maintainer": "",
"maintainer_email": "",
"name": "py-trace",
"package_url": "https://pypi.org/project/py-trace/",
"platform": "",
"project_url": "https://pypi.org/project/py-trace/",
"project_urls": {
"Homepage": "https://github.com/aiguofer/py-trace"
},
"release_url": "https://pypi.org/project/py-trace/0.1.1/",
"requires_dist": [
"requests-oauthlib",
"pip (==9.0.1); extra == 'dev'",
"bumpversion (==0.5.3); extra == 'dev'",
"wheel (==0.30.0); extra == 'dev'",
"watchdog (==0.8.3); extra == 'dev'",
"flake8 (==3.5.0); extra == 'dev'",
"tox (==2.9.1); extra == 'dev'",
"coverage (==4.5.1); extra == 'dev'",
"Sphinx (==1.7.1); extra == 'dev'",
"twine (==1.10.0); extra == 'dev'",
"pytest (==3.4.2); extra == 'dev'",
"pytest-runner (==2.11.1); extra == 'dev'"
],
"requires_python": "",
"summary": "Python client for interacting with the Trace api.",
"version": "0.1.1"
},
"last_serial": 4095836,
"releases": {
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "fd28687e86fa1ee8ee69ff21c2719c2e",
"sha256": "032a422fb92e2f6cc0ad5421c1c957ed93026679f1680af42330326160c57128"
},
"downloads": -1,
"filename": "py_trace-0.1.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "fd28687e86fa1ee8ee69ff21c2719c2e",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 7130,
"upload_time": "2018-07-24T03:30:54",
"url": "https://files.pythonhosted.org/packages/1d/80/80c2840a2ab5bdd9211c317204095e91ab7b2a0f674b426bb8e27d765607/py_trace-0.1.0-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "ca03e2725d95cce6a853ad9f62cd1450",
"sha256": "893fae3a72a0afbcf859d41c71357f592b17ff4415f29d94c186c12ac3a68994"
},
"downloads": -1,
"filename": "py_trace-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "ca03e2725d95cce6a853ad9f62cd1450",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11570,
"upload_time": "2018-07-24T03:34:49",
"url": "https://files.pythonhosted.org/packages/bf/88/604838d4c2abba0bbf0f68ea03853960008d2b7c095b14ebd3761d877ba6/py_trace-0.1.0.tar.gz"
}
],
"0.1.1": [
{
"comment_text": "",
"digests": {
"md5": "dcb09572b1d90d2b31b61340db0f9e3c",
"sha256": "e2331535ec5da3395001707d4df4cc133599ecec66ce95d541ab13bad8364562"
},
"downloads": -1,
"filename": "py_trace-0.1.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "dcb09572b1d90d2b31b61340db0f9e3c",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 7991,
"upload_time": "2018-07-24T04:20:03",
"url": "https://files.pythonhosted.org/packages/e6/bb/5c0ab8da171f342981ba970e46ad88ee3b8afda5768cc65f9e85bcf5fd54/py_trace-0.1.1-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "5c484e60e668d3951e27667a6b3721de",
"sha256": "e42f2e2148a5efe47b446b30d7fcd9fbe85779a15b07d4be886247f2a5d3068e"
},
"downloads": -1,
"filename": "py_trace-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "5c484e60e668d3951e27667a6b3721de",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 17433,
"upload_time": "2018-07-24T04:20:04",
"url": "https://files.pythonhosted.org/packages/fa/4d/c5f72253a4faa35c2dbd84467c7d9289e946c55d82f40afaa45be32f0213/py_trace-0.1.1.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "dcb09572b1d90d2b31b61340db0f9e3c",
"sha256": "e2331535ec5da3395001707d4df4cc133599ecec66ce95d541ab13bad8364562"
},
"downloads": -1,
"filename": "py_trace-0.1.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "dcb09572b1d90d2b31b61340db0f9e3c",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 7991,
"upload_time": "2018-07-24T04:20:03",
"url": "https://files.pythonhosted.org/packages/e6/bb/5c0ab8da171f342981ba970e46ad88ee3b8afda5768cc65f9e85bcf5fd54/py_trace-0.1.1-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "5c484e60e668d3951e27667a6b3721de",
"sha256": "e42f2e2148a5efe47b446b30d7fcd9fbe85779a15b07d4be886247f2a5d3068e"
},
"downloads": -1,
"filename": "py_trace-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "5c484e60e668d3951e27667a6b3721de",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 17433,
"upload_time": "2018-07-24T04:20:04",
"url": "https://files.pythonhosted.org/packages/fa/4d/c5f72253a4faa35c2dbd84467c7d9289e946c55d82f40afaa45be32f0213/py_trace-0.1.1.tar.gz"
}
]
}