8000 GitHub - lowks/python-phant: Python client library for Sparkfun's Phant
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

lowks/python-phant

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-phant

A Python client library for Phant. See data.sparkfun.com for more information.

Installation

Either

  • copy the phant.py module into you source tree or
  • run python setup.py install or
  • install with pip install phant.

Usage

p = Phant('xyzpublickey', 'temp', 'humid', private_key='abcprivatekey')

p.log(33.4, 10.2)
print(p.remaining_bytes, p.cap)

data = p.get()
print(data['temp'])

About

Python client library for Sparkfun's Phant

Resources

Stars

Watchers

Forks

Packages

No packages published
0