{ "info": { "author": "Robert Wikman", "author_email": "rbw@vault13.org", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": ".. image:: https://coveralls.io/repos/github/rbw0/flask-snow/badge.svg?branch=master\n :target: https://coveralls.io/github/rbw0/flask-snow?branch=master\n.. image:: https://travis-ci.org/rbw0/flask-snow.svg?branch=master\n :target: https://travis-ci.org/rbw0/flask-snow\n.. image:: https://badge.fury.io/py/flask-snow.svg\n :target: https://pypi.python.org/pypi/flask-snow\n.. image:: https://img.shields.io/badge/License-MIT-green.svg\n :target: https://opensource.org/licenses/MIT\n \nflask-snow\n===========\n\nBuild apps on top of the ServiceNow REST API using the lightweight `Flask microframework `_\n\n- Uses the `pysnow library `_.\n- Supports OAuth for a seamless authentication / authorization experience.\n\nInstallation\n------------\n\n$ pip install flask-snow\n\n\nDocumentation\n-------------\nThe documentation can be found `here `_\n\n\nUsage\n-----\n\nMinimal server. Does the following:\n\n#. Sets config\n#. Creates ``Snow`` instance\n#. Queries the *incident table* by number\n#. Returns *JSON representation* of the result\n\n.. code-block:: python\n\n from flask import Flask, jsonify\n from flask_snow import Snow\n\n app = Flask(__name__)\n app.config['SNOW_INSTANCE'] = ''\n app.config['SNOW_USER'] = ''\n app.config['SNOW_PASSWORD'] = ''\n\n snow = Snow(app)\n\n @app.route('/incidents/')\n def incident(number):\n incident = snow.resource(api_path='/table/incident')\n response = incident.get(query={'number': number}).one_or_none() or {}\n return jsonify(response)\n\n if __name__ == '__main__':\n app.run()\n\n\n\nName it **server.py** and run with ``python server.py``\n\n\nCheck out the `examples `_ for more!\n\n\nCompatibility\n-------------\n- Python 2 and 3\n- Flask > 0.9\n\nAuthor\n------\nCreated by Robert Wikman in 2018\n\nJetBrains\n---------\nThank you `Jetbrains `_ for creating pycharm and for providing me with free licenses\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/rbw0/flask-snow/tarball/0.2.8", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rbw0/flask-snow", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "flask-snow", "package_url": "https://pypi.org/project/flask-snow/", "platform": "any", "project_url": "https://pypi.org/project/flask-snow/", "project_urls": { "Download": "https://github.com/rbw0/flask-snow/tarball/0.2.8", "Homepage": "https://github.com/rbw0/flask-snow" }, "release_url": "https://pypi.org/project/flask-snow/0.2.8/", "requires_dist": null, "requires_python": "", "summary": "Pysnow extension for Flask", "version": "0.2.8" }, "last_serial": 3733244, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "a96aacc3d726854002f923adddcf9b56", "sha256": "d163d13bd8bdfa0b6ffc7e17068032dd7ced7380d2d9023fe251f68a2ab69277" }, "downloads": -1, "filename": "flask-snow-0.2.0.tar.gz", "has_sig": false, "md5_digest": "a96aacc3d726854002f923adddcf9b56", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3543, "upload_time": "2018-02-15T18:21:52", "url": "https://files.pythonhosted.org/packages/36/08/4e828e9abf1822e1e0ebd37f5f024c8105c23b8e89c58c956648cd96f80f/flask-snow-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "6c7a419604ca81fe696cc0cfa49575a3", "sha256": "5170f9abc69bcf4da91f143feaaa23becba9b1433c6cd4636d65b1e214029ccc" }, "downloads": -1, "filename": "flask-snow-0.2.1.tar.gz", "has_sig": false, "md5_digest": "6c7a419604ca81fe696cc0cfa49575a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3846, "upload_time": "2018-02-16T02:46:49", "url": "https://files.pythonhosted.org/packages/71/00/86085cb240cbc10ed16db18b448d5aea9ec7ecd5c1419d6ecd2a286f1d58/flask-snow-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "2f5ccfa20a19fa528a261a37c12cb1a9", "sha256": "95856eda2438dcc9fa45e934729595d634fb398db991329849e960cc70900c68" }, "downloads": -1, "filename": "flask-snow-0.2.2.tar.gz", "has_sig": false, "md5_digest": "2f5ccfa20a19fa528a261a37c12cb1a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4558, "upload_time": "2018-02-16T04:53:43", "url": "https://files.pythonhosted.org/packages/95/9a/d9d3756b9984d86368fafed98f320edba532b6f75c7a84071e0b11589d86/flask-snow-0.2.2.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "d8812cfbb4e3b87f123b9c35152d4041", "sha256": "953d801eee20f7b3f4bb07dc978b0f37fae960ea369114ed8ec85af9ebe6e766" }, "downloads": -1, "filename": "flask-snow-0.2.4.tar.gz", "has_sig": false, "md5_digest": "d8812cfbb4e3b87f123b9c35152d4041", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4283, "upload_time": "2018-02-19T01:52:11", "url": "https://files.pythonhosted.org/packages/cb/eb/c45da4b5e2babce1b56aab44fb962fcd6f2c78313bbbe47dea47251956fb/flask-snow-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "bc259af55685aebe06e7c87195944dd6", "sha256": "9d6702ba2ae15702b5dd84ca0365a60cd12df63e42d5f0e0c02c37155d0c97cd" }, "downloads": -1, "filename": "flask-snow-0.2.5.tar.gz", "has_sig": false, "md5_digest": "bc259af55685aebe06e7c87195944dd6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4514, "upload_time": "2018-03-11T03:11:16", "url": "https://files.pythonhosted.org/packages/5f/00/28bfd25307bf5fe5fa7b44435e3e88313082d0173931c15e40ae7589745d/flask-snow-0.2.5.tar.gz" } ], "0.2.6": [ { "comment_text": "", "digests": { "md5": "77eb8187d8defe0c25e6c5fc3f713019", "sha256": "4cf0b3c608d6718319314305ba33aaf94ab817ceaad281df5a88eec45c5b5d46" }, "downloads": -1, "filename": "flask-snow-0.2.6.tar.gz", "has_sig": false, "md5_digest": "77eb8187d8defe0c25e6c5fc3f713019", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4493, "upload_time": "2018-03-17T01:03:14", "url": "https://files.pythonhosted.org/packages/5c/23/71484653949207b30f07e6cd3ad02344ad3b28f602602c837278b0b11edd/flask-snow-0.2.6.tar.gz" } ], "0.2.7": [ { "comment_text": "", "digests": { "md5": "d459a2d463e993dde80c9fc0e6732b1e", "sha256": "73f89bf96429e307626e3abe480f7d384f764169af4b7599fb451ee1f4f60162" }, "downloads": -1, "filename": "flask-snow-0.2.7.tar.gz", "has_sig": false, "md5_digest": "d459a2d463e993dde80c9fc0e6732b1e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4482, "upload_time": "2018-03-30T19:52:24", "url": "https://files.pythonhosted.org/packages/69/f1/d5fe15384c213cf337a1290bc31b57e4882f5288c2b505cd2c0340c75bfa/flask-snow-0.2.7.tar.gz" } ], "0.2.8": [ { "comment_text": "", "digests": { "md5": "fae612cb4cfc9c3423b5f5c9120aa90a", "sha256": "d677ad26742e0fd286af4ac51df1df5a00439c524d7382fee3591176b4da426f" }, "downloads": -1, "filename": "flask-snow-0.2.8.tar.gz", "has_sig": false, "md5_digest": "fae612cb4cfc9c3423b5f5c9120aa90a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4164, "upload_time": "2018-04-04T10:34:52", "url": "https://files.pythonhosted.org/packages/06/83/37de2790a05faa6c06fa7733d6a0d3ba0d83365cec28e6bcaf607857fd31/flask-snow-0.2.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fae612cb4cfc9c3423b5f5c9120aa90a", "sha256": "d677ad26742e0fd286af4ac51df1df5a00439c524d7382fee3591176b4da426f" }, "downloads": -1, "filename": "flask-snow-0.2.8.tar.gz", "has_sig": false, "md5_digest": "fae612cb4cfc9c3423b5f5c9120aa90a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4164, "upload_time": "2018-04-04T10:34:52", "url": "https://files.pythonhosted.org/packages/06/83/37de2790a05faa6c06fa7733d6a0d3ba0d83365cec28e6bcaf607857fd31/flask-snow-0.2.8.tar.gz" } ] }