Skip to content
/ python Public

PiSugar's independent Python driver, and there is no need to install PiSugar-server additionally. Just meet the requirements.

Notifications You must be signed in to change notification settings

PiSugar/python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

PiSugar-python

PiSugar's independent Python driver, and there is no need to install PiSugar-server additionally. Just meet the requirements.

Requirements

python 3.5+

Usage

Python example

from pisugar import *

pisugar=PiSugarServer()
pisugar.get_battery_level()  

NOTE: After the program initializes, it will launch a background process that retrieves information every ten seconds to facilitate the subsequent activation of the automatic low-battery shutdown feature.

License

Apache License Version 2.0

About

PiSugar's independent Python driver, and there is no need to install PiSugar-server additionally. Just meet the requirements.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages