Flask extension for pysnow
Project description
Installation
$ pip install flask-pysnow
Configuration
Name |
Default value |
Description |
---|---|---|
PYSNOW_INSTANCE |
None |
Instance name |
PYSNOW_HOST |
None |
FQDN (instead of instance) |
PYSNOW_USER |
None |
|
PYSNOW_PASSWORD |
None |
|
PYSNOW_OAUTH |
None |
Oauth config (if not using user/pass credentials) |
PYSNOW_REQUEST_PARAMS |
{} |
Request params to pass along to the pysnow client |
PYSNOW_ENABLE_LOGGING |
True |
Logs information about requests |
PYSNOW_USE_SSL |
True |
|
PYSNOW_RAISE_ON_EMPTY |
False |
Raise exception on empty result sets |
The Flask-pysnow extension expects PYSNOW_OAUTH to contain a dict of client_id and client_secret
Documentation
The full documentation is available here
Compatibility
Python 2 and 3. Tested: Python 2.6+ and Python 3.3+
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.