fstackgeek / Orangetool

Some tools for orangepi in python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logo


Scrutinizer Code Quality Build Status Python


Orangetool

Consist of some useful script for Orangepi/Raspberrypi boards (Under Development)


By Moduland Co

## Download ##

Functions

import orangetool

#1- local_ip

local_ip=orange_tool.local_ip() # this function return local ip of board as string

#2- global_ip

global_ip=orange_tool.global_ip() # this function return global ip of board as string
 
#3- get_temp

temp=orangetool.get_temp() # this function return cpu temperature as string

#4- internet 

status=orangetool.internet() #this function check internet connection and return True if internet connection is stable
  • All of the functions in error state return Error String
  • local_ip() and global_ip() originally are available in ipz package Link

About

Some tools for orangepi in python

License:MIT License


Languages

Language:Python 100.0%