Skip to main content

python-eeml

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

Metadata

Release files for python-eeml 1.3.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 1.3.0
File Size Uploaded Provenance Actions
python-eeml-1.3.0.tar.gz 19.3 kB Without provenance Details for python-eeml-1.3.0.tar.gz

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

Download URL python-eeml-1.3.0.tar.gz
Size 19.3 kB
Tags Source
SHA-256 checksum
How to use checksums
fde0dc7f9e084ef9b0bfc6d3059b1829e76641d436b4d0d5d518bc024d8d90d8
BLAKE2b-256 checksum
How to use checksums
216bf378a74f824341a5c0c23ff27d1cdf460a20ba3243ac261adb83a1ac7c6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for python-eeml 1.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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