Skip to main content
Authors:

peter.vizi@gmail.com

Intorduction

This is a python package for generating eeml documents.

Installation

With administrative privileges run: sudo python setup.py install

Without root access: python setup.py install –prefix=~/ PTYHONPATH=”~/lib/python2.7/site-packages” python example/simple_example.py

Example

An example python script for publishing measurement data:

import eeml
import serial

# parameters
API_KEY = 'YOUR PERSONAL API KEY'
API_URL = 'YOUR PERSONAL API URL, LIKE /api/1275.xml'

serial = serial.Serial('/dev/ttyUSB0', 9600)
readings = serial.readline().strip().split(' ') # the readings are separated by spaces
pac = eeml.Cosm(API_URL, API_KEY)
pac.update([eeml.Data(0, readings[0], unit=eeml.Celsius()), eeml.Data(1, readings[1], unit=eeml.RH())])
pac.put()

Requirements

  • python-xml

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-eeml-1.3.0.tar.gz (19.3 kB view details)

Uploaded Source

File details

Details for the file python-eeml-1.3.0.tar.gz.

File metadata

  • Download URL: python-eeml-1.3.0.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for python-eeml-1.3.0.tar.gz
Algorithm Hash digest
SHA256 fde0dc7f9e084ef9b0bfc6d3059b1829e76641d436b4d0d5d518bc024d8d90d8
MD5 e552d31990bbcaf2af9e305f032ad129
BLAKE2b-256 216bf378a74f824341a5c0c23ff27d1cdf460a20ba3243ac261adb83a1ac7c6b

See more details on using hashes here.

Release history Release notifications | RSS feed

4.1.0

1 file

4.0.1

1 file

4.0.0

1 file

3.2.0

1 file

3.1.0

1 file

3.0.0

1 file

2.0.0

1 file

This release

1.3.0 This release

1 file

1.2.0

1 file

1.1.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page