Skip to content

Module for UDS and readings validations and queue helper

License

Notifications You must be signed in to change notification settings

Independa/uds_module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the module for the UDS

To Install:

pip install git+https://independamodule:L0AiGxrQ@github.com/Independa/uds_module.git

To Use in requirements.txt, add:
-e git+https://independamodule:L0AiGxrQ@github.com/Independa/uds_module.git@release#egg=UDS_Readings_Module

GitHub Account
Username: independamodule
Email: wen@independa.com
Password: L0AiGxrQ

References:
https://devcenter.heroku.com/articles/python-pip
http://guide.python-distribute.org/creation.html
http://www.pip-installer.org/en/1.1/usage.html


To use validation
from validate.validation import *
Call validate(value, reading_type, unit)
Returns: {'success': False, 'message': 'value range invalid for unit'}


To use readings parameters dictionary
from validate.readings import *
call get_readings_parameter_dictionary
returns the dictionary of reading parameters.

TO DEPLOY:
(Merge to master)
Deploy normally with heroku

About

Module for UDS and readings validations and queue helper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 5

Languages