Skip to main content
Authors:

peter.vizi@gmail.com

https://travis-ci.org/petervizi/python-eeml.png?branch=master

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 eeml.datastream
import eeml.unit
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.datastream.Cosm(API_URL, API_KEY)
pac.update([eeml.Data(0, readings[0], unit=eeml.unit.Celsius()), eeml.Data(1, readings[1], unit=eeml.unit.RH())])
pac.put()

Other examples can be found in the example folder.

Requirements

  • python-xml

Metadata

Release files for python-eeml 4.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-eeml 4.1.0
File Size Uploaded
python-eeml-4.1.0.tar.gz 20.7 kB Details

Release files / python-eeml-4.1.0.tar.gz

Download URL python-eeml-4.1.0.tar.gz
Size 20.7 kB
Tags Source
SHA-256 checksum
How to use checksums
cd0fc8ed9566374f1dae97f9cf545a9dcd198383f3153c97431e61eba88f5880
BLAKE2b-256 checksum
How to use checksums
a37e02fb0441feabdd698ff42fe335262a858efc1526164219f6ba44a79b017d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

4.1.0 This release

1 release file

4.0.1

1 release file

4.0.0

1 release file

3.2.0

1 release file

3.1.0

1 release file

3.0.0

1 release file

2.0.0

1 release file

1.3.0

1 release file

1.2.0

1 release file

1.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page