Skip to main content

A comprehensive pythonic wrapper around the Evrythng REST API.

https://img.shields.io/pypi/v/python-evrythng.svg

For more information about Evrythng and the API that this module wraps, see the Evrythng Documentation Portal.

Installation

python-evrythng is available on PyPI and can be installed via pip.

$ pip install python-evrythng

Example Usage

import os
from evrythng import entities

EVT_OPERATOR_KEY = 'your operator key from the Accounts page'
os.environ['EVRYTHNG_API_TOKEN'] = EVT_OPERATOR_KEY
os.environ['PYEVT_DEBUG'] = '1'

print('Creating a  Project...')
response = entities.create_project('python-evrythng Project')
assert response.status_code == 201
project_id = response.json()['id']

print('Creating an Application under Project={}...'.format(
    project_id))
response = entities.create_application(project_id,
                                       'python-evrythng Application')
assert response.status_code == 201
response_json = response.json()

print('You can get the Trusted API key of the Application...')
application_id = response_json['id']
trusted_app_key = entities.read_trusted_application_key(
    project_id, application_id)
app_key = response_json['appApiKey']
print('Trusted App Key = {} for Application={}'.format(
    trusted_app_key, application_id))

Found a bug, wanna help?

Awesome, let us know! Create a pull request.

https://raw.githubusercontent.com/GooeeIOT/python-evrythng/master/docs/gooee.png https://raw.githubusercontent.com/LyleScott/python-evrythng/master/docs/evrythng.png

Metadata

Release files for python-evrythng 0.3.6

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-evrythng 0.3.6
File Size Uploaded Provenance Actions
python-evrythng-0.3.6.tar.gz 12.6 kB Without provenance Details for python-evrythng-0.3.6.tar.gz

Release files / python-evrythng-0.3.6.tar.gz

Download URL python-evrythng-0.3.6.tar.gz
Size 12.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d1fedd8ced17e19f297f805bf2363ee1dd41fa98b4dcaf28dfcfcd796f2c0636
BLAKE2b-256 checksum
How to use checksums
5f0f935a1788de4104f126489dba85764464fe3deacf75f7ffbe8fa92a647f55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Security for python-evrythng 0.3.6

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.

Release history Release notifications | RSS feed

This release

0.3.6 This release

1 release file No provenance

0.2

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